Re: [systemd-devel] Restarting dbus service makes system unstable
On 08.03.2024 09:49, Shreenidhi Shedi wrote: Hi All, I tried this on Fedora 39 so anyone can reproduce this at their end I guess. Restarting D-Bus was never safe and never supported. Every individual application would need to support D-Bus connection loss and be able to transparently reconnect. I do not know if D-Bus daemon keeps any internal state that would need restoring as well. Steps: 1. systemctl restart dbus 2. Try to start a new ssh session or invoke a reboot command It will take 25 seconds to finish and if we restart systemd-logind, system becomes stable. busctl --list shows logind as activatable. Is this a known issue? I tried the same on a systemd with systemd v247.13 and it doesn't happen there. With systemd v253.12 and in v254.9 (fedora's) this is reproducible 100%.
[systemd-devel] Restarting dbus service makes system unstable
Hi All, I tried this on Fedora 39 so anyone can reproduce this at their end I guess. Steps: 1. systemctl restart dbus 2. Try to start a new ssh session or invoke a reboot command It will take 25 seconds to finish and if we restart systemd-logind, system becomes stable. busctl --list shows logind as activatable. Is this a known issue? I tried the same on a systemd with systemd v247.13 and it doesn't happen there. With systemd v253.12 and in v254.9 (fedora's) this is reproducible 100%. -- Shedi
Re: [systemd-devel] How to install libudev from source?
On Do, 07.03.24 17:09, Vru Inbvi (vru.in...@gmail.com) wrote: > Hi, > > I am struggling to install libudev from source (with Ubuntu) > Can someone please explain what the correct way to do this is, or point me > to relevant/updated documentation? https://systemd.io/HACKING Lennart -- Lennart Poettering, Berlin
[systemd-devel] How to install libudev from source?
Hi, I am struggling to install libudev from source (with Ubuntu) Can someone please explain what the correct way to do this is, or point me to relevant/updated documentation? Thanks
Re: [systemd-devel] Query on sshd.socket sshd.service approaches
On Thu, Mar 7, 2024 at 1:24 PM Shreenidhi Shedi < shreenidhi.sh...@broadcom.com> wrote: > On Wed, Mar 6, 2024 at 8:57 PM Lennart Poettering > wrote: > >> On Mi, 06.03.24 14:44, Shreenidhi Shedi (shreenidhi.sh...@broadcom.com) >> wrote: >> >> > > Lennart Poettering, Berlin >> > >> > Thanks a lot for the responses Andrei, Poettering . >> > We took it from blfs in PhotonOS. >> > >> https://www.linuxfromscratch.org/blfs/view/11.3-systemd/introduction/systemd-units.html >> > We need to do some more work on these unit files. >> >> But that tarball actually contains a correct sshd -i line that >> includes the "-" that makes the return values to be ignored as it >> should. Hence if your distro didn't do this even though it imported >> this from LFS, then it's your distro that broke that... >> >> Lennart >> >> -- >> Lennart Poettering, Berlin >> > > I'm not sure which file you are referring to. > Please check this one blfs-systemd-units-20220720/blfs/units/sshdat.service > > -- > Shedi > Sorry, my bad. I referred an older version of this tarball. https://www.linuxfromscratch.org/blfs/downloads/11.3-systemd/blfs-systemd-units-20220720.tar.xz I see that in the latest revisions, it's fixed. https://www.linuxfromscratch.org/blfs/downloads/systemd/ -- Shedi