When using LXC (I'm using app-emulation/lxc-1.1.2) and cups, "/etc/init.d/cupsd stop" stops the cupsd instance running in the container as well
Right; the init script kills anything called cupsd.
commit dce4f3e5b343e66d88ba2e47b14902264d42988c (HEAD -> master, origin/master, origin/HEAD) Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Wed Feb 15 01:42:23 2017 +0100 net-print/cups: Switch to using pidfile, bug 551544 Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-print/cups/cups-2.2.2-r2.ebuild | 353 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ net-print/cups/cups-9999.ebuild | 46 ++++++++++--------- net-print/cups/files/cupsd.init.d-r3 | 23 ++++++++++ 3 files changed, 400 insertions(+), 22 deletions(-)