tags 458742 +patch
kthxbye
Patch attached.
Regards,
--
Chris Lamb, UK chris@chris-lamb.co.uk
GPG: 0x634F9A20
Index: checks/files
===================================================================
--- checks/files (revision 1117)
+++ checks/files (working copy)
@@ -135,6 +135,10 @@
if ($file =~ m,^etc/nntpserver, ) {
tag "package-uses-obsolete-file", "$file";
}
+ # ---------------- /etc/cron.daily, etc.
+ elsif ($file =~ m,^etc/cron\.(daily|hourly|monthly|weekly)/.*\., ) {
+ tag "run-parts-cron-script-filename-contains-full-stop", "$file";
+ }
# ---------------- /etc/cron.d
elsif ($file =~ m,^etc/cron\.d/\S, and $operm != 0644) {
tag "bad-permissions-for-etc-cron.d-script", sprintf("$file %04o != 0644",$operm);
Index: checks/files.desc
===================================================================
--- checks/files.desc (revision 1117)
+++ checks/files.desc (working copy)
@@ -328,6 +328,11 @@
violation of policy.
Ref: policy 10.5
+Tag: run-parts-cron-script-filename-contains-full-stop
+Type: warning
+Info: The script in /etc/cron.<time-interval> will not be executed by
+ run-parts(8) because the filename contains a "." (full-stop).
+
Tag: bad-permissions-for-etc-cron.d-script
Type: error
Info: Files in <tt>/etc/cron.d</tt> are configuration files for cron and not
Attachment:
signature.asc
Description: PGP signature