Linux 相关文章
The fix for logrotate error: Read-only file system
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