Version: 215-5+b1

On Tue, 18 Nov 2014 11:24:46 +0100 Ansgar Burchardt <ans...@debian.org>
wrote:
> Version: 215-5
>
> Hi,
>
> On 11/18/2014 11:04 AM, intrigeri wrote:
> > Ansgar Burchardt wrote (05 Aug 2014 13:01:22 GMT) :
> >> trying to use systemd-run --user fails:
> >
> >> $ systemd-run --user /bin/sleep 3600
> >> Running as unit run-17508.service.
> >> Failed start transient unit: Process org.freedesktop.systemd1 exited
with status 1
> >
> > It works fine for me on current sid:
> >
> > intrige+ 11871 0.0 0.0 5804 660 ? Ss 11:03 0:00 /bin/sleep 3600
> >
> > Can you still reproduce this bug?
>
> No, systemd-run no longer complains:
>
> ~ % systemd-run --user /bin/sleep 3600
> Running as unit run-855.service.
>
> The sleep process is also running just fine[1].
>
> Ansgar
>
> [1] Minus having transient files in ~/.config/systemd/user; this
> might be fixed in systemd-217 as it has this entry in NEWS:
> "User units are now loaded also from
> $XDG_RUNTIME_DIR/systemd/user/."
>
>

However, here I am struggling with user services. I have 3 jessie hosts,
all rolling upgrade from wheezy (one is a linode VPS).

root@gw:~# su - lark
lark@gw:~$ systemd-run --user /bin/ls
Failed to create bus connection: Connection refused
lark@gw:~$ systemd-run /bin/ls
Failed to create message: Permission denied
lark@gw:~$ systemctl --user status
Failed to get D-Bus connection: Connection refused
lark@gw:~$ exit
logout
root@gw:~# systemd-run --user /bin/ls
Running as unit run-4429.service.

And a simple service unit under ~/.config/systemd/user/ for
'/bin/sleep 3600' is not started for user 'lark'.

root@gw:~# dpkg -l |grep systemd
ii  libpam-systemd:amd64              215-5+b1
 amd64        system and service manager - PAM module
ii  libsystemd0:amd64                 215-5+b1
 amd64        systemd utility library
ii  systemd                           215-5+b1
 amd64        system and service manager
ii  systemd-sysv                      215-5+b1
 amd64        system and service manager - SysV links

Reply via email to