Bug 14937 - udiskctl mount bash completion broken
Summary: udiskctl mount bash completion broken
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Funda Wang
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2015-01-03 17:02 CET by Chris Denice
Modified: 2020-07-11 15:55 CEST (History)
1 user (show)

See Also:
Source RPM: udisks2-2.1.4-1.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Chris Denice 2015-01-03 17:02:15 CET
Description of problem:

In a terminal, the bash completion of udisksctl fails in its third entry; it used to list the mountable devices and/or object path; but does not anymore.

Example:

udisksctl <TAB>

returns

dump             lock             monitor          smart-simulate   unmount 
help             loop-delete      mount            status           
info             loop-setup       power-off        unlock   

and works;

udisksctl mount <TAB>

returns

--block-device   --object-path

and this is also working. BUT

udisksctl mount --block-device <TAB>

and

udisksctl mount --object-path <TAB>

are broken; they indeed returns again

--block-device   --object-path

instead of the list of possible devices and path to these devices.


The file:
/usr/share/bash-completion/completions/udisksctl

is indeed provided by udisks2 package and bach-completion did not change in the last. I have looked around but did not find the cause of the bug.

Cheers,
chris,












Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-05-31 19:31:40 CEST
Assigning to maintainer. Adding maintainer of bash-completion in CC.

CC: (none) => shlomif
Assignee: bugsquad => fundawang
Whiteboard: (none) => MGA5TOO

Samuel Verschelde 2015-05-31 19:31:47 CEST

Keywords: (none) => Triaged

Comment 2 Chris Denice 2015-10-31 16:43:15 CET
This bug is still there; if someone has any ideas that would be cool to have a look!
Comment 3 Chris Denice 2016-05-12 15:34:34 CEST
Ping!
Comment 4 Shlomi Fish 2016-05-12 22:41:12 CEST
(In reply to Chris Denice from comment #3)
> Ping!

hi, sorry for not replying earlier. The bash completion for udiskctl is installed by the upstream package's installer. Perhaps you can report the problem upstream.
Comment 5 Chris Denice 2016-05-14 23:20:36 CEST
You mean upstream where? udiskctl or bash-completion?
Comment 6 Chris Denice 2020-07-11 15:55:02 CEST
this bug has been fixed, no so long ago actually :)

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


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