Package: xpilot-ng-common
Version: 1:4.7.1-2

The postinst does this:

adduser --system --home /var/run/xpilot-ng-server --group \
  --shell /bin/sh --disabled-password xpilotng >/dev/null 2>&1

If adduser fails, then the rest of the postinst fails mysteriously. This
is not good. (Adduser failed for me, since piuparts creates a chroot
that does not have shadow passwords, and there's a known bug in adduser
for system accounts in that scenario; it will be fixed soon, but that
doesn't mean ignoring errors is OK.)

Checking that adduser succeeded and failing gracefully with an error
message would be good to do.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to