I don't think pkgdev can handle the case where a stable group contains
a ~arch only package, so drop smrsh from the group for now (in a separate
commit to serve as a form of documentation).
Bug: https://bugs.gentoo.org/956655
Signed-off-by: Sam James <sam@gentoo.org>
Without this, bash has:
> BASH_LOADABLES_PATH="/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:."
That won't pick up even the place we install bash's own plugins to, let
alone where other packages might expect it. For the same reason, we can't
really just change it to /usr/lib/bash even if it might make sense to
given we don't have multilib bash.
Closes: https://bugs.gentoo.org/959687
Signed-off-by: Sam James <sam@gentoo.org>
With USE=gtk and only app-crypt/gcr:4 installed, I get:
```
$ G_MESSAGES_DEBUG=all G_DEBUG=all pinentry-gnome3
(process:503360): Gcr-DEBUG: 09:38:27.242: opening prompt
(process:503360): Gcr-DEBUG: 09:38:27.242: connecting to bus
(process:503360): Gcr-DEBUG: 09:38:27.245: connected to bus
(process:503360): Gcr-DEBUG: 09:38:27.245: calling BeginPrompting method on prompter
(process:503360): Gcr-DEBUG: 09:38:27.251: failed to register prompt org.gnome.keyring.SystemPrompter: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.keyring.SystemPrompter was not provided by any .service files
(process:503360): Gcr-DEBUG: 09:38:27.251: closing prompt
```
If I install app-crypt/gcr:0, it starts to work, but that's because
app-crypt/gcr:0 depends on gnome-base/gnome-keyring.
We could switch the dep in pinentry to gcr:0 so we don't pull in 2 gcr
slots, but then we'd have to modify configure to avoid automagic on gcr:4,
and my hope is that the issue here will be fixed upstream at some point
(though it's not clear to me whose fault it is, see e.g.
https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/139 too).
TL;DR: depend on gnome-base/gnome-keyring to make pinentry-gnome3 work
again.
Closes: https://bugs.gentoo.org/960307
Signed-off-by: Sam James <sam@gentoo.org>
Sam James (3):
Add pam_gnome_keybase to auth, session stacks too
Keep pam_gnome_keyring in passwd too
Run pam_mktemp then pam_env
Closes: https://bugs.gentoo.org/780441
Signed-off-by: Sam James <sam@gentoo.org>
Like noted in the comment, ideally would want to check for the
actual matching version but we'd need to test+sanitize KV_EXTRA
and figure out if it's really a version component as it could be
anything.
_p being used should be a rare event and it shouldn't be a big
deal if the check ignores it.
Skipping ML review given trivial and is just about a warning.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>