Skip to content

systemd-user: pam_keyinit(systemd-user:session): Unable to change GID temporarily #4238

@yuwata

Description

@yuwata

Submission type

  • Bug report
  • Request for enhancement (RFE)

NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!

systemd version the issue has been seen with

Git snapshot 95cbb83.
Note that e4662e5 does not have this issue.

NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!

Used distribution

fedora 24 (x86_64) with the above systemd git snapshot.

In case of bug report: Expected behaviour you didn't see

Users can exit from their sessions without the error message below.

In case of bug report: Unexpected behaviour you saw

When logout from the user session, the error message "pam_keyinit(systemd-user:session): Unable to change GID to (GID of the user) temporarily" is shown.

sshd[757]: Received disconnect from 192.168.0.12 port 51830:11: disconnected by user
sshd[757]: Disconnected from 192.168.0.12 port 51830
sshd[732]: pam_unix(sshd:session): session closed for user yu.watanabe
systemd-logind[600]: Removed session 3.
systemd[1]: Stopping User Manager for UID 1014...
systemd[734]: Stopped target Default.
systemd[734]: Stopped target Basic System.
systemd[734]: Stopped target Sockets.
systemd[734]: Closed D-Bus User Message Bus Socket.
systemd[734]: Reached target Shutdown.
systemd[734]: Starting Exit the Session...
systemd[734]: Stopped target Paths.
systemd[734]: Stopped target Timers.
systemd[734]: Received SIGRTMIN+24 from PID 825 (kill).
systemd[744]: pam_keyinit(systemd-user:session): Unable to change GID to 1000 temporarily
systemd[1]: Stopped User Manager for UID 1014.
systemd[1]: Removed slice User Slice of yu.watanabe.

In case of bug report: Steps to reproduce the problem

ssh login or graphical login via lightdm by user (not root) and logout the session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pid1regression ⚠️A bug in something that used to work correctly and broke through some recent commit

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions