Mailinglist Archive: opensuse-bugs (4758 mails)

< Previous Next >
[Bug 997274] /usr/bin/pinentry delegates to pinentry-curses rather than pinentry-qt4 when running under KDE
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 06 Jul 2017 00:33:38 +0000
  • Message-id: <bug-997274-21960-x9NKQiRJzM@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=997274
http://bugzilla.opensuse.org/show_bug.cgi?id=997274#c8

Steve Revilak <steve@xxxxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
OS|openSUSE 42.1 |openSUSE 42.2

--- Comment #8 from Steve Revilak <steve@xxxxxxxxxxxx> ---
I reported this issue after upgrading to Leap 42.1. I recently
upgraded to Leap 42.2; Leap 42.2 exhibits the same behavior that's
described in this report.

After reviewing the analysis in comment 2, I realized there was a
simpler workaround:

Here are the pinentry binaries installed on my system:

0 sunny:~$ ls -l /usr/bin/pinentry*
4 -rwxr-xr-x 1 root root 2347 Oct 7 2016 /usr/bin/pinentry*
52 -rwxr-xr-x 1 root root 52424 Oct 7 2016 /usr/bin/pinentry-curses*
112 -rwxr-xr-x 1 root root 111592 Oct 7 2016 /usr/bin/pinentry-gtk-2*
168 -rwxr-xr-x 1 root root 169744 Oct 7 2016 /usr/bin/pinentry-qt4*


The workaround is to symlink pinentry-qt -> pinentry-qt4. This causes
the pinentry script to take "option 2" (shown at line number 53, in
comment 2's code listing)

0 sunny:~$ sudo ln -s pinentry-qt4 /usr/bin/pinentry-qt
0 sunny:~$ ls -l /usr/bin/pinentry*
4 -rwxr-xr-x 1 root root 2347 Oct 7 2016 /usr/bin/pinentry*
52 -rwxr-xr-x 1 root root 52424 Oct 7 2016 /usr/bin/pinentry-curses*
112 -rwxr-xr-x 1 root root 111592 Oct 7 2016 /usr/bin/pinentry-gtk-2*
0 lrwxrwxrwx 1 root root 12 Jul 5 20:27 /usr/bin/pinentry-qt ->
pinentry-qt4*
168 -rwxr-xr-x 1 root root 169744 Oct 7 2016 /usr/bin/pinentry-qt4*


Information from my current system:

0 sunny:~$ cat /etc/os-release
NAME="openSUSE Leap"
VERSION="42.2"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.2"
PRETTY_NAME="openSUSE Leap 42.2"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.2"
BUG_REPORT_URL="https://bugs.opensuse.org";
HOME_URL="https://www.opensuse.org/";

0 sunny:~$ kf5-config --version
Qt: 5.6.1
KDE Frameworks: 5.26.0
kf5-config: 1.0

0 sunny:~$ uname -a
Linux sunny 4.4.73-18.17-default #1 SMP Fri Jun 23 20:25:06 UTC 2017
(f462a66) x86_64 x86_64 x86_64 GNU/Linux


0 sunny:~$ rpm -q --file /usr/bin/pinentry
pinentry-0.8.3-4.5.x86_64

0 sunny:~$ rpm -q --file /usr/bin/pinentry-qt4
pinentry-qt4-0.8.3-4.5.x86_64

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
This Thread
  • No further messages