On Mon, Aug 13, 2012 at 15:36:14 +0200, Laurent Bigonville wrote: > Package: release.debian.org > Severity: normal > User: release.debian.org@packages.debian.org > Usertags: unblock > > Hi, > > Please unblock package nut > + if ! getent group nut >/dev/null; then + addgroup --quiet --system nut + fi + if ! getent passwd nut >/dev/null; then + adduser --quiet --system --ingroup nut --home /var/lib/nut --no-create-home nut + elif ! groups nut | grep -qw nut; then + adduser nut nut + fi why is the last bit needed? + if [ -d /var/run/nut ] ; then + chown root:nut /var/run/nut + chmod 770 /var/run/nut + fi why does the nut user need write access there? And why is this created in postinst instead of an init script? Cheers, Julien
Attachment:
signature.asc
Description: Digital signature