[Pkg-sysvinit-devel] Bug#629902: dh_installinit: should support LSB compliant scripts
Joey Hess
joeyh at debian.org
Tue Jun 14 15:39:17 UTC 2011
Helmut Grohne wrote:
> A failure from the update-rc.d cannot make postinst fail, because the
> exit code is not checked.
Yes it is (set -x), but I meant invoke-rc.d anyway, obviously.
> So in my view the reason for a postinst failure is unrelated to
> update-rc.d. Can you explain your reasoning?
Simple separation of concerns, invoke-rc.d is responsible for running
the init script and determining if it fails and propigating a failing
exit status. debhelper allows it to do do. The right way to make 6 be
ignored is to get invoke-rc.d to ignore it, not add cruft to every
postinst that calls it.
--
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20110614/0b968d82/attachment-0001.pgp>
More information about the Pkg-sysvinit-devel
mailing list