Bug 2317249 - lvm completion prevents completing device paths
Summary: lvm completion prevents completing device paths
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Siteshwar Vashisht
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-08 15:50 UTC by Aleksandar Kostadinov
Modified: 2025-05-20 19:59 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-20 19:59:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Aleksandar Kostadinov 2024-10-08 15:50:26 UTC
When trying to perform LVM management operations via cli it is very often that one has to enter a device PATH. For example

> lvremove /dev/mapper/my_snapshot_volume

But current completion script prevents the expansion of PATHs. One has to know the path by hearth and not make any typos. Or copy paste from elsewhere. Both of which are inconvenient.

It is the same with all lvm related commands that I have used recently.

It will greatly improve command line experience in case such expansion is allowed.

Reproducible: Always

Steps to Reproduce:
1. type `lvremove /de` in a command line terminal
2. hit TAB multiple times
Actual Results:  
nothing happens

Expected Results:  
`/dev` is expanded or list of directories starting with `/de` are listed in the command line terminal

Comment 1 Siteshwar Vashisht 2025-02-18 16:35:22 UTC
https://github.com/scop/bash-completion/pull/1335

Comment 2 Aoife Moloney 2025-04-28 13:57:15 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Aoife Moloney 2025-05-20 19:59:50 UTC
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13.

Fedora Linux 40 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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