summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
authorJermain Horsman <jermain.horsman@nedap.com>2023-06-22 16:04:52 +0200
committerSteve Sakoman <steve@sakoman.com>2023-07-07 04:30:26 -1000
commite638d11abc1502b33055ca4bb3f05bfa1d3dfd8f (patch)
treef6d60a67d29182c56eccaba2a6bcdc0656839f83 /scripts/lib/devtool/standard.py
parent2f2c3b14b702196947daa59e31e9d63caf6dcfca (diff)
downloadpoky-e638d11abc1502b33055ca4bb3f05bfa1d3dfd8f.tar.gz
logrotate: Do not create logrotate.status file
The first time logrotate runs it reports an error: error: state file /var/lib/logrotate.status is world-readable and thus can be locked from other unprivileged users. Skipping lock acquisition... This check was added with https://github.com/logrotate/logrotate/commit/1f76a381e2caa0603ae3dbc51ed0f1aa0d6658b9 This error is only reported once as logrotate removes the world-readable permissions if this happens. Since logrotate creates this file if it does not exist, there should be no need to install it in the first place. (From OE-Core rev: d081071c99a814e43cdd2c3ca92892c10b631692) Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8169cd2d18f1569e4357f082adbef492710e8c36) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
0 files changed, 0 insertions, 0 deletions