diff options
author | Tomas Hozza <thozza@redhat.com> | 2013-12-17 17:08:42 +0100 |
---|---|---|
committer | Tomas Hozza <thozza@redhat.com> | 2013-12-17 17:09:44 +0100 |
commit | 7eb562bbab26218331bc2cc99a405e6730992dbb (patch) | |
tree | d8a8268bdfd85ca437ed1a40d31ebda185a30d01 /setup-named-chroot.sh | |
parent | 0cd5a0ff483e4b7bd8b233961d34708334c0db51 (diff) | |
download | bind-7eb562bbab26218331bc2cc99a405e6730992dbb.tar.gz bind-7eb562bbab26218331bc2cc99a405e6730992dbb.tar.xz bind-7eb562bbab26218331bc2cc99a405e6730992dbb.zip |
Rework the chroot setup/destruction workflow
- Split chroot package for named and named-sdb
- Extract setting-up/destroying of chroot to a separate systemd service (#997030)
Signed-off-by: Tomas Hozza <thozza@redhat.com>
Diffstat (limited to 'setup-named-chroot.sh')
-rwxr-xr-x | setup-named-chroot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-named-chroot.sh b/setup-named-chroot.sh index 9f96278..8de494b 100755 --- a/setup-named-chroot.sh +++ b/setup-named-chroot.sh @@ -44,7 +44,7 @@ mount_chroot_conf() # Mount source is a directory. Mount it only if directory in chroot is # empty. if [ -e "$all" ] && [ `ls -1A $ROOTDIR$all | wc -l` -eq 0 ]; then - mount --rbind "$all" "$ROOTDIR$all" + mount --bind --make-private "$all" "$ROOTDIR$all" fi fi done |