Bug 2320048

Summary: kdesettings wrongly exports SSH_ASKPASS even without ksshaskpass package
Product: [Fedora] Fedora Reporter: Tad <tad>
Component: kde-settingsAssignee: Neal Gompa <ngompa13>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: alex, code, jgrulich, kde-sig, rdieter, ruawhitepaw, than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tad 2024-10-20 17:04:08 UTC
I noticed this when virt-manager kept trying to invoke ksshaskpass instead of openssh-askpass as previously on f40 because /etc/profile.d/kde-openssh-askpass.sh exists and overrides it

/etc/profile.d/kde-openssh-askpass.sh should only be available in the ksshaskpass package

Reproducible: Always

Steps to Reproduce:
1. connect to a remote libvirt instance via ssh that should prompt interactive keyboard usage
Actual Results:  
it fails and only tries to open ksshaskpass, the KDE one even though I'm on GNOME and virt-manager is GTK and ksshaskpass isn't installed

Expected Results:  
have it run the correct askpass helper to input response

using version virt-manager-4.1.0-9.fc41.src.rpm

this worked previously on f37/f38/f39/f40

Comment 1 alex 2025-03-22 23:35:37 UTC
On my GNOME system, kde-settings is installed because kf5-kconfig-core depends on it and LibreOffice indirectly depends on kf5-kconfig-core.

Comment 2 Olivier Samyn 2025-06-02 09:30:53 UTC
Same problem here on F42.
/etc/profile.d/kde-openssh-askpass.sh should probably be part of the ksshaskpass package instead of kde-settings.

Comment 3 Fedora Admin user for bugzilla script actions 2025-07-23 01:29:06 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.