[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684732: unblock: nut/2.6.4-2



On Sat, Sep 29, 2012 at 21:12:09 +0200, Laurent Bigonville wrote:

> Le Sat, 29 Sep 2012 20:56:11 +0200,
> Julien Cristau <jcristau@debian.org> a écrit :
> 
> > 
> > why is the last bit needed?
> > 

I didn't get a reply to the above (why you need adduser nut nut).

> > +    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?
> 
> nut should be able to create sockets in that directory.
> 
> This is probably a bit redundant as this is also done in the initscript.
> 
Then I'd prefer to not have it in postinst.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: