diff options
Diffstat (limited to 'tags/m/maintainer-script-hides-init-failure.tag')
-rw-r--r-- | tags/m/maintainer-script-hides-init-failure.tag | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tags/m/maintainer-script-hides-init-failure.tag b/tags/m/maintainer-script-hides-init-failure.tag new file mode 100644 index 0000000..cbbc848 --- /dev/null +++ b/tags/m/maintainer-script-hides-init-failure.tag @@ -0,0 +1,12 @@ +Tag: maintainer-script-hides-init-failure +Severity: warning +Check: scripts +Renamed-From: maintainer-script-should-not-hide-init-failure +Explanation: This script calls invoke-rc.d to run an init script but then, if the + init script fails, exits successfully (using || exit 0). If the init + script fails, the maintainer script should probably fail. + . + The most likely cause of this problem is that the package was built with + a debhelper version suffering from Bug#337664 that inserted incorrect + invoke-rc.d code in the generated maintainer script. The package needs to + be reuploaded (could be bin-NMUd, no source changes needed). |