> For instance, just because your /var/cache maybe full, do you want to
> arbitrarily purge /var/log files?
>
> Not for an instant do I suggest that such complexity is insurmountable;
> rather, it should be clear that this is far more involved and requires a
> new paradigm, other than:
>
> lrp_SC_DEL_L1="/var/log/*[4-9].gz"
> lrp_SC_DEL_L2="/var/log/*[1-3].gz"
> lrp_SC_DEL_L3="/var/log/*.gz"
> lrp_SC_DEL_L4="/var/log/*.0"
> lrp_SC_DEL_L5="/var/log/wtmp"
>
> Also, do not forget, I do not recommend my solution for its
> completeness; rather, I recommend it because it more accurately
> addresses the *default* DCD distribution, can be done by changing one
> (1) line in the current distribution and does *not* require considerable
> development and testing time.

I will at least apply the one line fix in the next release.  For the future,
I'd like to see support for a configuration directory.  There would be some
default entries, while add-on packages could drop entries into the
"/etc/purge.d" (or whatever) directory, with customizations for any large
temporary files the particular package generates.

Long Term:
I'd also like to see the configuration directory approach taken to logrotate
(similar to my RedHat distributions, which already do this), and even inetd
(switch to xinetd?).  Using files in a configuration directory makes the
seperation of configuration information into packages much easier, ideally
avoiding any pre/post package install/remove configuration required (or at
least limiting it as much as possible).

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to