Commit cd7a4e5
jail: mount /lib/config into netifd jail
The DHCP and DHCPv6 protocol scripts in netifd source
/lib/config/uci.sh during initialization. Without /lib/config/uci.sh
bind-mounted into the jail, the netifd instance running inside
a container's network namespace fails to start the DHCP client:
./dhcp.sh: .: line 8: can't open '/lib/config/uci.sh'
./dhcpv6.sh: .: line 5: can't open '/lib/config/uci.sh'
Add /lib/config/uci.sh to the jail netifd mount list alongside the
existing /lib/functions and /lib/functions.sh entries.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>1 parent 58eb263 commit cd7a4e5
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
0 commit comments