Hello and thanks for the report-- على الأربعاء 13 نيسـان 2016 03:11، كتب Andreas Beckmann: > > during a test with piuparts I noticed your package starts processes > where it shouldn't. This is very probably due to not using invoke-rc.d > as mandated by policy 9.3.3.2. This is seriously disturbing! ;-) >
All I wanted to do is stop the daemon before upgrade and start it again afterwards. This same problem must be in gridengine-exec, because I have added basically the same code in prerm/postinst there. > See https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3 > and /usr/share/doc/sysv-rc/README.invoke-rc.d.gz as well > as /usr/share/doc/sysv-rc/README.policy-rc.d.gz > Many thanks for these pointers. Before implementing this bug, I actually spent a good amount of time looking for guides about things to watch out for when writing maintainer scripts in the Policy and Developer's reference. I couldn't find anything, but I didn't consider looking at these. Thanks and regards Afif -- Afif Elghraoui | عفيف الغراوي http://afif.ghraoui.name