Re: systemd-sysusers start fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/29/24 17:27, ToddAndMargo via users wrote:
Hi All,

Fedora 39
systemd-254.19-1.fc39.x86_64 (provides systemd-sysusers)

I can not get lightdm to start Xfc or MATE.  After
entering my password into the greeter, I get a black
screen with a mouse pointer, then back to the greeter.

When I start lighdm, it see
     Failed to start systemd-sysuses.service

So I need to fix that before going further with lightdm
troubleshooting.


 From my working FC41 virtual machine (Xfce, MATE, lightdm),
as a base line in troubleshooting, this is what it is
support to look like:

    $ systemctl status systemd-sysusers
    ○ systemd-sysusers.service - Create System Users
        Loaded: loaded (/usr/lib/systemd/system/systemd- sysusers.service; static)
        Drop-In: /usr/lib/systemd/system/service.d
              └─10-timeout-abort.conf
        Active: inactive (dead) since Tue 2024-10-29 15:16:01 PDT; 18min ago
       Duration: 1.152s
     Invocation: ca24eb4ee687400ca481db82053345c2
     Condition: start condition unmet at Tue 2024-10-29 15:16:03 PDT; 18min ago
                 ├─ ConditionNeedsUpdate=|/etc was not met
                 └─ ConditionCredential=|sysusers.extra was not met
        Docs: man:sysusers.d(5)
              man:systemd-sysusers.service(8)
        Main PID: 285 (code=exited, status=0/SUCCESS)


    $ systemctl  list-dependencies  systemd-sysusers
systemd-sysusers.service
● └─system.slice




This is what I get with FC39:

    # systemctl start systemd-sysusers
         <nothing>
    # systemctl status systemd-sysusers
    × systemd-sysusers.service - Create System Users
        Loaded: loaded (/usr/lib/systemd/system/systemd- sysusers.service; static)
        Drop-In: /usr/lib/systemd/system/service.d
                 └─10-timeout-abort.conf
        Active: failed (Result: exit-code) since Tue 2024-10-29 13:44:43 PDT; 3h 16min>      Condition: start condition unmet at Tue 2024-10-29 13:55:45 PDT; 3h 5min ago
                 ├─ ConditionNeedsUpdate=|/etc was not met
                 └─ ConditionCredential=|sysusers.extra was not met
           Docs: man:sysusers.d(5)
                 man:systemd-sysusers.service(8)
       Main PID: 292 (code=exited, status=1/FAILURE)
            CPU: 7ms

   Oct 29 13:45:00 rn6.foobar.local systemd[1]: systemd- sysusers.service - Create>    Oct 29 13:45:01 rn6.foobar.local systemd[1]: systemd- sysusers.service - Create>    Oct 29 13:55:45 rn6.foobar.local systemd[1]: systemd- sysusers.service - Create>    Notice: journal has been rotated since unit was started, output may be incomplete.


$ systemctl  list-dependencies  systemd-sysusers
systemd-sysusers.service
● └─system.slice

# systemctl status system.slice
● system.slice - System Slice
      Loaded: loaded
      Active: active since Tue 2024-10-29 13:44:43 PDT; 3h 32min ago


A tail on starting the service:

    # journalctl -efx -t systemd
   Oct 29 17:20:19 rn6.foobar.local systemd[1]: systemd- sysusers.service - Create System Users was skipped because no trigger condition checks were met.     Subject: A start job for unit systemd-sysusers.service has finished successfully
     Defined-By: systemd
     Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

    A start job for unit systemd-sysusers.service has finished successfully.

     The job identifier is 9388.
Oct 29 17:20:20 rn6.foobar.local systemd[2843]: Started dbus-:1.2- org.xfce.Xfconf@5.service.
     Subject: A start job for unit UNIT has finished successfully
     Defined-By: systemd
     Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel

     A start job for unit UNIT has finished successfully.



Hmmm successful.  Ha!
     Main PID: 292 (code=exited, status=1/FAILURE)


How do I fix this?
-T

Cancel the request.  It is an issue with lightdm.  I replace
it with lxdm and problems solved.

I am stuck in the "endless loop" problem that is plaguing
lightdm users.  I have searched my ass off an everyone
with the issue can not find a cure.

So I disabled lightdm and installed lxdm.  It ain't as pretty
BUT IT WORKS!!!!

I even have autologin configured.  And it lets me
switch back and forth between Xfce and MATE.

My keeper on lxdm:

lxdm auto login:

# vi /etc/lxdm/lxdm.conf

[base]
## uncomment and set autologin username to enable autologin
# autologin=todd
autologin=todd


## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde
session=/usr/bin/startxfce4


-T
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux