[Pkg-systemd-maintainers] Bug#717403: Bug#717403: libpam-systemd fails when talking to old systemd-logind service
Michael Biebl
biebl at debian.org
Wed Jul 24 22:24:38 BST 2013
clone 717403 -1
retitle -1 libpam-systemd: no login when PAM_SESSION_ERR is triggered
thanks
Am 20.07.2013 14:20, schrieb Michael Biebl:
> Jul 20 14:08:08 pluto login[3476]: pam_unix(login:session): session opened for user michael by LOGIN(uid=0)
> Jul 20 14:08:08 pluto systemd-logind[5664]: New session 13 of user michael.
> Jul 20 14:08:08 pluto login[3476]: pam_systemd(login:session): Failed to parse message: Message has only 5 arguments, but more were expected
> Jul 20 14:08:08 pluto systemd-logind[5664]: Removed session 13.
> Jul 20 14:08:08 pluto systemd[1]: getty at tty2.service holdoff time over, scheduling restart.
> Jul 20 14:08:08 pluto systemd[1]: Stopping Getty on tty2...
> Jul 20 14:08:08 pluto systemd[1]: Starting Getty on tty2...
> Jul 20 14:08:08 pluto systemd[1]: Started Getty on tty2.
>
>
> When I try to login on the console, I get immediately thrown back to the
> login prompt. This means I'm no longer able to login!
>
> A few thoughts/observations
> 3/ Failing to register a logind session in pam_systemd should not result
> in a failed login attempt.
I'm splitting this issue into a separate bug report, since it is not
directly related to the v44 to v204 incompatibility.
The attached patch simulates an error condition, and returns
PAM_SESSION_ERR.
As a result, I can no longer login on the console. We should investigate
why, since the pam module is setup as
session optional pam_systemd.so
in /etc/pam.d/common-session, so this shouldn't happen
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pam-systemd-session-err.patch
Type: text/x-patch
Size: 507 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130724/aa82d791/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130724/aa82d791/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list