commit:     daf74e194f87e29af1807990abe37dab701e4afd
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 10 19:59:15 2023 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Nov 10 20:08:05 2023 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=daf74e19

catalyst.conf: change dangerous port_logdir example

If this existing example was uncommented, it would trigger a cleanup of
any files older than 7d in the currently running stage build dir,
causing catastrophic failure.

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 etc/catalyst.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/catalyst.conf b/etc/catalyst.conf
index 8745d0b5..867c7153 100644
--- a/etc/catalyst.conf
+++ b/etc/catalyst.conf
@@ -66,9 +66,9 @@ options = [
 ]
 
 # port_logdir is where all build logs will be kept. This dir will be 
automatically cleaned
-# of all logs over 30 days old. If left undefined the logs will remain in the 
build directory
+# of ALL files over 7 days old. If left undefined the logs will remain in the 
build directory
 # as usual and get cleaned every time a stage build is restarted.
-# port_logdir = "/var/tmp/catalyst/tmp"
+# port_logdir = "/var/tmp/catalyst/logs"
 
 # var_tmpfs_portage will mount a tmpfs for /var/tmp/portage so building takes 
place in RAM
 # this feature requires a pretty large tmpfs ({open,libre}office needs ~8GB to 
build)

Reply via email to