Plesk 11.5.30 Update #32, CentOS 6.5, x86_64
Today i deployed an additional SELinux module to all our CentOS 6.5 machines by Puppet to fix a small problem with our monitoring agent. All machines worked fine, except all Plesk machines.
So i tried to updated selinux-policy and selinux-policy-targeted packages first. I received the following errors :
This was already mentioned in another forum post. There the result was that these errors do not affect other policies. But they do. Not one policy was updated. I compared it with another machine which works fine:
The *.pp.bz2 files are from the same date and time (Mar 25 11:38) on both machines (these are the files the packages installs, so, not surprising)
But if i look into "/etc/selinux/targeted/modules/active/modules/" (the folder where the active policy files are located), the files in there should have the time when the package was installed. In my case "Apr 4 10:34". But on the Plesk machines they still have the old date after the update of the SElinux packages (Mar 14 13:58, last time the packages were updated i guess). So, they where not updated at all.
Any ideas how to fix that?
Thanks
Urs
Today i deployed an additional SELinux module to all our CentOS 6.5 machines by Puppet to fix a small problem with our monitoring agent. All machines worked fine, except all Plesk machines.
So i tried to updated selinux-policy and selinux-policy-targeted packages first. I received the following errors :
Code:
libsemanage.semanage_direct_commit: WARNING: genhomedircon is disabled.
See /etc/selinux/semanage.conf if you need to enable it.
/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/qmail/queue(/.*)? (system_u:object_r:qmail_spool_t:s0 and system_u:object_r:mail_spool_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/qmail/control(/.*)? (system_u:object_r:qmail_etc_t:s0 and system_u:object_r:etc_mail_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/qmail/bin/tcp-env (system_u:object_r:qmail_tcp_env_exec_t:s0 and system_u:object_r:sendmail_exec_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/qmail/bin/qmail-smtpd (system_u:object_r:qmail_smtpd_exec_t:s0 and system_u:object_r:sendmail_exec_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Invalid argument
libsemanage.semanage_install_active: setfiles returned error code 1.
semodule: Failed!
This was already mentioned in another forum post. There the result was that these errors do not affect other policies. But they do. Not one policy was updated. I compared it with another machine which works fine:
The *.pp.bz2 files are from the same date and time (Mar 25 11:38) on both machines (these are the files the packages installs, so, not surprising)
But if i look into "/etc/selinux/targeted/modules/active/modules/" (the folder where the active policy files are located), the files in there should have the time when the package was installed. In my case "Apr 4 10:34". But on the Plesk machines they still have the old date after the update of the SElinux packages (Mar 14 13:58, last time the packages were updated i guess). So, they where not updated at all.
Any ideas how to fix that?
Thanks
Urs