Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package puppet Version 5.5.10-3 adds a tiny cron.daily job which cleans-up the /var/lib/puppet/reports folder to avoid that a puppet-master server gets its HDD full, which potentially could be very harmful for a deployment. Please also let me know if the stable release team agrees it would be wise to also add such cron job in Stretch, as I would also like to fix it there. It could be controversial if you think that's a behavior change, so please tell me your thoughts. Debdiff attached. unblock puppet/5.5.10-3 -- System Information: Debian Release: 10.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru puppet-5.5.10/debian/changelog puppet-5.5.10/debian/changelog --- puppet-5.5.10/debian/changelog 2019-03-12 11:51:05.000000000 +0100 +++ puppet-5.5.10/debian/changelog 2019-06-06 10:24:27.000000000 +0200 @@ -1,3 +1,12 @@ +puppet (5.5.10-3) unstable; urgency=medium + + * Team upload. + * Add a cron.daily job to clean-up /var/lib/puppet/reports for any report + that is older than 30 days to avoid filling-up a puppet-master hard drive + until it's full (Closes: #930033). + + -- Thomas Goirand <z...@debian.org> Thu, 06 Jun 2019 10:24:27 +0200 + puppet (5.5.10-2) unstable; urgency=medium * Make sure oj does not use BigDecimals on data load (Closes: #923976) diff -Nru puppet-5.5.10/debian/puppet-master.cron.daily puppet-5.5.10/debian/puppet-master.cron.daily --- puppet-5.5.10/debian/puppet-master.cron.daily 1970-01-01 01:00:00.000000000 +0100 +++ puppet-5.5.10/debian/puppet-master.cron.daily 2019-06-06 10:24:27.000000000 +0200 @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ -e /var/lib/puppet/reports ] ; then + find /var/lib/puppet/reports -maxdepth 2 -type f -ctime +30 -delete +fi + +exit 0