Package: debhelper
Version: 13.11.4
Severity: minor

Hi,

traditionally, I have placed my #DEBHELPER# marker last in my maintainer
scripts. I think that many package maintainers do it that way.

This doesnt work if systemd-sysusers and dh_installsysusers is used
since the account will be created only in the #DEBHELPER# code, so
maintainer script code using the account needs to be after the
#DEBHELPER# marker. This is a somewhat surprising change if adduser was
used previously.

I am not even sure whether there does debhelper code exist that needs
to be "late" in the process.

Please elaborate a bit about correct / preferred placement of
#DEBHELPER# in maintainer scripts in debhelper(7) to keep other people
from falling in that trap.

Greetings
Marc

Reply via email to