• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Anacron job 'cron.daily' /etc/cron.daily/logrotate errors

danami

Silver Pleskian
Username: danami

TITLE

Anacron job 'cron.daily' /etc/cron.daily/logrotate errors

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Product version: Plesk Obsidian 18.0.34.0
OS version: CentOS 7.9.2009 x86_64
Build date: 2021/03/05 11:00
Revision: f58e579d5ba4e92b8ff46d1ee497d895f9d2d366

PROBLEM DESCRIPTION

After upgrading to 18.0.34.0 we get this daily cron error email (we are seeing these errors on multiple servers that have been updated):

Code:
/etc/cron.daily/logrotate:
ls: cannot open directory /usr/lib64/httpd/modules: Permission denied
failed to open semaphore file /usr/local/psa/var/utilities.sem: Permission denied
System error 13: Permission denied

This is likely a bug in Plesk's SELinux policies as this is in the audit log.

Code:
grep utilities.sem /var/log/audit/audit.log
type=AVC msg=audit(1615887043.707:28126763): avc:  denied  { write } for  pid=2423 comm="packagemng" name="utilities.sem" dev="dm-0" ino=319287097 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_t:s0 tclass=file permissive=0

STEPS TO REPRODUCE

Update to Plesk Obsidian 18.0.34.0

ACTUAL RESULT

After upgrading to 18.0.34.0 we get cron error email

EXPECTED RESULT

logrorate should not send any errors

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Back
Top