Hi Reco,
On 7/15/18 1:44 PM, Reco wrote:
Hi.
On Sun, Jul 15, 2018 at 12:16:20PM +0200, Harald Dunkel wrote:
Hi folks,
would you mind to take a look at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888743
The fix is pretty easy.
But does not address all the cornercases, IMO.
Consider, for instance, an LXC container which shares root filesystem
with the host.
The "pidof -c" is just a workaround. In your case pidofproc would
fall back into the current (broken) functionality, AFAICS. A *clean*
solution would give /bin/pidof the boot and rely upon the PID files
in /run only.
This is not the problem here. The problem is that things like this
don't get fixed because its pretty complex code for an easy task.
Changing it might have unforeseeable side effects and nobody dares
to touch it.
Regards
Harri