Package: debian-policy Severity: important If postinst or one of the other scripts does a service restart and the restart operation fails, should the postinst abort or should it mask the error, continue and return success?
If it continues, is there any other convention for reporting the problem, e.g. stderr? Looking at s9.3.3 "Interfacing with the initscript system" https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3 it doesn't explicitly state what should happen.