Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 610902

Summary: app-emulation/lxc-2.0.7 postinst message instructs user to edit the wrong file
Product: Gentoo Linux Reporter: William Throwe <wtt6>
Component: Current packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED FIXED    
Severity: normal CC: dlan, hwoarang, stasibear, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description William Throwe 2017-02-25 15:46:22 UTC
From the message:

Starting from version lxc-1.1.0-r3, the default lxc path has been
moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc
please add the following to your /etc/lxc/default.conf
lxc.lxcpath = /etc/lxc


But the correct file to edit is /etc/lxc/lxc.conf since only that one changes the output of lxc-config.

This looks very similar to bug 573116, but that was marked INVALID stating the issue was obsolete as of 2.0.1.  I don't have permission to reopen the old bug, but feel free to reopen that and mark this as a duplicate if that makes more sense.
Comment 1 Larry the Git Cow gentoo-dev 2017-12-16 00:24:35 UTC
The bug has been closed via the following commit(s):

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

commit c1eb76c6972a8a7cef8f44cac4bb7a5b3e8673e2
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2017-12-15 23:05:34 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2017-12-16 00:23:58 +0000

    app-emulation/lxc: fix postinst documentation
    
    Bug: https://bugs.gentoo.org/573116
    Closes: https://bugs.gentoo.org/610902
    Package-Manager: Portage-2.3.18, Repoman-2.3.6

 app-emulation/lxc/lxc-2.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)