Re: [systemd-devel] Strange problem: Failed to get properties: Failed to activate service
On Mi, 17.10.18 20:06, Cecil Westerhof (cldwester...@gmail.com) wrote: > Since this morning I have a strange problem, when I execute: > systemctl status cups > > I get: > Failed to get properties: Failed to activate service > 'org.freedesktop.systemd1': timed out > > This is with every service, not just cups. This suggests systemd for some reason is not on the bus. That's almost certainly a bug. No idea how that can happen, there might be something in the logs explaining why it disconnected from the bus. Usually "systemctl daemon-reexec" should make systemd reconnect to the bus. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Strange problem: Failed to get properties: Failed to activate service
Since this morning I have a strange problem, when I execute: systemctl status cups I get: Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out This is with every service, not just cups. I tried 'everything', even rebooting the system. What could be the problem. This is with: systemd 239 +PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid On: Distributor ID: Debian Description:Debian GNU/Linux 9.5 (stretch) Release:9.5 Codename: stretch -- Cecil Westerhof ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] systemd suspending docked laptop?
On Mi, 17.10.18 09:04, Jan Bakuwel (jan.baku...@gmail.com) wrote: > Either NetworkManager or systemd is suspending the system after it is > powered up when the laptop is docked with the lid closed. This does not > happen when the laptop is used without the docking station (and lid > open). Use "systemctl edit systemd-logind", then enter this into the editor that opens: [Service] Environment=SYSTEMD_LOG_LEVEL=debug Then issue "systemctl restart systemd-logind". This will turn on debug logging for logind, that should tell you exactly what it is doing any why. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] logind + GDbus API
On Mi, 17.10.18 09:50, Germano Massullo (germano.massu...@gmail.com) wrote: > Good day, I planned to write a tiny software for testing purposes that > will use GDbus API to interact with logind, in order to detect user > idle time. > I am still studying GDbus API, and I am also looking for some very > good example of GDbus API + logind usage, in order to learn best > practices in using both of them. > Do you know any? I actually have not found anything yet that fits my > needs, but there should be some for sure. I have just found this > StackOverflow topic [1] If you need help with the gdbus API I'd recommend pinging the glib mailing lists, they are the most likely to help you with that. gdbus is not directly related to systemd, we can't really help you here. Hope this makes sense, Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] logind + GDbus API
Good day, I planned to write a tiny software for testing purposes that will use GDbus API to interact with logind, in order to detect user idle time. I am still studying GDbus API, and I am also looking for some very good example of GDbus API + logind usage, in order to learn best practices in using both of them. Do you know any? I actually have not found anything yet that fits my needs, but there should be some for sure. I have just found this StackOverflow topic [1] Thank you for your time [1]: https://stackoverflow.com/questions/37185735/sample-program-for-gdbus-signals ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel