Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573116 - app-emulation/lxc-1.1: the ebuild output pretend that /etc/lxc/default.conf is the lxc config file
Summary: app-emulation/lxc-1.1: the ebuild output pretend that /etc/lxc/default.conf i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-27 12:59 UTC by alexander haensch
Modified: 2017-12-16 00:24 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexander haensch 2016-01-27 12:59:12 UTC
after emerge of app-emulation/lxc-1.1 lxc-ls was not working because default path was changed from /etc/lxc to /var/lib/lxc.
ebuild info says that the old behaviour can be restored by changing : /etc/lxc/default.conf
the correct config file is: /etc/lxc/lxc.conf


Reproducible: Always

Steps to Reproduce:
1. update lxc
2.
3.
Actual Results:  
 * 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


Expected Results:  
 * 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/lxc.conf
 * lxc.lxcpath = /etc/lxc
Comment 1 Erik Mackdanz gentoo-dev 2016-05-19 03:20:03 UTC
Current versions (2.0.1 will be checked in shortly) install /etc/lxc/default.conf.  This may be a valid issue in older versions, I haven't checked, but I don't have the bandwidth now to fix older releases.
Comment 2 Larry the Git Cow gentoo-dev 2017-12-16 00:24:38 UTC
The bug has been referenced in 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(-)}