Package: init-system-helpers Version: 1.47 Severity: normal Tags: patch Hi all,
See: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful/artful/armhf/i/init-system-helpers/20170715_153215_783d6@/log.gz invoke-rc.d: initscript udev, action "restart" failed. ● systemd-udevd.service - udev Kernel Device Manager Loaded: loaded (/lib/systemd/system/systemd-udevd.service; static; vendor preset: enabled) Active: activating (start) since Sat 2017-07-15 15:32:01 UTC; 23ms ago Docs: man:systemd-udevd.service(8) man:udev(7) Main PID: 1219 (systemd-udevd) Tasks: 1 CGroup: /system.slice/systemd-udevd.service └─1219 /lib/systemd/systemd-udevd Jul 15 15:32:01 autopkgtest-lxd-hlpuup systemd[1]: systemd-udevd.service: Fai…ed Jul 15 15:32:01 autopkgtest-lxd-hlpuup systemd[1]: Starting udev Kernel Devic….. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package udev (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for dbus (1.10.18-1ubuntu2) ... Errors were encountered while processing: udev It would be good to do what the hint in the output says, so we can see what's going wrong from logs. Patch attached. Cheers, -- Iain Lane [ i...@orangesquash.org.uk ] Debian Developer [ la...@debian.org ] Ubuntu Developer [ la...@ubuntu.com ]
>From f0a2a6276d70834665a995b9254abe78a2d56b68 Mon Sep 17 00:00:00 2001 From: Iain Lane <la...@debian.org> Date: Sat, 15 Jul 2017 17:36:45 +0100 Subject: [PATCH] invoke-rc.d: Pass --full to `systemctl status', so we don't get ellipsised output. --- debian/changelog | 7 +++++++ script/invoke-rc.d | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index abea8f9..eee4c74 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +init-system-helpers (1.49) UNRELEASED; urgency=medium + + * invoke-rc.d: Pass --full to `systemctl status', so we don't get ellipsised + output. + + -- Iain Lane <la...@debian.org> Sat, 15 Jul 2017 17:36:15 +0100 + init-system-helpers (1.48) unstable; urgency=medium * Team upload diff --git a/script/invoke-rc.d b/script/invoke-rc.d index d8b10f7..569ec50 100755 --- a/script/invoke-rc.d +++ b/script/invoke-rc.d @@ -604,7 +604,7 @@ if test x${FORCE} != x || test ${RC} -eq 104 ; then done printerror initscript ${INITSCRIPTID}, action \"${saction}\" failed. if [ -n "$is_systemd" ] && [ "$saction" = start -o "$saction" = restart -o "$saction" = "try-restart" ]; then - systemctl status --no-pager "${UNIT}" || true + systemctl status --full --no-pager "${UNIT}" || true fi exit ${RC} fi -- 2.11.0
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers