Summary: | nut fails to create group upsmon in time | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Michael Shigorin <mike> |
Component: | nut | Assignee: | Michael Shigorin <mike> |
Status: | CLOSED NOTABUG | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P2 | CC: | mike |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Michael Shigorin
2005-02-02 19:45:22 MSK
PS: reinstall goes on smoothly 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 ||: Was quite amused to see the bug getting assigned to you :) Still it's quite plain sisyphus system, might try in an isolated environment. closing closing |