Package: postman
Version: 2.0-9
postman's postinst uses adduser this way:
adduser --system --ingroup ${WEBGROUP} --home ${POSTMANDIR} \
--disabled-password --shell /bin/sh \
--gecos "Postman interdaemon's system user" \
${POSTMANUSER} >/dev/null 2>&1
If adduser fails, the sysadmin doens't see any useful error message.
What they see is this:
Creating/Updating postman user
dpkg: error processing postman (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
postman
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is quite unhelpful for debugging. Don't redirect errors, instead
avoid causing the error by testing with, say, getent whether the account
already exists.
--
Latest nerd movie: Once were hackers
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]