Bug 1121419 - systemd-logind.service entered failed state - has no holdoff time - i686 - only broken by specific glibc build - 2.19.90-29.fc22.i686 - resolved by local build
Summary: systemd-logind.service entered failed state - has no holdoff time - i686 - on...
Keywords:
Status: CLOSED DUPLICATE of bug 1120473
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 21
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-20 16:17 UTC by poma
Modified: 2014-07-21 15:49 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-21 15:07:32 UTC


Attachments (Terms of Use)
glibc broke logind - no holdoff time (151.24 KB, patch)
2014-07-21 02:42 UTC, poma
no flags Details | Diff

Description poma 2014-07-20 16:17:24 UTC
kernel-3.16.0-0.rc5.git1.1.fc22.i686
systemd-215-4.fc22.i686

systemd[1]: Starting Login Service...
systemd-logind[469]: Failed to add match for NameOwnerChanged: Connection timed out
systemd[1]: systemd-logind.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start Login Service.
systemd[1]: Unit systemd-logind.service entered failed state.
systemd[1]: systemd-logind.service has no holdoff time, scheduling restart.

Comment 1 poma 2014-07-20 20:57:07 UTC
kernel-3.16.0-0.rc5.git0.1.fc21.x86_64
systemd-215-4.fc21.x86_64

# systemctl get-default
rescue.target

# systemctl status systemd-logind
■ systemd-logind.service - Login Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
   Active: inactive (dead)
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           http://www.freedesktop.org/wiki/Software/systemd/logind
           http://www.freedesktop.org/wiki/Software/systemd/multiseat

# systemctl start systemd-logind

# systemctl status systemd-logind -o short-monotonic
■ systemd-logind.service - Login Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
   Active: active (running) since Sun 2014-07-20 22:26:17 CEST; 1min 45s ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           http://www.freedesktop.org/wiki/Software/systemd/logind
           http://www.freedesktop.org/wiki/Software/systemd/multiseat
 Main PID: 1133 (systemd-logind)
   Status: "Processing requests..."
   CGroup: /system.slice/systemd-logind.service
           └─1133 /usr/lib/systemd/systemd-logind

[  119.228162] <hostname> systemd[1]: Started Login Service.
[  119.230117] <hostname> systemd-logind[1133]: New seat seat0.
[  119.288336] <hostname> systemd-logind[1133]: Watching system buttons on /dev/input/event1 (Power Button)
[  119.314526] <hostname> systemd-logind[1133]: Watching system buttons on /dev/input/event0 (Power Button)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

kernel-3.16.0-0.rc5.git1.1.fc22.i686
systemd-215-4.fc22.i686

# systemctl get-default
rescue.target

# systemctl status systemd-logind
■ systemd-logind.service - Login Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
   Active: inactive (dead)
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           http://www.freedesktop.org/wiki/Software/systemd/logind
           http://www.freedesktop.org/wiki/Software/systemd/multiseat

# systemctl start systemd-logind
Job for systemd-logind.service failed. See 'systemctl status systemd-logind.service' and 'journalctl -xn' for details.

# systemctl status systemd-logind -o short-monotonic
■ systemd-logind.service - Login Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
   Active: activating (auto-restart) (Result: exit-code) since Sun 2014-07-20 22:42:36 CEST; 9s ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           http://www.freedesktop.org/wiki/Software/systemd/logind
           http://www.freedesktop.org/wiki/Software/systemd/multiseat
  Process: 483 ExecStart=/usr/lib/systemd/systemd-logind (code=exited, status=1/FAILURE)
 Main PID: 483 (code=exited, status=1/FAILURE)
   Status: "Shutting down..."

[  179.817653] <hostname> systemd[1]: Failed to start Login Service.
[  179.820410] <hostname> systemd[1]: Unit systemd-logind.service entered failed state.
[  179.828150] <hostname> systemd[1]: systemd-logind.service has no holdoff time, scheduling restart.

Comment 2 poma 2014-07-20 21:03:33 UTC
localhost systemd: Unit systemd-logind.service entered failed state
https://bugzilla.redhat.com/show_bug.cgi?id=1074220

Comment 3 poma 2014-07-21 02:42:06 UTC
Created attachment 919515 [details]
glibc broke logind - no holdoff time

diff glibc-2.19.90-28.fc21.i686 glibc-2.19.90-29.fc22.i686

Ref.
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/master

Comment 4 poma 2014-07-21 08:47:29 UTC
2.19.90-29 breaks setuid32 on i686.
https://bugzilla.redhat.com/show_bug.cgi?id=1120473

Comment 5 poma 2014-07-21 09:15:58 UTC
[FAILED] Failed to start Login Service.
https://bugzilla.redhat.com/show_bug.cgi?id=1085846

Comment 6 poma 2014-07-21 15:03:28 UTC
kernel-3.16.0-0.rc5.git2.2.fc22.i686
glibc-2.19.90-30.fc21.i686
systemd-215-5.gitaa9f114.20140721.fc21.i686

# systemctl get-default 
graphical.target

# systemctl status systemd-logind.service -o short-monotonic
● systemd-logind.service - Login Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
   Active: active (running) since Mon 2014-07-21 16:38:30 CEST; 2min 45s ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           http://www.freedesktop.org/wiki/Software/systemd/logind
           http://www.freedesktop.org/wiki/Software/systemd/multiseat
 Main PID: 439 (systemd-logind)
   Status: "Processing requests..."
   CGroup: /system.slice/systemd-logind.service
           └─439 /usr/lib/systemd/systemd-logind

[   11.108202] <hostname> systemd-logind[439]: Watching system buttons on /dev/input/event1 (Power Button)
[   20.495938] <hostname> systemd-logind[439]: New session c1 of user lightdm.
[   28.430476] <hostname> systemd-logind[439]: New session 1 of user poma.


Successfully tested local builds:

- glibc-2.19.90-28.1.fc21.i686
"Remove declarations of two nonexistent variables from nptl/pthreadP.h."
https://sourceware.org/git/?p=glibc.git;a=commit;h=b365f3e

- glibc-2.19.90-28.2.fc21.i686
"Separate Linuxisms from lowlevellock.h, make a generic one"
https://sourceware.org/git/?p=glibc.git;a=commit;h=3df6f22

- glibc-2.19.90-30.fc21.i686
"m68k: use generic lowlevellock.h"
https://sourceware.org/git/?p=glibc.git;a=commit;h=23329dc

Comment 7 Adam Williamson 2014-07-21 15:49:00 UTC

*** This bug has been marked as a duplicate of bug 1120473 ***


Note You need to log in before you can comment on or make changes to this bug.