You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Cluster with 3 nodes. When running the command /usr/local/pf/bin/cluster/sync --as-master on the "master" node , the command finishes with no error. However on the other 2 nodes there are warnings like :
pf2 httpd.webservices-docker-wrapper[1050842]: httpd.webservices(4954) WARN: [mac:unknown] Problem trying to run command: sudo PF_GID=995 PF_UID=996 /usr/local/pf/bin/pfcmd fixpermissions file /usr/local/pf/conf/security_events.conf called from fix_file_permissions. Child exited with non-zero value 1 (pf::util::safe_pf_run)
The files are getting synced eventually, however there is this warning for each of the files that getting synced.
When running the command manually : sudo PF_GID=995 PF_UID=996 /usr/local/pf/bin/pfcmd fixpermissions file /usr/local/pf/conf/security_events.conf
The output is the expected one : Fixed permissions on file /usr/local/pf/conf/security_events.conf
To Reproduce
Steps to reproduce the behavior:
Go to master node and run /usr/local/pf/bin/cluster/sync --as-master
Check packetfence.log on the other 2 nodes
Expected behavior
No warnings
Fresh installation with PacketFence-ISO-v14.0.0.iso
OS: Debian 12, PF 14
The text was updated successfully, but these errors were encountered:
Describe the bug
Cluster with 3 nodes. When running the command /usr/local/pf/bin/cluster/sync --as-master on the "master" node , the command finishes with no error. However on the other 2 nodes there are warnings like :
pf2 httpd.webservices-docker-wrapper[1050842]: httpd.webservices(4954) WARN: [mac:unknown] Problem trying to run command: sudo PF_GID=995 PF_UID=996 /usr/local/pf/bin/pfcmd fixpermissions file /usr/local/pf/conf/security_events.conf called from fix_file_permissions. Child exited with non-zero value 1 (pf::util::safe_pf_run)
pf2 httpd.webservices-docker-wrapper[1050842]: httpd.webservices(4954) INFO: [mac:unknown] Successfully downloaded configuration /usr/local/pf/conf/security_events.conf from pf1 (pf::api::notify_configfile_changed)
The files are getting synced eventually, however there is this warning for each of the files that getting synced.
When running the command manually : sudo PF_GID=995 PF_UID=996 /usr/local/pf/bin/pfcmd fixpermissions file /usr/local/pf/conf/security_events.conf
The output is the expected one : Fixed permissions on file /usr/local/pf/conf/security_events.conf
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No warnings
The text was updated successfully, but these errors were encountered: