diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2014-06-17 16:54:51 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2014-06-17 16:54:51 +0000 |
commit | 871a02fc0fcebe44fd4918ed634a1ed1729b3595 (patch) | |
tree | bf1899ecec2a57416c6558fa11b08db1450e9ee8 | |
parent | fd5411a7ef28b375db1ba0f935d76aa64809ecc2 (diff) | |
download | illumos-joyent-871a02fc0fcebe44fd4918ed634a1ed1729b3595.tar.gz |
OS-3116 lxbrand /etc/mtab grows with every reboot
-rw-r--r-- | usr/src/lib/brand/lx/zone/lx_boot_zone_ubuntu.ksh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/lib/brand/lx/zone/lx_boot_zone_ubuntu.ksh b/usr/src/lib/brand/lx/zone/lx_boot_zone_ubuntu.ksh index ac2ec4fd7c..bcb9014456 100644 --- a/usr/src/lib/brand/lx/zone/lx_boot_zone_ubuntu.ksh +++ b/usr/src/lib/brand/lx/zone/lx_boot_zone_ubuntu.ksh @@ -171,6 +171,9 @@ emits filesystem emits mounted script + echo "/ / zfs rw 0 0" > /etc/mtab + echo "proc /proc proc rw,noexec,nosuid,nodev 0 0" >> /etc/mtab + /sbin/initctl emit --no-wait virtual-filesystems /bin/mount -t tmpfs tmpfs /run || true /sbin/initctl emit --no-wait mounted MOUNTPOINT=/run TYPE=tmpfs |