Bug#856438: [pkg-gnupg-maint] Bug#856438: Add logcheck filters for systemd “Listening on GnuPG…” & “Closed GnuPG…” messages

2017-02-28 Thread Michael[tm] Smith
Hi Daniel,

Daniel Kahn Gillmor , 2017-02-28 18:30 -0800:
> 
> On Tue 2017-02-28 18:17:08 -0800, Michael[tm] Smith wrote:
> > Per discussion at 
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850982#75
> > please consider adding the following to 
> > /etc/logcheck/ignore.d.server/systemd
> > as part of the gnupg-agent package install.
> 
> thanks for this suggestion, Michael.  I'm not sure why you're suggesting
> /etc/logcheck/ignore.d.server/systemd though.
> 
> why .../systemd in particular?  shouldn't it be .../gpg-agent ?

Yeah, no reason I know of why it must be in .../systemd

The reason I had suggested .../systemd was just that I noticed that on my system
at least, all systemd filter rules are in /etc/logcheck/ignore.d.server/systemd

So I suppose I wrongly just simply assumed the logcheck convention was to
put filters for all systemd messages in that file.

I don’t otherwise know what conventions are used by package maintainers for
deciding what filenames to put logcheck filters in, but intuitively I guess
it’d seem to make the most sense to use the same name as whatever
package the filters are specific too.

In other words, yeah, .../gpg-agent :)

-- 
Michael[tm] Smith https://sideshowbarker.net/


signature.asc
Description: PGP signature


Bug#856438: [pkg-gnupg-maint] Bug#856438: Add logcheck filters for systemd “Listening on GnuPG…” & “Closed GnuPG…” messages

2017-02-28 Thread Daniel Kahn Gillmor
On Tue 2017-02-28 18:17:08 -0800, Michael[tm] Smith wrote:
> Per discussion at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850982#75
> please consider adding the following to /etc/logcheck/ignore.d.server/systemd
> as part of the gnupg-agent package install.

thanks for this suggestion, Michael.  I'm not sure why you're suggesting
/etc/logcheck/ignore.d.server/systemd though.

why .../systemd in particular?  shouldn't it be .../gpg-agent ?

--dkg



Bug#856438: Add logcheck filters for systemd “Listening on GnuPG…” & “Closed GnuPG…” messages

2017-02-28 Thread Michael[tm] Smith
Package: gnupg-agent
Version: 2.1.18-3
Severity: wishlist

Per discussion at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850982#75
please consider adding the following to /etc/logcheck/ignore.d.server/systemd
as part of the gnupg-agent package install.

^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG cryptographic agent and passphrase cache\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG network certificate management daemon\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG cryptographic agent and passphrase cache \(restricted\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG cryptographic agent \(access for web browsers\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG cryptographic agent \(ssh-agent emulation\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
network certificate management daemon\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
cryptographic agent and passphrase cache\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
cryptographic agent and passphrase cache \(restricted\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
cryptographic agent \(ssh-agent emulation\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
cryptographic agent \(access for web browsers\)\.$

I’ve also attached the filters in a separate file.

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

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

Versions of packages gnupg-agent depends on:
ii  libassuan0  2.4.3-2
ii  libc6   2.24-9
ii  libgcrypt20 1.7.6-1
ii  libgpg-error0   1.26-2
ii  libnpth01.3-1
ii  libreadline77.0-2
ii  pinentry-curses [pinentry]  1.0.0-2

Versions of packages gnupg-agent recommends:
ii  gnupg  2.1.18-3

Versions of packages gnupg-agent suggests:
pn  dbus-user-session  
pn  libpam-systemd 
pn  pinentry-gnome3
pn  scdaemon   

-- debconf-show failed
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG cryptographic agent and passphrase cache\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG network certificate management daemon\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG cryptographic agent and passphrase cache \(restricted\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG cryptographic agent \(access for web browsers\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Listening on 
GnuPG cryptographic agent \(ssh-agent emulation\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
network certificate management daemon\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
cryptographic agent and passphrase cache\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
cryptographic agent and passphrase cache \(restricted\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
cryptographic agent \(ssh-agent emulation\)\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd\[[[:digit:]]+\]: Closed GnuPG 
cryptographic agent \(access for web browsers\)\.$