Bug#900388: parcimonie: systemd user journal bloat: parcimonie.desktop[]: gpg: key "" not found: Not found

2018-06-30 Thread intrigeri
hi Paul,

Paul Wise:
> I noticed that parcimonie bloats the systemd user journal with lots of
> fingerprints of keys that could not be found. On spinning rust with a
> large keyring this is a significant amount of I/O bandwidth, extra disk
> space usage and a noticeable amount of journald and rsyslog CPU usage.
> There is no reason for parcimonie to be logging not found keys, since
> having keys in one's keyring that are not on the public keyservers is
> a legitimate use-case that parcimonie users are likely to be doing.

Agreed. I'm testing a tentative fix as we speak.

Cheers,
-- 
intrigeri



Bug#900388: parcimonie: systemd user journal bloat: parcimonie.desktop[]: gpg: key "" not found: Not found

2018-05-29 Thread Paul Wise
Package: parcimonie
Version: 0.10.3-2
Severity: normal
File: parcimonie.desktop
Usertags: verbose

I noticed that parcimonie bloats the systemd user journal with lots of
fingerprints of keys that could not be found. On spinning rust with a
large keyring this is a significant amount of I/O bandwidth, extra disk
space usage and a noticeable amount of journald and rsyslog CPU usage.
There is no reason for parcimonie to be logging not found keys, since
having keys in one's keyring that are not on the public keyservers is
a legitimate use-case that parcimonie users are likely to be doing.
The string being output is from GnuPG, so the fix is probably to tell
gpg or dirmngr to not output not found keys, or to filter the output.

$ journalctl --user --follow
May 30 11:55:27 hostname parcimonie.desktop[1234]: gpg: key 
"0123456789ABCDEF0123456789ABCDEF01234567" not found: Not found
May 30 11:55:27 hostname parcimonie.desktop[1234]: gpg: key 
"0123456789ABCDEF0123456789ABCDEF01234567" not found: Not found
May 30 11:55:27 hostname parcimonie.desktop[1234]: gpg: key 
"0123456789ABCDEF0123456789ABCDEF01234567" not found: Not found
May 30 11:55:27 hostname parcimonie.desktop[1234]: gpg: key 
"0123456789ABCDEF0123456789ABCDEF01234567" not found: Not found
May 30 11:55:27 hostname parcimonie.desktop[1234]: gpg: key 
"0123456789ABCDEF0123456789ABCDEF01234567" not found: Not found
May 30 11:55:27 hostname parcimonie.desktop[1234]: gpg: key 
"FEDCBA9876543210FEDCBA9876543210FEDCBA98" not found: Not found
May 30 11:55:27 hostname parcimonie.desktop[1234]: gpg: key 
"FEDCBA9876543210FEDCBA9876543210FEDCBA98" not found: Not found
May 30 11:55:27 hostname parcimonie.desktop[1234]: gpg: key 
"FEDCBA9876543210FEDCBA9876543210FEDCBA98" not found: Not found
May 30 11:55:27 hostname parcimonie.desktop[1234]: gpg: key 
"FEDCBA9876543210FEDCBA9876543210FEDCBA98" not found: Not found


$ strings /usr/bin/gpg | grep -i '^key ".*" not found:'
key "%s" not found: %s

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

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

Versions of packages parcimonie depends on:
ii  dirmngr  2.2.5-1
ii  gnupg2.2.5-1
ii  gnupg2   2.2.5-1
ii  libclone-perl0.39-1
ii  libconfig-general-perl   2.63-1
ii  libfile-homedir-perl 1.004-1
ii  libfile-which-perl   1.21-1
ii  libgnupg-interface-perl  0.52-9
ii  libipc-system-simple-perl1.25-4
ii  liblist-moreutils-perl   0.416-1+b3
ii  libmoo-perl  2.003004-1
ii  libmoox-late-perl0.015-3
ii  libmoox-options-perl 4.023-1
ii  libnamespace-clean-perl  0.27-1
ii  libpath-tiny-perl0.104-2
ii  libtime-duration-parse-perl  0.13-1
ii  libtry-tiny-perl 0.30-1
ii  libtype-tiny-perl1.002001-1
ii  libtypes-path-tiny-perl  0.005-1
ii  perl 5.26.2-5
ii  torsocks 2.2.0-2

Versions of packages parcimonie recommends:
ii  libglib-perl3:1.327-1
ii  libgtk3-perl0.034-1
ii  liblocale-gettext-perl  1.07-3+b3
ii  libnet-dbus-glib-perl   0.33.0-2+b2
ii  libnet-dbus-perl1.1.0-4+b3
ii  libpango-perl   1.227-2+b1
ii  libtime-duration-perl   1.20-1
ii  tor 0.3.3.6-1

parcimonie suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part