Web lists-archives.com

Re: Debian vs Linux namespaces


On Sat, Mar 23, 2019 at 8:41 PM Harald Dunkel <harri@xxxxxxxxx> wrote:
> Hi folks,
> AFAICS there are several packages that appear to be unaware of /
> do not care about containers, e.g. opensmtpd, bind9, apt-cacher-ng,
> probably everything using pidof or pidofproc from /lib/lsb/init-\
> functions).
> I noticed that containerization and Linux namespaces are not number
> one priority for Debian, but do you think this could be addressed
> for Buster? Its pretty annoying if you try to maintain the Debian host
> system, and a LXC container is affected instead.
> Thanx in advance
> Harri
> https://bugs.debian.org/888569
> https://bugs.debian.org/888743
> https://bugs.debian.org/858837
> https://bugs.debian.org/924551

If I read these bugs correctly, all are the same thing and it's the bug in lsb.
And the straightforward fix mentioned in #888743 and #858837 is to use
`pidof -c` instead of `pidof` in pidofproc function provided by
lsb-base package.

I think there's no harm for this patch.

Shengjing Zhu