Package: daemontools-run Version: installation in docker catches job control signal Severity: normal
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, while testing internal packages in a local docker container i found something strange. It seems installation of daemontools-run causes apt to catch a job control signal late in the installation which causes apt to not finish installation. After looking into the postinst i think it might be related to sending SIGHUP to pid 1 - Pid1 in these container is the interactive shell - not init or systemd. This is the default Debian/Stretch container i started with: docker run -it -h stretch-12654 --rm amd64/debian:stretch /bin/bash -li root@stretch-12654:/# apt-get install daemontools-run Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: daemontools-run 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. Need to get 11.2 kB of archives. After this operation, 39.9 kB of additional disk space will be used. Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 daemontools-run all 1:0.76-6.1 [11.2 kB] Fetched 11.2 kB in 0s (337 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package daemontools-run. (Reading database ... 6541 files and directories currently installed.) Preparing to unpack .../daemontools-run_1%3a0.76-6.1_all.deb ... Unpacking daemontools-run (1:0.76-6.1) ... Setting up daemontools-run (1:0.76-6.1) ... Adding SV inittab entry... [1]+ Stopped apt-get install daemontools-run As apt has not yet finished running the apt database is still locked. root@stretch-12654:/# apt-get install zsh Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: zsh-common Suggested packages: zsh-doc E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ - -- System Information: Debian Release: 9.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.18.0-0.bpo.1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages daemontools-run depends on: pn daemontools <none> daemontools-run recommends no packages. daemontools-run suggests no packages. -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdb9o7oebX2papQ/KkN1BIMsJ8i8FAlxtfE4ACgkQkN1BIMsJ 8i+qRA//ZpqlC7n4jKWkol/X/QRPhwTYKFkoBqwHr9+LUX2R+bTlp9y8JSyTCD+O UMOegJiHxfN2YeUv8LIMzY51JgU9SuZPpH0p+BJP+moN3PFeJdI2O/IrLR3w1o0g RNaOvaLLuWv0/J6b/knKmL81XowJmKu5LL9fH8hnUlbjjFwYTz0srXmGwX2QaeOE DbQfCzrrz9OCp4qDbxIGUB2HfW0cyDGaVJAsHfNgeEFSbrkE6BI6eKrIQn9G2Vqc 8nicBy24C1D2ScYpGwwzDEx+jGkuD3Zb4EKD5jdp2quznUUKef5lIJ7zoAQybztG 3La3MUNINdhF5JCwxkijF/lBWkvTvUUpUQyyHJL+pn6ewj4XyM9H1Ta3uVwHi2Ja QdiP8MKD4Ydw5fQHysERWYBplPGUrbNx5uBg4VXPcT6rh7siS7rM3VxC5hVkvmQy cUs2ni2w3s+q1iL26sTpT+4yMWn8mRD2C+wBqiFeSukPcvBxVDeZVKmYioycsU61 uD+wMuFKCroSsr9ctKpuedeV3PWpiA8WmItXyKKtbZuLmcxtckRTj1ldNwR2BitH vEEsUKfDPLetXuELGcRWOg+TVJGIiYkX5kGC1iGiIrpj7jtPa9vOh0yZ1qBa+FS+ dhP3C8/vTwTEwq2Tk8KJRTgBk8TSMH+1jehCOOLwfw6iwNtUXBc= =NQ8x -----END PGP SIGNATURE-----