[issue932] Leftover files in /etc

Christian Hofstaedtler bts at bts.grml.org
Tue Nov 23 12:59:17 CET 2010


New submission from Christian Hofstaedtler <ch at grml.org>:

/etc contains quite a few *.pre_fcopy, .original and .old files. I think we should 
remove them in grml-live.

----------
assignedto: mika
files: 0001-remove-backup-files-in-etc.patch
messages: 3482
nosy: ch, mika
priority: bug
status: chatting
title: Leftover files in /etc
topic: grml-live

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue932>
_____________________________________
-------------- next part --------------
>From fbcbc3795a814fb8cab7ed652ca1455118601ae4 Mon Sep 17 00:00:00 2001
From: Christian Hofstaedtler <ch at grml.org>
Date: Tue, 23 Nov 2010 12:41:56 +0100
Subject: [PATCH 1/2] remove backup files in /etc

---
 etc/grml/fai/grml/grml_cleanup_chroot |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/etc/grml/fai/grml/grml_cleanup_chroot b/etc/grml/fai/grml/grml_cleanup_chroot
index e58bbfa..dac26fb 100755
--- a/etc/grml/fai/grml/grml_cleanup_chroot
+++ b/etc/grml/fai/grml/grml_cleanup_chroot
@@ -235,7 +235,8 @@ einfo "Cleaning and removing some misc files and directories"
          /var/state/*/* /var/state/* /var/log/nessus/*                            \
          /halt /reboot /ash.static /etc/dhcpc/*.info /etc/dhcpc/resolv*           \
          /etc/*passwd- /etc/*shadow- /etc/*group- /var/spool/postfix/maildrop/*   \
-         /etc/lvm/.cache /etc/lvm/cache/.cache /etc/lvm/backup/main 2>/dev/null
+         /etc/*.old /etc/*.pre_fcopy /etc/*.original /etc/lvm/.cache              \
+         /etc/lvm/cache/.cache /etc/lvm/backup/main 2>/dev/null
   rm -rf /tmp/* /var/tmp/* /var/tmp/.* /var/backups/* /.ssh /root/.ssh /home/*/.ssh \
          /home/grml/* /home/grml/.??* /var/lib/texmf/ls-R  /var/spool/texmf/ls-R    \
          /var/lib/mysql /var/log/lilo_log.* /core* 2>/dev/null
-- 
1.7.3



More information about the Bugs-changes mailing list