diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2014-06-13 22:44:50 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2014-06-13 22:44:50 +0000 |
commit | e021287ac435bc7b10008214f771978c6361dcd8 (patch) | |
tree | a13b67421ecc25eafc3f8bbde7641af4ae3146c5 | |
parent | d1a7e4f610d36de57a22158114b9de4dc0f43d37 (diff) | |
download | illumos-joyent-e021287ac435bc7b10008214f771978c6361dcd8.tar.gz |
OS-3106 lxbrand mount incorrectly reports mounted file systems
-rw-r--r-- | usr/src/lib/brand/lx/zone/lx_init_zone_debian.ksh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/lib/brand/lx/zone/lx_init_zone_debian.ksh b/usr/src/lib/brand/lx/zone/lx_init_zone_debian.ksh index dbaaf26a8c..57dd4adf54 100644 --- a/usr/src/lib/brand/lx/zone/lx_init_zone_debian.ksh +++ b/usr/src/lib/brand/lx/zone/lx_init_zone_debian.ksh @@ -232,4 +232,11 @@ if [[ $distro == "debian" ]]; then fi +if [[ -f etc/mtab ]]; then + log "Modifying: \"$install_root/etc/mtab\"..." + + echo "/ / zfs rw 0 0" > etc/mtab + echo "proc /proc proc rw,noexec,nosuid,nodev 0 0" >> etc/mtab +fi + # Hand control back to lx_init_zone |