Bug 36938 - Nut is compiled with wrong group
Nut is compiled with wrong group
Product: Red Hat Linux
Classification: Retired
Component: nut (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2001-04-20 19:21 EDT by Andreas Thienemann
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-20 19:21:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andreas Thienemann 2001-04-20 19:21:19 EDT
The network ups tools are designed to drop root privileges before opening the serial port to communicate
with the ups.
Thus the nut package has to be told during compile time as which user and group it has to open the serial
Unfortunately it seems that nut was compiled to open the port as nobody/nogroup.
This results in two problems:

 - The group nogroup does not exist ("getgrnam() failed: group nogroup does not exist" is shown when trying to start nut)
 - The serial terminals /dev/ttyS0 etc. are owned by root/uucp. Thus nut should be compiled to run as group uucp.
Comment 1 Ngo Than 2001-04-22 11:53:21 EDT
It's fixed in nut-0.44.3-1. You find it in rawhide.

Note You need to log in before you can comment on or make changes to this bug.