[Bug 222761] Re: [SRU] upsd doesn't start NOT 221737
Martin Pitt
martin.pitt at ubuntu.com
Mon Apr 28 15:16:45 BST 2008
+ # Make sure that the nut group actually exists
+ adduser nut nut
First, the comment and command do not match. This will *not* create a
nut group. Second, this is missing a test whether both the user and the
group have a system ID (100 <= id < 500). Third, this call looks really
weird in the first place. How is this system user created? The standard
way to do this is "adduser --system nut --group --no-create-home", which
will take care of properly creating the system group as well.
--
[SRU] upsd doesn't start NOT 221737
https://bugs.launchpad.net/bugs/222761
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in ubuntu.
More information about the Ubuntu-server-bugs
mailing list