Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47106 - [pam] Last pam update (1.2.1-3) breaks systemd on boot.

Attached to Project: Arch Linux
Opened by Alexandre Garnier (agarnier) - Wednesday, 18 November 2015, 09:19 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 30 November 2015, 10:16 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Evangelos Foutras (foutrelis)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After last update of pam, several systemd services fail on startup, stopping the boot process (other TTYs remain accessible though, allowing the user to downgrade the package).

Additional info:
* package version(s): 1.2.1-3 (1.2.1-2 worked before update, and works again after downgrade).
* failed services, from journalctl trace:
-- Logs begin at ven. 2014-04-11 13:26:27 CEST, end at mar. 2015-11-17 11:45:31 CET. --
nov. 17 11:16:44 ************ systemd[1]: Failed to start Login Service.
nov. 17 11:18:15 ************ systemd[1]: Failed to start Accounts Service.
nov. 17 11:18:16 ************ systemd[1]: Failed to start Authorization Manager.
nov. 17 11:18:18 ************ systemd[1]: Failed to start WPA supplicant.
nov. 17 11:18:19 ************ systemd[1]: Failed to start Manage, Install and Generate Color Profiles.
nov. 17 11:18:21 ************ systemd[1]: Failed to start Network Manager Script Dispatcher Service.


Steps to reproduce:
1. Update pam to 1.2.1-3;
2. Reboot.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 30 November 2015, 10:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 227 regression, fixed in systemd 228; somehow trigged by the pam_limits changes.
Comment by Evangelos Foutras (foutrelis) - Wednesday, 18 November 2015, 11:37 GMT
Is your system fully updated? Does the journal contain any clues (error messages) as to why those services fail to start?
Comment by Alexandre Garnier (agarnier) - Wednesday, 18 November 2015, 12:59 GMT
“Is your system fully updated?”
Yes.


“Does the journal contain any clues (error messages) as to why those services fail to start?”
In the attached file are listed some error messages from journalctl linked to the failed services.
I noticed this line especially which might be directly linked to the default TTY being stuck with a failed systemd boot (as it is configured to launch a gdm session):
nov. 17 11:17:17 ************ gdm-launch-environment][693]: pam_systemd(gdm-launch-environment:session): Failed to create session: Connexion terminée par expiration du délai d'attente

It also seems that I encountered two similar errors for the two sessions I opened in console TTYs, which took some time to open, but didn’t failed at it though:
nov. 17 11:20:08 ************ login[877]: pam_systemd(login:session): Failed to create session: Connection timed out
nov. 17 11:24:58 ************ login[890]: pam_systemd(login:session): Failed to create session: Connection timed out

P.S.: « Connexion terminée par expiration du délai d'attente » seems to be the french translation (a side effect of Gnome localization I guess) for “Connection timed out”, FYI.
   pam.log (4.8 KiB)
Comment by Evangelos Foutras (foutrelis) - Wednesday, 18 November 2015, 13:42 GMT
Possibly related: https://github.com/systemd/systemd/issues/1505 — can you try downgrading to systemd 226-3 to see if that works better with pam 1.2.1-3?

(The error messages seem completely unrelated to the changes in pam 1.2.1-3; even though a pam downgrade fixes it, I believe the issue lies elsewhere.)
Comment by Alexandre Garnier (agarnier) - Wednesday, 18 November 2015, 13:58 GMT
“can you try downgrading to systemd 226-3 to see if that works better with pam 1.2.1-3?”
I just did it (downgrading systemd only to 226-3, and re-updating pam to 1.2.1-3) and it works, for now (as an occasional fail on boot is mentioned, I’ll see in the next couple of days if it’s consistent).
Comment by Evangelos Foutras (foutrelis) - Wednesday, 18 November 2015, 14:03 GMT
Thanks for testing; the just-released systemd 228 will hopefully make its way into the repos soon and that should also work with pam 1.2.1-3.
Comment by Alexandre Garnier (agarnier) - Wednesday, 18 November 2015, 14:17 GMT
Thank you for your help.
I’ll wait for the 228 version to come to the core repo before requesting closure then, unless you close the task before.
Comment by Evangelos Foutras (foutrelis) - Friday, 27 November 2015, 17:39 GMT
Status with systemd 228?
Comment by Alexandre Garnier (agarnier) - Monday, 30 November 2015, 09:19 GMT
After 10 day or so with systemd 228 installed from testing without any similar bug, the full update went as smoothly.

Thank you again, I’m requesting closure of this task.

Loading...