2013/12/8 Peeters Simon <peeters.si...@gmail.com>:
> hej,
>
> when i try to run systemd-activate from the latest git i get an
> assertion failiure:
>
> [simon@troela server]$ /usr/lib/systemd/systemd-activate -l 9000 main.js
> Assertion 'fd == 3 + count' failed at src/activate/activate.c:115,
> function open_sockets(). Aborting.
> Aborted (core dumped)
>
> this is on archlinux with systemd-git from aur.
>
> i am not familiar with this code, so can anybody help me solving this?

sorry for the noise, after a bit debuging i found the problem:
slim appears to leak an fd into all of its children:
stat /proc/14004/fd/3  (14004 is the pid a random process in my session)
  File: '/proc/14004/fd/3' -> '/var/log/slim.log'

i now work around it by isuing exec 3<&- in bash before i run systemd-activate
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to