Enhancement #2909

Install tmpwatch by default

Added by Filippo Carletti almost 7 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-installer
Target version:v6.6-beta1
Resolution: NEEDINFO:No

Description

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.


Related issues

Related to NethServer 6 - Feature #2788: Add bind-utils in the nethserver core package CLOSED

Associated revisions

Revision bdfbb757
Added by Giacomo Sanchietti almost 7 years ago

Update nethserver-iso groups. Refs #2909 #2788

Added following packages:
  • bind-utils
  • tracerout
  • tmpwatch

History

#1 Updated by Giacomo Sanchietti almost 7 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 7 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:
http://comments.gmane.org/gmane.linux.centos.general/147403

More work now, more work in the future. :-)

#3 Updated by Giacomo Sanchietti almost 7 years ago

More work now, more work in the future. :-)

So we put tmpwatch in nethserver-iso yum package and if someone needed it, he/she can install with yum or updating the group.
For me, this is the best result with minimum effort (even for the future).

#4 Updated by Davide Principi almost 7 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.

#5 Updated by Giacomo Sanchietti almost 7 years ago

  • Target version changed from v6.5 to v6.6-beta1

#6 Updated by Giacomo Sanchietti almost 7 years ago

  • Related to Feature #2788: Add bind-utils in the nethserver core package added

#7 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#8 Updated by Giacomo Sanchietti almost 7 years ago

  • Assignee set to Giacomo Sanchietti

#9 Updated by Giacomo Sanchietti almost 7 years ago

  • Category changed from nethserver-base to nethserver-installer

#10 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#11 Updated by Giacomo Sanchietti almost 7 years ago

  • Assignee deleted (Giacomo Sanchietti)

#12 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#13 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70
Test case
  • 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.

#14 Updated by Filippo Carletti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

[root@server ~]# rpm -q tmpwatch
tmpwatch-2.9.16-4.el6.x86_64

#15 Updated by Davide Principi over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-6.6-Beta1-x86_64 ISO

Also available in: Atom PDF