Bug#888743: pidofproc returns PIDs in foreign chroots and containers
Didier 'OdyX' Raboud <[email protected]> Fri, 02 Feb 2018 19:52:07 +0100
| Newsgroups | gmane.linux.debian.devel.lsb |
|---|---|
| Organization | Debian - The Universal OS |
| Message-ID | <4272418.JQAfGG0cfx__13651.1703524322$1517597759$gmane$org@odyx.org> |
--nextPart3932778.Z0ZoYjaHSJ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Hi there Harald, Le lundi, 29 janvier 2018, 14.19:53 h CET Harald Dunkel a =C3=A9crit : > Apparently pidofproc returns the PIDs of programs running > in a chroot or in a container, if there is no local PID file. > This is a *huge* problem for me, because either the init > scripts on the host fail to restart services, or they affect > services running in a container/chroot. > (=E2=80=A6) > lsb-base version 9.20170808 has the same problem. I would highly > appreciate a fix for stretch and sid. =46or all practical concerns, you should consider the LSB package orphaned = (and=20 I should probably just go ahead and orphan it). =46or the bug at hand, I would recommend checking what Ubuntu has in their= =20 pidofproc command in lsb-base, but I've long resisted re-using theirs as th= e=20 list of conditionals is really scary. Any update of src:lsb goes on _all=20 possible Debian machines_, so that didn't leave me with a lot of willingnes= s=20 to change anything there. I'm not opposed to a change there, and I don't challenge the validity of th= at=20 bug, I'm merely saying that I won't be the one pushing it. Patches and NMUs= =20 welcome, but please upload to experimental first! :-) Cheers, OdyX --nextPart3932778.Z0ZoYjaHSJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAlp0s1cACgkQi8+nHsoW NFWwmwwAmHGAE9OYfwBLTRwCk+3J29rxtHKckjl7Dby8HNt4nONXa6YZlOny2hWo 3BxH+BCrLAJsFkF+kcOFHEb/tQvrSM2xsHMWTl5wHFFiberC630jTE4d0gJ83Wwu zPVdCQA3fj34DPxZR6gxa/8FWVr4s5nCSH0omrhlmMsjIeDYEqIzeqvzMQ1LpVmF OPUDwqO90DgND8mtZjG/GbU0nDm3fA/ba78DbeCmR9UZGvFtuirHO9bjAWa9VXGL JS8ixwVTbfr071ySdrQ2OJYI6L/EJImSqqbbFulY+XQMic9WcDAdrc1KNyJg/YTR TkbwfOWZf7Do9lfdu42ay+HK4Qpv2dZC/C7T+IcuH/BmF+rS+mXtbG2mRAahN4M/ HDNP83UMXYj9/JR55jY55WFR7+k6zUxa8c/gWWaPXwekMa4mvuii8XR9h+Yu+Zeq wR6uHgenHpFBa82wf5RYpeLyVdI0/49Ap3L2kHGYZQyzNOXG5ktz+G4SKq09wYJm QA+siM/s =5gUa -----END PGP SIGNATURE----- --nextPart3932778.Z0ZoYjaHSJ--