Bug#942546: gnome-keyring write to "mailcap" and "gcr-viewer.desktop" "${exec_prefix}"

Сергей Фёдоров serfyod0vr at yandex.ru
Thu Oct 17 22:39:34 BST 2019


Package: gnome-keyring
Version: 3.34.0-1
Severity: normal



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8), LANGUAGE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-keyring depends on:
ii  dbus-user-session [default-dbus-session-bus]  1.12.16-2
ii  dbus-x11 [dbus-session-bus]                   1.12.16-2
ii  dconf-gsettings-backend [gsettings-backend]   0.34.0-1
ii  gcr                                           3.33.4-3
ii  libc6                                         2.29-2
ii  libcap-ng0                                    0.7.9-2+b1
ii  libcap2-bin                                   1:2.25-2
ii  libgck-1-0                                    3.33.4-3
ii  libgcr-base-3-1                               3.33.4-3
ii  libgcrypt20                                   1.8.5-3
ii  libglib2.0-0                                  2.62.1-1
ii  p11-kit                                       0.23.18.1-2
ii  pinentry-gnome3                               1.1.0-3

Versions of packages gnome-keyring recommends:
ii  gnome-keyring-pkcs11  3.34.0-1
ii  libpam-gnome-keyring  3.34.0-1

gnome-keyring suggests no packages.

-- no debconf information

When installing gnome-keyring writes into "/etc/mailcap"lines where paths start
with " ${exec_prefix}", but this variable is not defined anywhere.

/etc/mailcap :

application/pkcs12; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkcs12+pem; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkcs7-mime; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkcs7-mime+pem; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkcs8; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkcs8+pem; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkix-cert; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkix-cert+pem; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkix-crl; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkix-crl+pem; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/x-pem-file; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/x-pem-key; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/x-pkcs12; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/x-pkcs7-certificates; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/x-x509-ca-cert; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/x-x509-user-cert; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkcs10; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/pkcs10+pem; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/x-spkac; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"
application/x-spkac+base64; ${exec_prefix}/bin/gcr-viewer %s; test=test -n "$DISPLAY"

And in "/usr/share/application/gcr-viewer.desktop" is written string
"Exec=${exec_prefix}/bin/gcr-viewer", what do not like, for example, menulibre.



More information about the pkg-gnome-maintainers mailing list