[Nut-upsuser] upsmon errors with /usr/sbin/pm-suspend as the shutdown command

holomek at seznam.cz holomek at seznam.cz
Fri Apr 29 23:01:28 UTC 2016


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, holomek at seznam.cz 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
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser



More information about the Nut-upsuser mailing list