Commit ecf4c54c authored by Leigh B. Stoller's avatar Leigh B. Stoller

Change location of where /opt in the local dir goes.

parent 9e068ab6
......@@ -2504,7 +2504,7 @@ sub vnodejailsetup($)
if (-e LOCALROOTFS()) {
my $piddir = LOCALROOTFS() . "/$pid";
my $eiddir = LOCALROOTFS() . "/$pid/$eid";
my $viddir = LOCALROOTFS() . "/$pid/$eid/$vid";
my $viddir = LOCALROOTFS() . "/$pid/$vid";
if (! -e $piddir) {
mkdir($piddir, 0777) or
......
......@@ -511,7 +511,7 @@ sub mkrootfs($)
}
push(@mntpoints, "$path/root/$LOCALMNTPNT/$PID");
mysystem("ln -s $LOCALMNTPNT/$PID/$EID/$vnodeid $path/root/opt");
mysystem("ln -s $LOCALMNTPNT/$PID/$vnodeid $path/root/opt");
}
else {
mkdir("$path/root/opt", 0775);
......
......@@ -2504,7 +2504,7 @@ sub vnodejailsetup($)
if (-e LOCALROOTFS()) {
my $piddir = LOCALROOTFS() . "/$pid";
my $eiddir = LOCALROOTFS() . "/$pid/$eid";
my $viddir = LOCALROOTFS() . "/$pid/$eid/$vid";
my $viddir = LOCALROOTFS() . "/$pid/$vid";
if (! -e $piddir) {
mkdir($piddir, 0777) or
......
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