Public bug reported:

Ubuntu 22.04
logrotate 3.19.0-1ubuntu1.1

Every hour, I receive this wrong message:

Subject:        Cron <root@<hostname>>    cd / && run-parts --report 
/etc/cron.hourly
/etc/cron.hourly/logrotate:
error: state file /var/lib/logrotate/status is world-readable and thus can be 
locked from other unprivileged users. Skipping lock acquisition...

despite:

# ls -al /var/lib/logrotate
total 40
drwxr-x---  2 root root  4096 Jun  5 17:17 .
drwxr-xr-x 66 root root  4096 Jun  3 20:02 ..
-rw-r-----  1 root root 31974 Jun  5 17:17 status

** Affects: logrotate (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Ubuntu 22.04
  logrotate 3.19.0-1ubuntu1.1
  
  Every hour, I receive this wrong message:
+ 
+ Subject:      Cron <root@<hostname>>    cd / && run-parts --report 
/etc/cron.hourly
  /etc/cron.hourly/logrotate:
  error: state file /var/lib/logrotate/status is world-readable and thus can be 
locked from other unprivileged users. Skipping lock acquisition...
  
  despite:
  
  # ls -al /var/lib/logrotate
  total 40
  drwxr-x---  2 root root  4096 Jun  5 17:17 .
  drwxr-xr-x 66 root root  4096 Jun  3 20:02 ..
  -rw-r-----  1 root root 31974 Jun  5 17:17 status

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to logrotate in Ubuntu.
https://bugs.launchpad.net/bugs/1977689

Title:
  Wrong error msg: "state file /var/lib/logrotate/status is world-
  readable" although it is not

Status in logrotate package in Ubuntu:
  New

Bug description:
  Ubuntu 22.04
  logrotate 3.19.0-1ubuntu1.1

  Every hour, I receive this wrong message:

  Subject:      Cron <root@<hostname>>    cd / && run-parts --report 
/etc/cron.hourly
  /etc/cron.hourly/logrotate:
  error: state file /var/lib/logrotate/status is world-readable and thus can be 
locked from other unprivileged users. Skipping lock acquisition...

  despite:

  # ls -al /var/lib/logrotate
  total 40
  drwxr-x---  2 root root  4096 Jun  5 17:17 .
  drwxr-xr-x 66 root root  4096 Jun  3 20:02 ..
  -rw-r-----  1 root root 31974 Jun  5 17:17 status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1977689/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to