Commit 28711463 by Christian Brauner

Merge pull request #914 from brauner/2016-03-23/Purcarea_Bogdan

lxc-busybox: Touch /etc/fstab in the container rootfs
parents 173e8205 6ab1ca03
...@@ -330,6 +330,9 @@ configure_busybox() ...@@ -330,6 +330,9 @@ configure_busybox()
# relink /sbin/init # relink /sbin/init
ln $rootfs/bin/busybox $rootfs/sbin/init ln $rootfs/bin/busybox $rootfs/sbin/init
# /etc/fstab must exist for "mount -a"
touch $rootfs/etc/fstab
# passwd exec must be setuid # passwd exec must be setuid
chmod +s $rootfs/bin/passwd chmod +s $rootfs/bin/passwd
touch $rootfs/etc/shadow touch $rootfs/etc/shadow
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment