Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296030 - [patches] app-emulation/lxc-0.6.4: urgent and usefull upstream patches over 0.6.4 release
Summary: [patches] app-emulation/lxc-0.6.4: urgent and usefull upstream patches over 0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-06 23:51 UTC by Petr Polezhaev
Modified: 2009-12-07 11:39 UTC (History)
0 users

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


Attachments
0001_add-lxc.network.pair.patch (0001_add-lxc.network.pair.patch,3.70 KB, patch)
2009-12-06 23:52 UTC, Petr Polezhaev
Details | Diff
0002_move-rcfile.patch (0002_move-rcfile.patch,8.30 KB, patch)
2009-12-06 23:52 UTC, Petr Polezhaev
Details | Diff
0003_fix-full-system.patch (0003_fix-full-system.patch,1.70 KB, patch)
2009-12-06 23:53 UTC, Petr Polezhaev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Polezhaev 2009-12-06 23:51:59 UTC
Here come three patches:
one for adding lxc.network.pair - a name of host's side of veth pair - nice feature for someone who don't want to use bridges for veth.
http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=commit;h=8634bc197f742267b2eabd8543265ba93177b529

second is auxillary patch for third, it's making some major changes into config file handling internal logic, but nothing important for user.
http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=commit;h=fae349da89b9ad063f0080970558b7f02ce233c2

third is a fix of dangerous behaviour (detected by flameeyes) when full-system container started without explicit or implicit rcfile (by typo in name, for example) it's using 'default' rootfs=/ and crashes hosts's rc-system. At best it will just make mess into your rc-state. At worst - it will lock your network and console on remote server.
Comment 1 Petr Polezhaev 2009-12-06 23:52:30 UTC
Created attachment 212282 [details, diff]
0001_add-lxc.network.pair.patch
Comment 2 Petr Polezhaev 2009-12-06 23:52:47 UTC
Created attachment 212283 [details, diff]
0002_move-rcfile.patch
Comment 3 Petr Polezhaev 2009-12-06 23:53:01 UTC
Created attachment 212285 [details, diff]
0003_fix-full-system.patch
Comment 4 Petr Polezhaev 2009-12-06 23:56:05 UTC
Forgotten link for the third commit:

http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=commit;h=f2ae79a04567fb8c1181f4d3331d2b7a48889cf3
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-07 11:39:08 UTC
Thanks :) Committed now.