Bug 28608 - APC UPS config fails in MCC - pop-up window informing about Write support for users is incomplete
Summary: APC UPS config fails in MCC - pop-up window informing about Write support for...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-17 10:14 CET by christian barranco
Modified: 2024-08-22 22:59 CEST (History)
1 user (show)

See Also:
Source RPM: nut-server-1:2.7.4-6.mga8.x86_64
CVE:
Status comment:


Attachments
MCC UPS configuration start (52.30 KB, image/png)
2021-03-17 10:16 CET, christian barranco
Details
MCC error pop-up window while configuring UPS (26.77 KB, image/png)
2021-03-17 10:18 CET, christian barranco
Details
journalctl output while trying to configure the UPS (222.43 KB, text/plain)
2021-03-17 10:21 CET, christian barranco
Details

Description christian barranco 2021-03-17 10:14:43 CET
Description of problem:
Using MCC>Hardware>Set up a UPS...
The installation doesn't complete
Error pop-up window is displayed

Version-Release number of selected component (if applicable):
nut-server-1:2.7.4-6.mga8.x86_64 

How reproducible: always on my machine plugged on an UPS


Steps to Reproduce:
1. Go to MCC>Hardware>Set up a UPS...
2. Nut-server package is installed
3. Select automatic installation via USB cable. Actually, manual setup fails in the same way.
4. Installation doesn't complete successfully. Pop-up window with : Write support for users is incomplete and it lacks sime support for some extra fields... (see attachments)
5. Do note nut-server service is not started automatically. I did start it and tried again the installation; installation still doesn't complete in the same way.

With another distro (openSUSE), I have succeeded to configure the same system with APCUPSD. 
I could go that way but I propose instead to help you fixing this issue if you provide some guidance.
Comment 1 christian barranco 2021-03-17 10:16:23 CET
Created attachment 12471 [details]
MCC UPS configuration start

First window after package installation to start configuring the UPS connected on an USB port (sorry for the french langage used here).
Comment 2 christian barranco 2021-03-17 10:18:11 CET
Created attachment 12472 [details]
MCC error pop-up window while configuring UPS

This pop-up window ends the configuration process via MCC
Comment 3 christian barranco 2021-03-17 10:21:19 CET
Created attachment 12473 [details]
journalctl output while trying to configure the UPS

Complete journalctl output while trying to configure the UPS
The device is a Back-UPS_ES_550G which was apparently found by the configurator as I never entered this information during the configuration.
Comment 4 Dave Hodgins 2021-03-17 10:50:01 CET
I manually configured my apc ups years ago.

For nut-server configuration ...

# tail -n 3 /etc/ups/ups.conf
[nutdev1]
        driver = "usbhid-ups"
        port = /dev/auto

The above three lines were appended to the file. Pick any name you want where
I chose nutdev1.

# grep -v -e ^'#' -e ^$ upsd.conf
LISTEN 127.0.0.1 3493

Added the one line above.

# tail -n 7 upsd.users 
        [admin]
                password = munged
                actions = SET
                instcmds = ALL
        [upsmon]
                password  = munged
                upsmon master

I appended the above 7 lines. Pick whatever password you'd like.

For nut (the client) configuration ...
In /etc/ups/upsmon.conf uncomment the line
RUN_AS_USER ups

uncomment one of the monitor lines and change it to ...
MONITOR nutdev1@localhost 1 upsmon munged master

Don't forget to change nutdev1 in the monitor line if you chose a different
name. Change localhost to the ipaddress within the lan of the system that
the ups is connected to, if running the client on another system.

Enable and start the services under systemd.
# systemctl|grep nut
nut-driver.service                                                                                            loaded active     running   Network UPS Tools - power device driver controller                                                     
nut-monitor.service                                                                                           loaded active     running   Network UPS Tools - power device monitor and shutdown controller                                       
nut-server.service                                                                                            loaded active     running   Network UPS Tools - power devices information server

Yes mcc needs to be updated to handle usb connected aps systems.
Assigning to the Mageia tools group.

CC: (none) => davidwhodgins
Assignee: bugsquad => mageiatools

papoteur 2023-12-07 09:22:08 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=24839

Comment 5 Marja Van Waes 2024-08-22 22:59:13 CEST
We stopped supporting Mageia 8 almost 8 months ago 
https://blog.mageia.org/en/2023/12/30/mageia-8-end-of-life/

That means we also stopped fixing Mageia 8 bugs and that this bug report needs to be closed, regardless of whether it was fixed for Mageia 8 or not.

If this particular bug did not get fixed for Mageia 8, then we do regret that.

If this issue is still present in Mageia 9 or cauldron, then please reopen this report, write a comment and adjust the "Version:" field.

If you are not yet a member of one or our teams, then please consider becoming one. https://wiki.mageia.org/en/Contributing
Mageia is a community project, meaning that we, the users, make Mageia together.

The more active contributors we have, the more bug reports will get fixed.
Besides, being active in a team can be very rewarding. It was and is certainly rewarding to me :-D

Status: NEW => RESOLVED
Resolution: (none) => OLD


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