| Summary: | nut: Problems encountered when activating services | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Alex Loginov <loginov_alex> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | Mr.DeaDSouL, davidwhodgins, guillomovitch, jani.valimaa, mhrambo3501, sysadmin-bugs, thierry.vignaud |
| Version: | 5 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | has_procedure advisory MGA5-64-OK | ||
| Source RPM: | nut | CVE: | |
| Status comment: | |||
|
Description
Alex Loginov
2014-11-29 08:29:46 CET
It's not apparent what the problem is. CC:
(none) =>
guillomovitch, thierry.vignaud This package has no maintainer. Would you like to investigate and fix it Alex? Whiteboard:
(none) =>
MGA5TOO Just ran into this myself with nut-server-2.6.5-15.mga5. The problem is that
nut-driver.service starts, but then stops immediately, removing the files it
creates in /var/state/ups/
This is caused by /lib/systemd/system/nut-driver.service having the line
StopWhenUnneeded=yes
Changing the value from yes to no fixes the problem, once the rest of the
nut configuration has been correctly setup.
In ups.conf I have ...
[nutdev1]
driver = "usbhid-ups"
port = "auto"
In upsd.conf I have ...
LISTEN 127.0.0.1 3493
(ipv6 doesn't work here, so I have that line commented out).
In upsd.users I have ...
[admin]
password = munged
actions = SET
instcmds = ALL
[upsmon]
password = munged
upsmon master
I can then use commands such as "upsc nutdev1".CC:
(none) =>
davidwhodgins Assigning to all packagers collectively since nut has no registered maintainer. Assignee:
bugsquad =>
pkg-bugs
Mubarak Alrashidi
2017-03-30 16:37:59 CEST
CC:
(none) =>
Mr.DeaDSouL Patched package 2.6.5-18 uploaded for cauldron. Patched package 2.6.5-16 uploaded for Mageia 5. Advisory: ======================== Updated nut package fixes a bug where the nut-driver.service starts but stops immediately (bug#14687). Updated packages in core/updates_testing: ======================== lib64upsclient1-2.6.5-16.mga5 nut-2.6.5-16.mga5 nut-cgi-2.6.5-16.mga5 nut-debuginfo-2.6.5-16.mga5 nut-devel-2.6.5-16.mga5 nut-server-2.6.5-16.mga5 from nut-2.6.5-16.mga5.src.rpm Test procedure: https://bugs.mageia.org/show_bug.cgi?id=6282#c4 CC:
(none) =>
mrambo Thanks! Advisory added to svn, tested on Mageia 5 x86_64, validating the update. Keywords:
(none) =>
validated_update An update for this issue has been pushed to the Mageia Updates repository. http://advisories.mageia.org/MGAA-2017-0015.html Status:
NEW =>
RESOLVED Dunno if this is different thing, but found this upstream bug: https://github.com/networkupstools/nut/issues/200 The fix was a bit different. CC:
(none) =>
jani.valimaa |