Is nobody using pm-suspend or pm-hibernate with upsmon? Or any other shutdown command besides the default one?

Thanks,
Jan

On 22.4.2016 4:43, [email protected] wrote:
Hi,

While using pm-suspend script as the SHUTDOWNCMD, upsmon does not correctly handle its returned values and leaves UPS in the "ups.status: FSD OL CHRG" state forever.

This is with upsmon 2.6.5 from official Fedora Project packager. Box running Centos 6.7.

Initially, upsmon would not execute pm-suspend at all. Creation of a custom SELinux module or changing to Permissive mode allows the box to suspend, but UPS is never power-cycled afterwards.

After resuming, upsmon throws "parent: Unable to call shutdown command: /usr/sbin/pm-suspend" to syslog and crashes.

Similar issue was discussed here: https://lists.alioth.debian.org/pipermail/nut-upsuser/2013-December/008711.html - but now we can consider SELinux eliminated from the equation. With the default "shutdown -h" everything works fine.

What else can be tried?

Thanks,
Jan


_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to