Re: [systemd-devel] [PATCH 1/2] core: Refuse to run a user instance when the system hasn't been booted with systemd.

2012-10-06 Thread Thomas Bächler
Am 06.10.2012 05:42, schrieb Kok, Auke-jan H: On Fri, Oct 5, 2012 at 4:11 PM, Thomas Bächler tho...@archlinux.org wrote: Running as a user instance won't work at all if systemd isn't running as system manager, so refuse to start in that case. huh? I'd like to think this is a situation

Re: [systemd-devel] [PATCH 1/2] core: Refuse to run a user instance when the system hasn't been booted with systemd.

2012-10-06 Thread Thomas Bächler
Am 06.10.2012 23:53, schrieb Kok, Auke-jan H: Furthermore, systemctl was unable to do anything - not even 'systemctl --user exit' worked - it couldn't find systemd on the bus, as it refuses to look for the bus unless sd_booted() is true. You can send the signal manually, but that is not what

Re: [systemd-devel] [PATCH 1/2] core: Refuse to run a user instance when the system hasn't been booted with systemd.

2012-10-06 Thread Thomas Bächler
Am 07.10.2012 02:48, schrieb Kok, Auke-jan H: No, I took care of a dbus session. I could even (manually, using qdbus) send the right dbus signal to the systemd user instance so it would exit itself, so that part worked. Forgive me for not knowing Qt, 'qdbus' is just like 'dbus-send', but

[systemd-devel] [PATCH 1/2] core: Refuse to run a user instance when the system hasn't been booted with systemd.

2012-10-05 Thread Thomas Bächler
Running as a user instance won't work at all if systemd isn't running as system manager, so refuse to start in that case. Signed-off-by: Thomas Bächler tho...@archlinux.org --- src/core/main.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/core/main.c b/src/core/main.c index

[systemd-devel] [PATCH 2/2] core/swap.c: Do not add Before=swap.target to swap units.

2012-10-05 Thread Thomas Bächler
is unlikely to break anything. Signed-off-by: Thomas Bächler tho...@archlinux.org --- src/core/swap.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/src/core/swap.c b/src/core/swap.c index b4f53b7..c708b7f 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -165,22 +165,6

<    1   2