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

Bug#684732: unblock: nut/2.6.4-2



I missed to add...

2012/11/26 Arnaud Quette <aquette.dev@gmail.com>
Hi Michael,


2012/11/26 Michael Biebl <biebl@debian.org>
On 26.11.2012 01:58, Michael Biebl wrote:
>>>>>> +    if [ -d /var/run/nut ] ; then
>>>>>> +        chown root:nut /var/run/nut
>>>>>> +        chmod 770 /var/run/nut
>>>>>> +    fi

this specific snippet is indeed redundant with init scripts, and so not useful anymore since the creation at startup time will take care of both the directory creation and permissions settings.

It may be removed, though it doesn't harm.
 
> d /var/run/nut 0770 nut nut - -

A small bug slipped through, the correct config would be

d /var/run/nut 0770 root nut - -

thanks for pointing this. this will complete nut systemd support.
I'll also be looking at it.


cheers,
Arnaud
--
Engineering Linux/Unix Expert - Opensource Solutions Lead - Eaton - http://opensource.eaton.com
NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr


Reply to: