Description of problem: During recent power outage, apcupsd failed to perform orderly shutdowm. excerpt from logs: Dec 29 08:38:26 minipc apcupsd[660]: Power failure. Dec 29 08:38:32 minipc apcupsd[660]: Running on UPS batteries. Dec 29 08:41:25 minipc apcupsd[660]: Battery power exhausted. Dec 29 08:41:25 minipc apcupsd[660]: Initiating system shutdown! Dec 29 08:41:25 minipc apcupsd[660]: User logins prohibited Dec 29 08:41:25 minipc audit[516]: USER_AVC pid=516 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg=' avc: denied { send_msg } for scontext=system_u:system_r:apcupsd_t:s0 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=dbus permissive=0#012 exe="/usr/bin/dbus-broker" sauid=81 hostname=? addr=? terminal=?' Dec 29 08:41:25 minipc apcupsd[694]: Failed to set wall message, ignoring: Access denied Dec 29 08:41:25 minipc audit[516]: USER_AVC pid=516 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied { send_msg } for scontext=system_u:system_r:apcupsd_t:s0 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=dbus permissive=0#012 exe="/usr/bin/dbus-broker" sauid=81 hostname=? addr=? terminal=?' Dec 29 08:41:25 minipc apcupsd[694]: Failed to halt system via logind: Access denied Work around: #] semanage permissive -a apcupsd_t
FEDORA-2023-e672cff7c6 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e672cff7c6
FEDORA-2023-e672cff7c6 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e672cff7c6` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e672cff7c6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-e672cff7c6 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.