Bug 6007 - nut fails to create group upsmon in time
Summary: nut fails to create group upsmon in time
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: nut (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Michael Shigorin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-02 19:45 MSK by Michael Shigorin
Modified: 2005-08-30 02:36 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2005-02-02 19:45:22 MSK
# apt-get install nut
[...]
Preparing...                
################################################################### [100%]
warning: group upsmon does not exist - using root
warning: group upsmon does not exist - using root
warning: group upsmon does not exist - using root
1: nut                      
################################################################### [100%]
Comment 1 Michael Shigorin 2005-02-02 19:45:41 MSK
PS: reinstall goes on smoothly
Comment 2 Dmitry V. Levin 2005-02-03 01:22:10 MSK
Local misconfiguration?

$ rpmquery -p --qf '%{PREIN}\n' nut-2.0.1-alt0.1.i586.rpm 
if [ $1 -gt 1 -a -x /sbin/upsmon -a ! -d /etc/nut/certs ]; then
        echo "Upgrading from incompatible nut < 1.4.1-alt2" >&2
        [ -x /etc/rc.d/init.d/upsmon ] && service upsmon condstop ||:
        [ -x /etc/rc.d/init.d/upsd ] && service upsd condstop ||:
        if [ ! -d "/etc/nut" -o -e "/etc/nut".bak ] ||
           ! /bin/mv -v "/etc/nut" "/etc/nut".bak; then
                echo "Automatic upgrade failed." >&2
                exit 1
        fi
        echo "Please update config files manually." >&2
fi
/usr/sbin/groupadd -r -f upsmon
/usr/sbin/useradd -r -g upsmon -d / -s /dev/null \
        -c "NUT monitoring daemon" -n upsmon >/dev/null 2>&1 ||:
Comment 3 Michael Shigorin 2005-02-03 09:50:27 MSK
Was quite amused to see the bug getting assigned to you :)

Still it's quite plain sisyphus system, might try in an isolated environment.
Comment 4 Michael Shigorin 2005-08-30 02:24:50 MSD
closing
Comment 5 Michael Shigorin 2005-08-30 02:36:14 MSD
closing