Browse Source

* fixed sheba/util-vserver to mount dev/pts inside of the namespace and not

from the host.
	* fixed sheba/util-vserver to really patch the default fstab for the guests.
legacy/0.1-legacy
Alejandro Mery 18 years ago
parent
commit
613d0008c8
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      pkg_util-vserver.conf

+ 4
- 2
pkg_util-vserver.conf

@ -54,9 +54,11 @@ sheba_activate_vserver() {
cat <<-EOT > $defaults/scripts/post-start
#!/bin/sh
. $libdir/util-vserver/util-vserver-vars
# mount devpts after /dev was populated
#
mount -t devpts -o gid=5,mode=620 none dev/pts
\$_SECURE_MOUNT -t devpts -o gid=5,mode=620,dev --chroot none /dev/pts
EOT
chmod +x $defaults/scripts/{pre,post}-start
@ -70,4 +72,4 @@ sheba_activate_vserver() {
hook_add postmake 5 'sheba_activate_vserver'
var_append patchfile ' ' $base/target/$target/patches/$pkg.patch
var_append patchfiles ' ' $base/target/$target/patches/$pkg.patch

Loading…
Cancel
Save