- Move logrotate.status to /var/lib/misc following FHS/LSB and making implementing read-only root filesystem much easier. [FATE#322036] OBS-URL: https://build.opensuse.org/request/show/440124 OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=50
21 lines
621 B
Diff
21 lines
621 B
Diff
--- config.h
|
|
+++ config.h 2016/11/12 21:04:31
|
|
@@ -43,5 +43,5 @@
|
|
#endif
|
|
|
|
#ifndef STATEFILE
|
|
-#define STATEFILE "/var/lib/logrotate.status"
|
|
+#define STATEFILE "/var/lib/misc/logrotate.status"
|
|
#endif
|
|
--- logrotate.8
|
|
+++ logrotate.8 2016/11/12 21:00:05
|
|
@@ -65,7 +65,7 @@
|
|
\fB\-s\fR, \fB\-\-state <statefile>\fR
|
|
Tells \fBlogrotate\fR to use an alternate state file. This is useful
|
|
if logrotate is being run as a different user for various sets of
|
|
-log files. The default state file is \fI/var/lib/logrotate.status\fR.
|
|
+log files. The default state file is \fI/var/lib/misc/logrotate.status\fR.
|
|
|
|
.TP
|
|
\fB\-\-usage\fR
|