[Bug 1959054] Re: debhelper restarts services marked --no-restart-on-upgrade

Dave Jones 1959054 at bugs.launchpad.net
Mon Feb 14 12:03:03 UTC 2022


The fix has now been merged upstream in debhelper, so we're just waiting
on sponsorship of LP: #1960248 to get the fix into our version as well.
In the meantime, I've gone through the list sarnold provided; here's the
list of source packages which will need a no-change rebuild once the
debhelper fix has landed:

aoetools
apcupsd
apparmor
apt
apt-cacher-ng
aumix
bip
bootmail
buildbot
ceph
cloud-init
cpufrequtils
dbus
dbus-broker
docker.io
dpdk
drbd
entropybroker
finalrd
g180-led
ganeti
google-guest-agent
google-osconfig-agent
gpm
h2o
haproxy
ifupdown
ifupdown-ng
iipimage
inetsim
inspircd
iwd
libvirt
live-config
live-tools
lvm2
lxc
lxcfs
moosefs
neutron
nghttp
nginx
ngtcp
nodm
ntp
nullmailer
ocfs2-tools
open-infrastructure-compute-tools
open-iscsi
openldap
open-vm-tools
openvpn
pacemaker
packagekit
pdupdaemon
phosh
pi-bluetooth
policycoreutils
python-certbot
python-rtslib-fb
qcontrol
qemu
quassel
robustirc-bridge
rpcbind
runit
samba
sanlock
sbd
sbuild
slim
sysstat
tarantool
targetcli-fb
tgt
tlp
ufw
umtp-responder
unscd
walinuxagent
wdm
whereami
xrdp
yubikey-luks
zfs-linux
zram-config

Please note: this list is probably *not* comprehensive. We've only
searched for --no-restart-on-upgrade, --no-stop-on-upgrade, and --no-
restart-after-upgrade but it's possible packages may rely on the short-
form of these options as well (-r and -R). However, these are rather
impractical to search for, and I would *hope* that the vast majority of
d/rules implementations use the long form so if we are missing any
packages, the impact is (hopefully!) minimal.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1959054

Title:
  debhelper restarts services marked --no-restart-on-upgrade

Status in debhelper package in Ubuntu:
  Confirmed
Status in docker.io package in Ubuntu:
  Confirmed
Status in libvirt package in Ubuntu:
  Triaged
Status in debhelper source package in Jammy:
  Confirmed
Status in docker.io source package in Jammy:
  Confirmed
Status in libvirt source package in Jammy:
  Triaged
Status in debhelper package in Debian:
  New

Bug description:
  Debian bug #994204 (https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=994204) describes a flaw in debhelper that
  results in the postinst being generated in such a fashion that
  services marked --no-stop-on-upgrade (or its deprecated alias --no-
  restart-on-upgrade), restart anyway.

  Please note: this is nothing to do with the --no-restart-after-upgrade
  flag (which is, somewhat confusingly IMO, unrelated).

  I've confirmed that the flaw appears to be present in the jammy
  version of debhelper (though not impish) and that packages generated
  with it appear to contain the flawed postinst (I first encountered
  this whilst working on the open-iscsi merge), though I haven't yet
  managed to test that the flaw exhibits itself on upgrade (though I'd
  say from the presence of the flaw in the postinst, that it's a
  reasonable inference that it will).

  In dbus (the merge of which I'm currently working on), Debian has
  worked around this but given I've now run into two affected packages
  (open-iscsi and dbus), only one of which has a work-around, I'd much
  rather we got debhelper fixed up and rebuilt affected packages?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1959054/+subscriptions




More information about the foundations-bugs mailing list