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

Attachment: signature.asc
Description: Digital signature

Reply via email to