Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 865956 Details for
Bug 909640
app-containers/lxc-5.0.2 init.d/lxc ignores commented lines in container config when generating openrc net dependencies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
try2 fix patch file
lxc-initd-diff.patch (text/plain), 664 bytes, created by
steve
on 2023-07-22 13:29:49 UTC
(
hide
)
Description:
try2 fix patch file
Filename:
MIME Type:
Creator:
steve
Created:
2023-07-22 13:29:49 UTC
Size:
664 bytes
patch
obsolete
>--- lxc.initd.orig.8 2021-12-20 21:39:58.000000000 -0500 >+++ lxc.initd 2023-07-22 09:11:33.549042660 -0400 >@@ -26,7 +26,8 @@ > } > > lxc_get_net_link_type() { >- awk 'BEGIN { FS="[ \t]*=[ \t]*"; _link=""; _type="" } >+ # gentoo bugfix 909640, drop commented lines before awk >+ grep -v '^#' ${CONFIGFILE} | awk 'BEGIN { FS="[ \t]*=[ \t]*"; _link=""; _type="" } > $1 == "lxc.network.type" {_type=$2;} > $1 == "lxc.network.link" {_link=$2;} > match($1, /lxc\.net\.[[:digit:]]+\.type/) {_type=$2;} >@@ -34,7 +35,7 @@ > {if(_link != "" && _type != ""){ > printf("%s:%s\n", _link, _type ); > _link=""; _type=""; >- }; }' <${CONFIGFILE} >+ }; }' > } > > checkconfig() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 909640
:
865232
| 865956