[Pkg-utopia-maintainers] Bug#799396: dbus: please "touch /var/run/reboot-required" on upgrade

Alexandre Detiste alexandre.detiste at gmail.com
Fri Sep 18 18:44:22 UTC 2015


Package: dbus
Version: 1.10.0-3
Severity: wishlist

Dear Maitainer,

Please "touch /var/run/reboot-required" on upgrade to notify
unattended-upgrades that it should reboot the computer.

"notify-reboot-required" is a Ubuntu-only and most
of this infrastrure is not anymore shipped in Debian
(e.g. "KDE Kingston update notifier"),
but the minimal /var/run/reboot-required interface is still
supported by U-U as a fallback.

unattended-upgrade also already install a similar hook for kernel updates:
https://github.com/mvo5/unattended-upgrades/blob/debian/sid/kernel/postinst.d
/unattended-upgrades


@dbus.postinst
    if pidof -c /bin/dbus-daemon /usr/bin/dbus-daemon >/dev/null; then
        echo "A reboot is required to replace the running dbus-daemon." >&2
        echo "Please reboot the system when convenient." >&2

        # trigger an update notification which recommends to reboot
        [ -x /usr/share/update-notifier/notify-reboot-required ] && \
            /usr/share/update-notifier/notify-reboot-required || true
+       touch /var/run/reboot-required
    fi



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dbus depends on:
ii  adduser       3.113+nmu3
ii  libapparmor1  2.9.2-3
ii  libaudit1     1:2.4.4-1
ii  libc6         2.19-19
ii  libcap-ng0    0.7.6-1
ii  libdbus-1-3   1.10.0-3
ii  libexpat1     2.1.0-7
ii  libselinux1   2.3-2+b1
ii  libsystemd0   225-1
ii  lsb-base      9.20150826

dbus recommends no packages.

Versions of packages dbus suggests:
ii  dbus-x11  1.10.0-3

Versions of packages dbus is related to:
ii  dbus-x11      1.10.0-3
ii  systemd       225-1
ii  systemd-sysv  225-1

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list