Attaching debdiff which I believe should prevent the service from being
stopped on upgrade. Test packages are currently building in
ppa:waveform/dbus (https://launchpad.net/~waveform/+archive/ubuntu/dbus)
but I've already built locally and verified that the offending portion
of the preinst maintscript is gone.

Ultimately this is down to a mis-understanding of debhelper's
start/restart options (which are unfortunately named, and in my opinion
insufficiently documented -- something I'll try and post a patch for
upstream):

In Ubuntu (several releases back) we'd altered the dh_installsystemd
options for dbus (in d/rules) to "--no-start" intending the service to
be activated solely via dbus.socket. Unfortunately, just specifying "--
no-start" tells debhelper you don't want the service started, but it
still implies that you wish the service to be *restarted* (if it's
running) during upgrade. You must *additionally* specify "--no-stop-on-
upgrade" (formerly known as "--no-restart-on-upgrade", and not to be
confused with "--no-restart-after-upgrade") if you do not want it
restarted.

Debian have also (more recently) adjusted their dh_installsystemd
options for dbus (for different reasons), so this will also need
patching upstream (I'll try and open a bug for this and associate it
with this one as it's all the same options affected at the end of the
day).

** Patch added: "1-1962036.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1962036/+attachment/5575780/+files/1-1962036.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/1962036

Title:
  dbus was stopped during today's jammy update, breaking desktop

Status in dbus package in Ubuntu:
  Triaged
Status in dbus source package in Jammy:
  Triaged

Bug description:
  Impact: logind stopped, so desktop stopped, ssh stopped, got no getty.
  Had to hard reset.

  Today's jammy upgrade stopped dbus at 19:46:27

  Feb 23 19:46:27 jak-t480s systemd[1]: Stopping D-Bus System Message
  Bus...

  This should not happen. I don't know which package caused this, but
  presumably dbus should not be stoppable in the first place.


  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: dbus 1.12.20-2ubuntu3
  ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
  Uname: Linux 5.15.0-22-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu78
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: GNOME
  Date: Wed Feb 23 20:03:41 2022
  InstallationDate: Installed on 2018-03-14 (1442 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180313)
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: dbus
  UpgradeStatus: No upgrade log present (probably fresh install)

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to