0 0 votes
Article Rating

the cause is the ProtectSystem hardening option is set to full in the /lib/systemd/system/logrotate.service file.

the proper way to fix the problem is to add the path (which caused the read-only problem) , as writable directory.

add this into the logrotate.service file:

ReadWritePaths = /the/path


Chris

Chris

Just me, need more info?

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x