Install tmpwatch by default
The tmpwatch package runs tmpwatch to clean up tmp files.
tmpwatch is installed as a dependency on many configurations (mail server, print server), but not all.
I'd like to have my systems clean, I propose to install tmpwatch by default on all systems.
It is a mandatory package in centos base.
#1 Updated by Giacomo Sanchietti almost 5 years ago
I don't like this approach: tmpwatch should be required only from packages that really need it, for example ntopng.
We can put tmpwatch inside the
nethserver-iso for the next release (6.6?) but this modification will not affect already installed machines unless the administrator use the following command:
yum update @nethserver-iso
#2 Updated by Filippo Carletti almost 5 years ago
I'm fine with explicit dependencies, but finding and installing all of them could be time consuming and prone to errors.
AFAIK, upstream considers tmpwatch "installed by default". See https://bugzilla.redhat.com/show_bug.cgi?id=12771
In the future, we won't need tmpwatch and should remove all dependencies:
More work now, more work in the future. :-)
#4 Updated by Davide Principi almost 5 years ago
I agree with Giacomo: let's put it in the
netheserver-iso group. I prefer the implicit assumption of having a list of packages from centos-minimal and nethserver-iso than setting a fake dependency in a RPM!
To fix existing systems: we still have to design the upgrade path to 6.6. This is a requirement candidate.
#13 Updated by Giacomo Sanchietti almost 5 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
- Do a clone of nethserver-devbox repository, build the ISO and use it to install a new machine
- Check tmpwatch is installed
Note: latest NON public build of ISO can be found here: http://git.nethesis.it/install/nethserver/iso/NethServer-6.6beta1-x86_64.iso
If someone want to try it, feel free to ask.