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
This commit is contained in:
Eelco Dolstra 2016-05-26 15:36:15 +02:00
parent ecd3cbb9e7
commit b37d6d8996

View File

@ -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).