Checked further and reduced the set to install to trigger the issue.
And that was ... interesting, imagine a long log that I removed, here is what
matters:
1. No other software is needed
I formerly reduced it just to libvirt+nginx, but that only mattered
because its dependencies made it upgrade systemd and openssl. Based on
the "The following packages will be upgraded:" output I could make it
just
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get -y
--no-install-recommends install systemd nginx
Which will effectively do systemd+openssl+nginx:
The following NEW packages will be installed:
nginx nginx-common openssl-provider-legacy
The following packages will be upgraded:
libnss-systemd libpam-systemd libssl3t64 libsystemd-shared libsystemd0
libudev1 openssl systemd systemd-cryptsetup systemd-resolved systemd-sysv
systemd-timesyncd udev
2. upgrade vs dist-upgrade before the install matter:
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get update -y
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get upgrade -y
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get -y
--no-install-recommends install systemd nginx
=> still fails
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get update -y
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get
dist-upgrade -y
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get -y
--no-install-recommends install systemd nginx
=> works (the same updates were done before)
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get update -y
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get upgrade -y
$ lxc exec p-metric --env=DEBIAN_FRONTEND=noninteractive -- apt-get -y
--no-install-recommends install nginx
=> works (not pulling in systemd/openssl)
But if I do the upgrade of ssl/systemd in one go with the nginx install it will
fail.
** Also affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2093081
Title:
Installing many packages at once lets the nginx service fail to start
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/2093081/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs