mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 11:04:35 +00:00
zdtm: create /run in a test root
iptables 1.6.2 fails without /run, because it tries to create the /run/xtables.lock file Test output: ================================ Fatal: can't open lock file /run/xtables.lock: No such file or directory 23:29:06.098: 4: ERR: netns-nf.c:21: Can't set input rule (errno = 2 (No such file or directory)) 23:29:06.098: 3: ERR: test.c:315: Test exited unexpectedly with code 255 Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
0f5705b08a
commit
8a85222afe
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ class host_flavor:
|
|||
|
||||
|
||||
class ns_flavor:
|
||||
__root_dirs = ["/bin", "/sbin", "/etc", "/lib", "/lib64", "/dev", "/dev/pts", "/dev/net", "/tmp", "/usr", "/proc"]
|
||||
__root_dirs = ["/bin", "/sbin", "/etc", "/lib", "/lib64", "/dev", "/dev/pts", "/dev/net", "/tmp", "/usr", "/proc", "/run"]
|
||||
|
||||
def __init__(self, opts):
|
||||
self.name = "ns"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue