Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518484 - app-emulation/lxc - files/lxc.initd.2 should `use net'
Summary: app-emulation/lxc - files/lxc.initd.2 should `use net'
Status: RESOLVED FIXED
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: 2014-07-29 12:47 UTC by mike
Modified: 2015-07-30 10:16 UTC (History)
3 users (show)

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


Attachments
my solution (lxc.initd.2.diff,1.88 KB, patch)
2014-07-29 12:48 UTC, mike
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mike 2014-07-29 12:47:55 UTC
The current version of app-emulation/lxc/files/lxc.initd.2 is not looking for dependency on a few network devices.

For example:

# bzcat /usr/share/doc/lxc-*/examples/lxc-complex.conf.bz2 | lxc_get_var lxc.network.link
br0
# bzcat /usr/share/doc/lxc-*/examples/lxc-complex.conf.bz2 | lxc_get_var lxc.network.type
veth
# bzcat /usr/share/doc/lxc-*/examples/lxc-complex.conf.bz2| grep -E 'lxc.network.(link|type)'
lxc.network.type = veth
lxc.network.link = br0
lxc.network.type = macvlan
lxc.network.link = eth0
lxc.network.type = phys
lxc.network.link = dummy0



Reproducible: Always
Comment 1 mike 2014-07-29 12:48:58 UTC
Created attachment 381806 [details, diff]
my solution
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2014-10-18 16:32:53 UTC
Hi,

Could you provide a patch for the initd.3 script please?
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2014-10-18 16:54:04 UTC
nm i will do it myself.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2014-10-18 17:01:02 UTC
Thanks fixed in 1.0.6