Comment 7 for bug 222761

Revision history for this message
Al Grimstad (al-grimstad) wrote : Re: [Bug 222761] Re: [SRU] upsd doesn't start NOT 221737

On Tue, 2008-04-29 at 07:41 +0000, Martin Pitt wrote:
> Chuck, that looks much better already. However, the changelog says "nut
> group", whereas the patch puts the nut user into dialout. Which one is
> right and intended?

This comment suggests that a fix to the problem is adding the user "nut"
to the group "dialout". Do I understand correctly?

I had done this already to handle permissions on the port my UPS was
attached to. That is, the owner.group for /dev/ttyS0 is root.dialout and
so to get nut to work one has to do an "adduser nut dialout".

Doing an "adduser nut nut", which fixes the problem, seems to me to be a
hack, not a proper fix. I ask again, when the code was built, was the
argument "-with-user=nut" given to configure?