• Simon McVittie's avatar
    Make dbus-daemon-launch-helper permissions more robust (Closes: #773107) · c3963adc
    Simon McVittie authored
    * postinst: use dpkg-statoverride to set the permissions for
      dbus-daemon-launch-helper (expected to be 04754 root:messagebus)
      as suggested in Policy §10.9. This avoids a temporarily broken state
      when an upgraded dbus is unpacked but not yet configured (Closes: #773107)
    * preinst: opportunistically set up the same dpkg-statoverride entry
      if the group already exists, to avoid the same broken state during
      upgrades from older versions without needing Pre-Depends: adduser
    * postrm: delete the dpkg-statoverride entry on purge
dbus.postrm 328 Bytes