If it's ybbind that's causing issues, then chances are it's related to the NSS setup, i.e. /etc/nsswitch.conf and other related config specific to Yellow Pages stuff (I forget what they are as it's been > 10years since I used it!)
It could be the NSS system is asking for user/group info via YP and this is timing out or hanging due to lack of network etc. because the units are misconfigured (the same issues exist with NSS-LDAP but this is likely setup better as it's more commonplace these days). Col Gustavo Sousa wrote on 01/02/18 12:11: > Hello, Michal. > > After some trial an error I was able to find the culprit: the ypbind daemon. > > - If I have it enabled, then it seems to me that, for some reason, > systemd can not take ownership of the dbus names (/me not sure if that > is the correct terminology). > - If I leave it disabled, then the problem disapears. Now I need to > find out why that is happening. The service file I got from my > distro's package is pasted at https://pastebin.com/vVEXLcb9. > > With that, would I be right to say that this isn't a problem with > systemd itself? > > Thank you! > > Best regards, > Gustavo Sousa > > > On Wed, Jan 31, 2018 at 6:28 PM, Gustavo Sousa > <gustavo.jo.so...@gmail.com> wrote: >> On Wed, Jan 31, 2018 at 3:52 PM, Michal Koutný <mkou...@suse.com> wrote: >>> >>> >>> On 01/31/2018 03:55 PM, Gustavo Sousa wrote: >>>> Unfortunately, no. I didn't actually wait for the auto restart, I >>>> tried myself with 'systemctl restart systemd-logind'. >>> It seems like systemd-logind was thus properly connected to dbus and >>> there may be other issue. >>> >>> Could you please post logs preceding the snippet you sent previously? >>> (It seems something must went wrong at/before 8:38:51.) >> I looked at the logs preceding that, but they logged the same error >> (probably due to retries and me logging in?). >> Then I decided to look at the logs from the beginning and realized a >> different systemd error message (the snippet can be checked at >> https://pastebin.com/kcAVcUQz): >> >> Jan 30 14:18:09 systemd[1]: Failed to subscribe to NameOwnerChanged >> signal for 'org.freedesktop.login1': Connection timed out >> >> I also noticed that >> >>> Also since it >>> happened after reboot and systemd-logind restart didn't help, does it >>> mean it's reproducible or still present? >> Yes, it is still present. About it being reproducible, it is in my >> environment, but I'm not sure how easily that could be reproduced in a >> different environment. >> >>> Can you see 'org.freedesktop.systemd1' name owned in the `busctl` output? >> I'm not really familiar with dbus, but if by "owned" you mean that it >> does have a process associated to it, then I would say no. Here is a >> link for the output of `busctl` https://pastebin.com/VqT38tya >> >> >>> Does `kill -SIGUSR1 1` help you? >> Nope. The issue persists (and the output of `busctl` keeps the same). >> >> Regards, >> Gustavo Sousa > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel