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

Mathias Gibbens mathias at calenhad.com
Wed May 11 12:20:37 BST 2022


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?

Thanks,
Mathias

[1] -- https://salsa.debian.org/go-team/packages/lxd/-/merge_requests/1
[2] -- https://packages.debian.org/sid/amd64/lxc/filelist
[3] -- https://salsa.debian.org/lxc-team/lxc/-/blob/master/debian/rules#L41
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20220511/021f2b0f/attachment.sig>


More information about the Pkg-lxc-devel mailing list