Skip to content

pam_oo7 support? #481

Backlog
Backlog

Description

@ferdnyc

Fedora 45 has migrated the default keyring manager from gnome-keyring to oo7-daemon.

Along with the oo7-daemon package (which installs a systemd user unit to start the daemon on login), there's also the pam_oo7 package, which contains:

$ rpm -ql pam_oo7 |grep -v build-id |grep -v licenses
/usr/lib64/security/pam_oo7.so
/usr/share/doc/pam_oo7
/usr/share/doc/pam_oo7/README.md

I'm not at all clear on the purpose or necessity of pam_oo7, the proposal I linked above claims that part of the responsibility of the change owners would be:

  • Add oo7 PAM module to relevant PAM configs where gnome-keyring and kwallet PAM modules are listed

But I see no evidence anything in the package scripting actually tries to do that. Anyway, it wouldn't have worked on my system because I used authselect to generate my PAM config, and there's no support for pam_oo7 in authselect.

(There was also the problem that, because I used sudo authselect enable-feature with-pam-gnome-keyring, my PAM configs still contained references to pam_gnome_keyring.so (even though the pam_oo7 package replaced gnome-keyring-pam on upgrade), so I was seeing lots of this in the journal:

Nov 26 05:15:17 (systemd)[1487]: PAM unable to dlopen(/usr/lib64/security/pam_gnome_keyring.so): /usr/lib64/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory
Nov 26 05:15:17 (systemd)[1487]: PAM adding faulty module: /usr/lib64/security/pam_gnome_keyring.so

...until I ran sudo authselect disable-feature with-pan-gnome-keyring.)

So I guess my question is two-fold:

  • Should the Fedora 45+ packages add a with-pam-oo7 feature in the local and sssd templates?
  • Or, should the templates be modified so that with-pam-gnome-keyring adds a line for the pam_oo7 module instead, to facilitate a seamless replacement of one with the other (for users who have p-g-k enabled)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions