[Pkg-sysvinit-devel] Bug#701863: invoke-rc.d: report service when policy-rc.d prevents execution.
Trent W. Buck
trentbuck at gmail.com
Thu Feb 28 07:48:14 UTC 2013
Package: sysv-rc
Version: 2.88dsf-41
Severity: wishlist
File: /usr/sbin/invoke-rc.d
When doing "dpkg-reconfigure -a" in a chroot where everything is
denied by policy-rc.d, I see a sequence like this:
live-boot: core filesystems devices utils udev blockdev.
update-initramfs: deferring update (trigger activated)
invoke-rc.d: policy-rc.d denied execution of stop.
invoke-rc.d: policy-rc.d denied execution of start.
invoke-rc.d: policy-rc.d denied execution of restart.
invoke-rc.d: policy-rc.d denied execution of stop.
invoke-rc.d: policy-rc.d denied execution of start.
invoke-rc.d: policy-rc.d denied execution of restart.
Not restarting sysvinit
I can't tell which services weren't restarted.
How do you feel about including the service name in that output?
Something like this:
live-boot: core filesystems devices utils udev blockdev.
update-initramfs: deferring update (trigger activated)
invoke-rc.d: policy-rc.d denied execution of stop (acpid).
invoke-rc.d: policy-rc.d denied execution of start (acpid).
invoke-rc.d: policy-rc.d denied execution of restart (busybox-syslogd).
invoke-rc.d: policy-rc.d denied execution of stop (ntp).
invoke-rc.d: policy-rc.d denied execution of start (ntp).
invoke-rc.d: policy-rc.d denied execution of restart (ssh).
Not restarting sysvinit
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-sysvinit-devel
mailing list