Package: dpkg
Version: 1.18.4
Severity: normal

Dear Maintainer,

On a server with LXC containers (virtual machines), there may be several copies 
of the same daemon running. For instance one inside a container and one on the 
host machine. This confuses start-stop-daemon. In my case this happened with 
samba running on both my host machine and inside a lxc container.

Start-stop-daemon does not take the containers into account. Using 
start-stop-daemon inside a container works fine, but when you try to start a 
daemon on the host machine when there already is a daemon with the same name 
running inside a container, start-stop-daemon sees the running daemon and 
doesn't start a new one.

The work-around I use is to stop samba inside the container, then start samba 
on the host machine, then start samba inside the container.

The bug occurs on a machine running Debian stable, amd64 multiarch
kernel: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 
GNU/Linux
dpkg version: 1.17.26
lxc version: 1.0.6

Regards,
Maarten Tromp

Reply via email to