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.
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
Ah, it has something to do with update-alternatives. So, comment 1 can be ignored.
CC: jani.valimaa => (none)
Depends on: (none) => 18748
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 => bugsquadSource RPM: openssh-7.2p2-2.mga6, openssh-askpass-qt4-1.0.1-9.mga6, => openssh-askpass-qt4-1.0.1-9.mga6,
(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) => mageiaBlocks: (none) => 18748Depends on: 18748 => (none)Assignee: bugsquad => pkg-bugsSummary: 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)
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) => guillomovitchAssignee: pkg-bugs => bugsquad
Assignee: bugsquad => pkg-bugs
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 => RESOLVEDResolution: (none) => DUPLICATE