Apcupsd & SELinux issue on Rocky Linux 9.2

I have an issue with apcupsd on both CentOS Stream 9 (hostname: elf) and Rocky Linux 9.2 (hostname: dwarf).
These are the only two servers that I run apcupsd at the moment.

I can systemctl start/stop/restart/status, apcaccess status without any issues.

However when I turn off power and wait until battery charge goes down under MBATTCHG limit - server effectively does not shutdown.
I can see the following messages in /var/log/messages file:

Jun 25 15:51:01 elf apcupsd[1242]: Battery charge below low limit.
Jun 25 15:51:01 elf apcupsd[1242]: Initiating system shutdown!
Jun 25 15:51:01 elf apcupsd[1242]: User logins prohibited
Jun 25 15:51:01 elf dbus-broker[754]: A security policy denied :1.32 to send method call /org/freedesktop/login1:org.freedesktop.login1.Manager.SetWallMessage to org.freedesktop.login1.
Jun 25 15:51:01 elf shutdown[2537]: Failed to set wall message, ignoring: Access denied
Jun 25 15:51:01 elf dbus-broker[754]: A security policy denied :1.32 to send method call /org/freedesktop/login1:org.freedesktop.login1.Manager.HaltWithFlags to org.freedesktop.login1.
Jun 25 15:51:01 elf shutdown[2537]: Call to Halt failed: Access denied

Jun 25 16:01:06 dwarf apcupsd[3431]: Reached remaining time percentage limit on batteries.
Jun 25 16:01:06 dwarf apcupsd[3431]: Initiating system shutdown!
Jun 25 16:01:06 dwarf apcupsd[3431]: User logins prohibited
Jun 25 16:01:06 dwarf dbus-broker[1071]: A security policy denied :1.31 to send method call /org/freedesktop/login1:org.freedesktop.login1.Manager.SetWallMessage to org.freedesktop.login1.
Jun 25 16:01:06 dwarf shutdown[4613]: Failed to set wall message, ignoring: Access denied
Jun 25 16:01:06 dwarf dbus-broker[1071]: A security policy denied :1.31 to send method call /org/freedesktop/login1:org.freedesktop.login1.Manager.HaltWithFlags to org.freedesktop.login1.
Jun 25 16:01:06 dwarf shutdown[4613]: Call to Halt failed: Access denied

SELinux is ENABLED on both servers. When I disable it, issue does not arise and both servers can be shutdown as expected.
When I look at the /var/log/audit/audit.log there are lots of success & failures for apcupsd. What should I look for?

Could you please advice on what might cause this issue?

Thanks in advance for your help.

Regards

PS.
More info on configuration bellow:

Installed Packages
Name         : apcupsd
Version      : 3.14.14
Release      : 25.el9
Architecture : x86_64
Size         : 1.1 M
Source       : apcupsd-3.14.14-25.el9.src.rpm
Repository   : @System
From repo    : epel
Summary      : APC UPS Power Control Daemon
URL          : http://www.apcupsd.com
License      : GPLv2

OK. I have found some solution that works for me:
semanage permissive -a apcupsd_t
semanage permissive -a apcupsd_exec_t

after applying above changes shutdown works fine