Package: logwatch
Version: 7.4.3+git20161207-2
Severity: normal
Tags: patch

ecryptfs has PAM integration which attempts to automount an encrypted
directory, ~/.Private, over ~/Private automatically on session
creation, if proper credentials are available.  For cron, those
credentials may not be available and it logs the harmless messages

May 11 09:10:01 hostname cron[9499]: Signature not found in user keyring
May 11 09:10:01 hostname cron[9499]: Perhaps try the interactive 
'ecryptfs-mount-private'

If you have cron jobs which run frequently, all of these lines end up
in the logwatch output.  Trivial patch attached to cause logwatch to
ignore them.

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages logwatch depends on:
pn  perl:any                        <none>
ii  postfix [mail-transport-agent]  3.1.4-4

Versions of packages logwatch recommends:
ii  libdate-manip-perl   6.57-1
ii  libsys-cpu-perl      0.61-2+b1
ii  libsys-meminfo-perl  0.99-1

Versions of packages logwatch suggests:
pn  fortune-mod  <none>

-- no debconf information
--- /usr/share/logwatch/scripts/services/cron   2017-01-21 11:44:03.000000000 
-0500
+++ cron        2017-05-10 15:52:18.273336770 -0400
@@ -41,7 +41,8 @@
       ($ThisLine =~ /loading table .*/) or
       ($ThisLine =~ /void Inotify::Remove\(InotifyWatch\*\): removing watch 
failed/) or
       ($ThisLine =~ /error: \(22\) Invalid argument/) or
-      ($ThisLine =~ /pam_unix\(crond:session\): session (?:opened|closed) for 
user/)
+      ($ThisLine =~ /pam_unix\(crond:session\): session (?:opened|closed) for 
user/) or
+      ($ThisLine =~ /Signature not found in user keyring|Perhaps try the 
interactive/)
    ) {
       # Ignore
    } elsif (

Reply via email to