• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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