diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-26 15:36:15 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-26 16:19:40 +0200 |
commit | b37d6d8996cf9270d5a74e5bec605b79ec35b862 (patch) | |
tree | 79d9dadefdec8f06182882612cd9b429e0b76ac5 /nixos/modules | |
parent | ecd3cbb9e764ac75865bc5fb91e8afb2c5ebfdb8 (diff) |
Fix failure to start old containers
The existence of $root/var/lib/private/host-notify as a socket
prevented a bind mount:
container foo[8083]: Failed to create mount point /var/lib/containers/foo/var/lib/private/host-notify: No such device or address
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/virtualisation/containers.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/containers.nix b/nixos/modules/virtualisation/containers.nix index fca21a8610be..dc65e4940549 100644 --- a/nixos/modules/virtualisation/containers.nix +++ b/nixos/modules/virtualisation/containers.nix @@ -338,7 +338,7 @@ in fi ''} - + rm -f $root/var/lib/private/host-notify # Run systemd-nspawn without startup notification (we'll # wait for the container systemd to signal readiness). |