Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1102840

Bug#1010843: Bash completion filename conflict with LXD

From Antonio Terceiro <terceiro@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1010843: Bash completion filename conflict with LXD
Date 2022-05-11 22:30 +0200
Message-ID <Em186-ePv3-5@gated-at.bofh.it> (permalink)
References <ElSHv-eKw7-1@gated-at.bofh.it> <ElSHv-eKw7-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: forwarded -1 https://github.com/lxc/lxc/pull/4115
Control: tag -1 + upstream confirmed

On Wed, May 11, 2022 at 11:20:37AM +0000, Mathias Gibbens wrote:
> Source: lxc
> Version: 1:4.0.11-1
> 
> Hi,
> 
>   While reviewing the LXD packaging I've been working on, it was
> noticed [1] that the bash completion file that's being shipped needs to
> be renamed. Since the LXD client executable is `lxc`, the installed
> path would be /usr/share/bash-completion/completions/lxc. However, that
> conflicts with a file installed by the lxc package [2]. From d/rules
> [3] it looks like symlinks are made of the actual lxc command names
> (`lxc-*`) to the supplied completions file.
> 
>   Would it be possible to rename how that base file is named when it is
> installed to /usr/share/bash-completion/completions/, so it won't
> conflict if LXD installs its bash completion in the correction
> location?

It turns out that that portion of our debian/rules is deprecated as that
is already handled by the upstream build system. This needs an upsteam
change, which I submitted in the link above.

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1010843: Bash completion filename conflict with LXD Mathias Gibbens <mathias@calenhad.com> - 2022-05-11 13:30 +0200
  Bug#1010843: Bash completion filename conflict with LXD Antonio Terceiro <terceiro@debian.org> - 2022-05-11 22:30 +0200
    Bug#1010843: Bash completion filename conflict with LXD Mathias Gibbens <mathias@calenhad.com> - 2022-06-17 15:10 +0200

csiph-web