From: Bruce S. <bw...@ar...> - 2006-06-08 19:37:47
|
> > [As someone pointed out to me privately] Dan's Guardian is missing a > > bunch of config files in /etc/dansguardian/. So I modified the install > > script to copy the tmp /etc directory over. No problem, except Dan's > > config directory has a LOT of files using almost 700KB! > > > > Do we want that in /etc, taking up memory all the time? Or should we > > tar it up and stick it on the CD for people who want to use Dan's? > > (if so, where on the CD should it go?) > > I'd suggest /config/ as we already have etc.tar.bz2 there. What if the init.d > start script extracs /config/etc-dansguarding.tar.bz2 over /etc/ if it finds no > config directory /etc/dansguardian/. This way only people activating > dansguardian would have the configfiles in place and others would save the > space. If I think again it might be better to have some command, eg. > "extract-config" which expects eg. "dansguardian" (and set $PACKGAE) as command > line option and then extracts /config/etc-$PACKAGE.tar.bz2 over /etc/. Maybe > this command checks /etc/sysconfig/config for activated packages and only > extracts those. A never ending story.... Maybe there should be a new menu in `setup` to extract the /etc files for space-intensive packages (separate menu choices per package)? Looking at the disk usage on /etc now, I see two other large directories that have potential for moving their /etc files to /config/*.tar.gz. One is snort. The other is 'l7-protocols' ... no idea what it is ... I see l7-protocols is created in patch-o-matic, but I'm not sure what package(s) use it. Is it something that can be moved too? It's currently the largest subdirectory under /etc (about 1MB). - BS |