SOURCES: tmpwatch.sysconfig - as tmpwatch can be installed non-intentionall...

gotar gotar at pld-linux.org
Tue Dec 2 19:08:45 CET 2008


Author: gotar                        Date: Tue Dec  2 18:08:45 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- as tmpwatch can be installed non-intentionally by some package shipping
  /etc/tmpwatch/*.conf file (directory-dependant), it should be disabled by default

---- Files affected:
SOURCES:
   tmpwatch.sysconfig (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/tmpwatch.sysconfig
diff -u SOURCES/tmpwatch.sysconfig:1.5 SOURCES/tmpwatch.sysconfig:1.6
--- SOURCES/tmpwatch.sysconfig:1.5	Wed Mar 22 23:50:39 2006
+++ SOURCES/tmpwatch.sysconfig	Tue Dec  2 19:08:39 2008
@@ -1,5 +1,11 @@
 # Customized setings for tmpwatch
 
+# Comment-out the line below for enabling tmpwatch.
+# This prevents unaware removal of files in case of
+# installing this package due to rpm directory dependencies.
+
+echo "tmpwatch is disabled by default, please unlock it in /etc/sysconfig/tmpwatch"; exit 1
+
 # Options for cron tmpwatch call:
 OPTIONS="-fq"
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/tmpwatch.sysconfig?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list