[pkg-lxc-devel] Bug#1010843: Bash completion filename conflict with LXD

Antonio Terceiro terceiro at debian.org
Wed May 11 21:18:33 BST 2022


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20220511/d1c6197d/attachment.sig>


More information about the Pkg-lxc-devel mailing list