Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package needrestart-session, it creates the user needed to run the dbus service which is needed for this package to work. unblock needrestart-session/0.3-4 The maintainer requested that I file this unblock on his behalf. -- bye, pabs https://wiki.debian.org/PaulWise
diff -Nru needrestart-session-0.3/debian/changelog needrestart-session-0.3/debian/changelog
--- needrestart-session-0.3/debian/changelog 2016-12-23 16:05:51.000000000 +0800
+++ needrestart-session-0.3/debian/changelog 2017-03-10 23:18:08.000000000 +0800
@@ -1,3 +1,10 @@
+needrestart-session (0.3-4) unstable; urgency=high
+
+ * Add dependency on adduser and add/delete new system user needrestart-dbus.
+ Closes: #855788, #857077
+
+ -- Patrick Matthäi <pmatthaei@debian.org> Fri, 10 Mar 2017 16:18:08 +0100
+
needrestart-session (0.3-3) unstable; urgency=medium
* Bump Standards-Version to 3.9.8 (no changes required).
diff -Nru needrestart-session-0.3/debian/control needrestart-session-0.3/debian/control
--- needrestart-session-0.3/debian/control 2016-12-23 16:05:51.000000000 +0800
+++ needrestart-session-0.3/debian/control 2017-03-10 23:18:08.000000000 +0800
@@ -11,6 +11,7 @@
Depends: ${perl:Depends},
${misc:Depends},
needrestart (>= 2.0),
+ adduser,
libnet-dbus-perl,
libproc-processtable-perl,
libwx-perl,
diff -Nru needrestart-session-0.3/debian/needrestart-session.postinst needrestart-session-0.3/debian/needrestart-session.postinst
--- needrestart-session-0.3/debian/needrestart-session.postinst 1970-01-01 08:00:00.000000000 +0800
+++ needrestart-session-0.3/debian/needrestart-session.postinst 2017-03-10 23:18:08.000000000 +0800
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ adduser --system --no-create-home --home /nonexistent --quiet needrestart-dbus || true
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff -Nru needrestart-session-0.3/debian/needrestart-session.postrm needrestart-session-0.3/debian/needrestart-session.postrm
--- needrestart-session-0.3/debian/needrestart-session.postrm 1970-01-01 08:00:00.000000000 +0800
+++ needrestart-session-0.3/debian/needrestart-session.postrm 2017-03-10 23:18:08.000000000 +0800
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ purge)
+ if getent passwd|grep -q ^needrestart-dbus: ; then
+ userdel needrestart-dbus 2>&1 > /dev/null || true
+ fi
+ ;;
+ upgrade|remove|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+esac
+
+#DEBHELPER#
+
+exit 0
Attachment:
signature.asc
Description: This is a digitally signed message part