Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601602 - app-emulation/lxc-2.0.6 file collisions with app-emulation/lxd-2.5.0: /usr/share/bash-completion/completions/lxc
Summary: app-emulation/lxc-2.0.6 file collisions with app-emulation/lxd-2.5.0: /usr/sh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-04 15:42 UTC by jo77ah
Modified: 2016-12-08 09:39 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,252.60 KB, text/plain)
2016-12-04 15:42 UTC, jo77ah
Details
emerge --info (emerge-info.txt,6.84 KB, text/plain)
2016-12-04 15:43 UTC, jo77ah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jo77ah 2016-12-04 15:42:20 UTC
Created attachment 455080 [details]
build log

Probably result of everything pointing not to lxc-start anymore.

I'm not sure which behaviour is wanted.
Comment 1 jo77ah 2016-12-04 15:43:21 UTC
Created attachment 455082 [details]
emerge --info
Comment 2 Yixun Lan archtester gentoo-dev 2016-12-05 02:00:52 UTC
this collision due to I dropped the line of "rename lxc to lxc-start" [1], while bumping to version 2.0.6.. have a look at app-emulation/lxd-2.5, there is also one line[2] which rename lxd-client to lxc

any idea how we should handle this? 
a) drop the [2], so we can keep [1] 
or
b) revert [1] to old version, just as app-emulation/lxc-2.0.5?


[1]mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die

[2] newbashcomp config/bash/lxd-client lxc
Comment 3 jo77ah 2016-12-06 14:49:28 UTC
according to point 2 of [1], b) seems to be the right decision, since lxd installs the `lxc` executable and lxc only `lxc-*` executables

[1] https://wiki.gentoo.org/wiki/Bash/Installing_completion_files
Comment 4 Yixun Lan archtester gentoo-dev 2016-12-08 09:39:42 UTC
ok, I've went the plan b), reverted the change

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5dbcae4e52d5c1e4ec2b23707b569f397fa311