Re: [systemd-devel] How to Listen for SessionRemoved Signal

2014-07-18 Thread Kurt von Laven
Figured out how to coerce my system into functioning acceptably when the "PrepareForShutdown" signal is treated as an indicator that the user logged out. Thanks again for the help. On Fri, Jul 11, 2014 at 10:57 AM, Kurt von Laven wrote: > Thank you Mantas and Djalal for improving my mental mode

[systemd-devel] compile with clang broken

2014-07-18 Thread Thomas H.P. Andersen
1716f6dcf54d4c181c2e2558e3d5414f54c8d9ca (resolved: add LLMNR support for looking up names) broke the build on clang. src/resolve/resolved-manager.c:553:43: error: non-const static data member must be initialized out of line uint8_t buffer[CMSG_SPACE(MAX(sizeof(struct in_pktinfo), sizeof(struct in

Re: [systemd-devel] [PATCH] systemd-detect-s390-virt: add virtualization detection on s390x

2014-07-18 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jul 18, 2014 at 01:42:21PM +0200, Thomas Blume wrote: > On Tue, 8 Jul 2014, Lennart Poettering wrote: > Ok, thanks for the input. > Attached is the new patch. I didn't apply. But I applied it by hand because I wanted to change it anyway. Although Lennart suggested putting variable definitio

Re: [systemd-devel] [PATCH] systemd-detect-s390-virt: add virtualization detection on s390x

2014-07-18 Thread Dan Horák
On Fri, 18 Jul 2014 13:42:21 +0200 (CEST) Thomas Blume wrote: > On Tue, 8 Jul 2014, Lennart Poettering wrote: > > >> > >> PR/SM is the hypervisor, so it should be detected as *not* > >> virtualized, which mean that it does not get any _id string. For > >> the virtualized systems on top, yes, it'

Re: [systemd-devel] Unit to test if a domain is reachable

2014-07-18 Thread Tom Gundersen
On Fri, Jul 18, 2014 at 1:37 PM, Colin Guthrie wrote: > 'Twas brillig, and Moviuro at 17/07/14 11:41 did gyre and gimble: >> On Thursday 17 July 2014 12:12:22 you wrote: >>> Why not just use network-online.target? >>> http://www.freedesktop.org/software/systemd/man/systemd.special.html#network >>>

Re: [systemd-devel] [PATCH] systemd-detect-s390-virt: add virtualization detection on s390x

2014-07-18 Thread Thomas Blume
On Tue, 8 Jul 2014, Lennart Poettering wrote: PR/SM is the hypervisor, so it should be detected as *not* virtualized, which mean that it does not get any _id string. For the virtualized systems on top, yes, it'd be nice to be able to distinguish them, iff there are clear and unamigous distincti

Re: [systemd-devel] Unit to test if a domain is reachable

2014-07-18 Thread Colin Guthrie
'Twas brillig, and Moviuro at 17/07/14 11:41 did gyre and gimble: > On Thursday 17 July 2014 12:12:22 you wrote: >> Why not just use network-online.target? >> http://www.freedesktop.org/software/systemd/man/systemd.special.html#network >> -online.target > o If it succeeds, the unit that needs to re