[Bug 1837526] Re: Restarting services puts puppet into restart-loop
Adrien Nader
1837526 at bugs.launchpad.net
Fri May 12 19:59:09 UTC 2023
*** This bug is a duplicate of bug 1971650 ***
https://bugs.launchpad.net/bugs/1971650
I'm marking this bug as a duplicate of #1971650 . The general goal is to
move to needrestart rather than continue using the current postinst
script.
** This bug has been marked a duplicate of bug 1971650
wrong check for "server" in libssl3.postinst
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1837526
Title:
Restarting services puts puppet into restart-loop
Status in openssl package in Ubuntu:
New
Bug description:
Puppet is a configuration and software management system that can be
used e.g. for installing and upgrading debian packages, modifying
configuration files, etc. Puppet will call apt-get/dpkg when needed to
handle packages.
When libssl1.1 is installed/upgraded and the installation process is
controlled by Puppet, the automatic re-start of ssl-dependant services
Puts puppet into a re-start loop:
1. libssl1.1 's postinstall script re-starts puppet via systemd (systemctl restart puppet.service)
2. systemd will terminate all processes associated with the Puppet service
3. dpkg is among these processes since it's called by Puppet and inherits its cgroup-memberships.
4. libssl1.1 's postinstall script will never succeed since it's killed by systemd
5. puppet re-starts
6. puppet runs "dpkg --configura -a"
7. libssl1.1 is unconfigured, the postinst script is run
8. goto 1.
Puppet should be removed from hardcoded list of services to be re-
started in libssl1.1's postinst script. A patch to do so is attached.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1837526/+subscriptions
More information about the foundations-bugs
mailing list