Bug 18458 - drop openssh-askpass-qt4 (since it's broken and unmaintained and just an old internal Mdv software)
Summary: drop openssh-askpass-qt4 (since it's broken and unmaintained and just an old ...
Status: RESOLVED DUPLICATE of bug 18748
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 18748
  Show dependency treegraph
 
Reported: 2016-05-14 18:12 CEST by Marja Van Waes
Modified: 2016-06-28 02:45 CEST (History)
2 users (show)

See Also:
Source RPM: openssh-askpass-qt4-1.0.1-9.mga6,
CVE:
Status comment:


Attachments

Description Marja Van Waes 2016-05-14 18:12:58 CEST
Sorry for the very late bug report, see
https://ml.mageia.org/l/arc/dev/2016-03/msg00000.html

In cauldron, with openssh-askpass-common and openssh-askpass-qt installed, it is needed to replace a line in

  /etc/profile.d/90ssh-askpass.sh 

to avoid getting an error when opening a konsole or other X terminal
( Error: Problem adding; giving up)
and to get ssh-agent forwarding to work.

openssh-askpass-common puts

   export SSH_ASKPASS=/usr/libexec/openssh/ssh-askpass

in /etc/profile.d/90ssh-askpass.sh 

However, that line needs to be replaced with 

  export SSH_ASKPASS=/usr/lib64/ssh/qt4-ssh-askpass

for openssh-askpass-qt to work.

("export SSH_ASKPASS=/usr/lib64/ssh/ssh-askpass" will work, too)

After correcting the line and reinstalling openssh-askpass-common with

   urpmi --replacepkgs openssh-askpass-common

the old content of /etc/profile.d/90ssh-askpass.sh  is back, and needs to be corrected again.
Comment 1 Jani Välimaa 2016-05-15 11:12:39 CEST
openssh-askpass-qt4 should probably ship something like /etc/profile.d/91ssh-askpass-qt4.[c,]sh with 'export SSH_ASKPASS=/usr/lib64/ssh/qt4-ssh-askpass' in it.

CC: (none) => jani.valimaa

Comment 2 Jani Välimaa 2016-05-15 11:23:15 CEST
Ah, it has something to do with update-alternatives. So, comment 1 can be ignored.
Jani Välimaa 2016-05-16 21:00:24 CEST

CC: jani.valimaa => (none)

Marja Van Waes 2016-06-21 10:12:36 CEST

Depends on: (none) => 18748

Comment 3 Guillaume Rousse 2016-06-22 00:22:51 CEST
Well, the problem lies in openssh-askpass-qt4 package, which has not been updated to use newer path. However, this package has no maintainer, and the code seems to be an old internal development dating back from mandriva... It should rather get dropped now, rather than wait for QT4 depreciation.

Assignee: guillomovitch => bugsquad
Source RPM: openssh-7.2p2-2.mga6, openssh-askpass-qt4-1.0.1-9.mga6, => openssh-askpass-qt4-1.0.1-9.mga6,

Comment 4 Marja Van Waes 2016-06-22 10:10:12 CEST
(In reply to Guillaume Rousse from comment #3)
> Well, the problem lies in openssh-askpass-qt4 package, which has not been
> updated to use newer path. However, this package has no maintainer, and the
> code seems to be an old internal development dating back from mandriva... It
> should rather get dropped now, rather than wait for QT4 depreciation.

Thanks, changing the summary accordingly

@ rapsys

Did you already start fixing openssh-askpass-qt4, as you thought of doing?

CC: (none) => mageia
Blocks: (none) => 18748
Depends on: 18748 => (none)
Assignee: bugsquad => pkg-bugs
Summary: openssh-askpass-common gives wrong content in /etc/profile.d/90ssh-askpass.sh for openssh-askpass-qt4 => drop openssh-askpass-qt4 (since it's broken and unmaintained and just an old internal Mdv software)

Comment 5 Guillaume Rousse 2016-06-22 19:55:16 CEST
BTW, fixing the current 'breakage' is just a matter of installing qt4-ssh-askpass as /usr/libexec/openssh/qt4-ssh-askpass instead of /usr/lib64/ssh/qt4-ssh-askpass, and fixing the update-alternative invocation instead. My point is just, is it worth doing it ? Doesn't kde provide a builtin ssh agent, as gnome does, as a better alternative ?

CC: (none) => guillomovitch
Assignee: pkg-bugs => bugsquad

Marja Van Waes 2016-06-22 22:06:47 CEST

Assignee: bugsquad => pkg-bugs

Comment 6 Raphael Gertz 2016-06-28 02:45:45 CEST
Fixed in cauldron, uninstall/reinstall all openssh-askpass to fix alternative links

*** This bug has been marked as a duplicate of bug 18748 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.