* bug#40945: Rottlog service should create filenames with a '.gz' extension @ 2020-04-28 17:36 Leo Famulari 2020-04-29 7:43 ` bug#40945: [bug #40945] " Brice Waegeneire 2020-05-06 9:19 ` bug#40945: (no subject) Brice Waegeneire 0 siblings, 2 replies; 3+ messages in thread From: Leo Famulari @ 2020-04-28 17:36 UTC (permalink / raw) To: 40945 Currently, the rottlog service in %base-services creates old rotated logs that are named like "messages.1", "messages.2", etc. However, these files are compressed with gzip, and gzip refuses to decompress them until you add '.gz' to the end of the filenames. I think this should be happening by default but for some reason is not. rottlog-configuration uses as the default configuration (file-append rottlog "/etc/rc"), and that file does call for this extension to be added... ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#40945: [bug #40945] Rottlog service should create filenames with a '.gz' extension 2020-04-28 17:36 bug#40945: Rottlog service should create filenames with a '.gz' extension Leo Famulari @ 2020-04-29 7:43 ` Brice Waegeneire 2020-05-06 9:19 ` bug#40945: (no subject) Brice Waegeneire 1 sibling, 0 replies; 3+ messages in thread From: Brice Waegeneire @ 2020-04-29 7:43 UTC (permalink / raw) To: leo; +Cc: 40945 Hello Leo, In /etc/rottlog/rc the line “extension="gz"” has for only effect to expand the meta-variable “@COMP_EXT”[0] which isn't used by default. For it to be appended to every rotated log file we need to add the line “storefile @FILENAME.@COMP_EXT” to /etc/rottlog/weekly, which specify the filename for the rotated log file[1][2]. At least that's what I understand after skimming through the documentation, I have send a patch[3] but it's untested. [0]: https://www.gnu.org/software/rottlog/manual/rottlog.html#Mandatory-RC-Variables [1]: https://www.gnu.org/software/rottlog/manual/rottlog.html#Use-of-meta_002dvariables [2]: https://www.gnu.org/software/rottlog/manual/rottlog.html#Configuration-parameters [3]: https://issues.guix.info/issue/40953 Cheers, - Brice ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#40945: (no subject) 2020-04-28 17:36 bug#40945: Rottlog service should create filenames with a '.gz' extension Leo Famulari 2020-04-29 7:43 ` bug#40945: [bug #40945] " Brice Waegeneire @ 2020-05-06 9:19 ` Brice Waegeneire 1 sibling, 0 replies; 3+ messages in thread From: Brice Waegeneire @ 2020-05-06 9:19 UTC (permalink / raw) To: 40945-done Fixed by ab034adfe86333fccd6afe476806f169e2074d69. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-06 9:20 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-04-28 17:36 bug#40945: Rottlog service should create filenames with a '.gz' extension Leo Famulari 2020-04-29 7:43 ` bug#40945: [bug #40945] " Brice Waegeneire 2020-05-06 9:19 ` bug#40945: (no subject) Brice Waegeneire
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.