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


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

Bug#1010843: Bash completion filename conflict with LXD

From Mathias Gibbens <mathias@calenhad.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1010843: Bash completion filename conflict with LXD
Date 2022-05-11 13:30 +0200
Message-ID <ElSHv-eKw7-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

Back to linux.debian.bugs.dist | Previous | Next — 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