Bug 2188865

Summary: Remove bash completion for javaws
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: bash-completionAssignee: Siteshwar Vashisht <svashisht>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: kdudka, mrunge, ooprala, svashisht
Target Milestone: ---Keywords: EasyFix
Target Release: ---Flags: kdudka: needinfo-
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
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 Robert Scheck 2023-04-23 00:28:28 UTC
IcedTea-Web is absent in Fedora for a couple of releases now, but bash-completion-2.11-9.fc38 still ships a completion file for it (while IcedTea-Web ships its own completion file if installed manually; latter even leads to a file conflict then).

Reproducible: Always

Steps to Reproduce:
1. rpm -qvl bash-completion | grep /javaws
Actual Results:  
/usr/share/bash-completion/completions/javaws

Expected Results:  
No more /usr/share/bash-completion/completions/javaws

Comment 1 Siteshwar Vashisht 2023-06-16 09:37:48 UTC
> IcedTea-Web is absent in Fedora for a couple of releases now, but bash-completion-2.11-9.fc38 still ships a completion file for it (while IcedTea-Web ships its own completion file if installed manually; latter even leads to a file conflict then).

Is IcedTea-Web installing completions under `/usr/share/bash-completion/completions/`? Custom bash completions should be installed under `/etc/bash_completion.d/` directory.

In any case, I am fine with removing completions for `javaws`, if it is not shipped with Fedora.

Comment 3 Robert Scheck 2023-06-16 10:22:52 UTC
The new icedtea-web RPM in Fedora installs its bash-completion file under /usr/share/bash-completion/completions/ - like other RPM packages in Fedora. /etc/bash_completion.d/ is meant for system administrators or can be used by software from other origins (than the distribution itself).

Comment 4 Kamil Dudka 2023-06-16 11:30:34 UTC
(In reply to Siteshwar Vashisht from comment #2)
> https://src.fedoraproject.org/rpms/bash-completion/pull-request/10

Looks good.

Comment 5 Fedora Release Engineering 2023-08-16 08:09:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.