* Re: [9fans] newns
@ 2000-11-10 8:50 nigel
0 siblings, 0 replies; 2+ messages in thread
From: nigel @ 2000-11-10 8:50 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 132 bytes --]
Yes, I'd noticed that. The ftp namespace is similar as well.
If you don't have /usr/web then anonymous users see
_everything_.
[-- Attachment #2: Type: message/rfc822, Size: 1846 bytes --]
From: arisawa@ar.aichi-u.ac.jp
To: 9fans@cse.psu.edu
Subject: [9fans] newns
Date: Fri, 10 Nov 2000 17:28:34 0900
Message-ID: <20001110082938.9949D199E4@mail.cse.psu.edu>
Hello,
I have a question on the system library function "newns":
newns does not inform the line in /lib/namespace*
when it failed in building namespace.
That is, function "nsop" in newns.c does not check the result status
of the functions bind, mount, ... etc.
Are there anything wrong if newns returns when
it failed in executing these commands and report the problem ?
P.S.
I thought of that, because httpd does not work on my cpu server
with 9pccpudisk.
httpd fails at:
becomenone(char *namespace)
{ ...
if(newns("none", nil) < 0)
sysfatal("can't build normal namespace: %r");
...
}
of httpd.c, and the problem comes from:
mount -a /srv/net /net
in /lib/namespace
Of course I added a patch to newns to report the problem.
Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp
^ permalink raw reply [flat|nested] 2+ messages in thread
* [9fans] newns
@ 2000-11-10 8:28 arisawa
0 siblings, 0 replies; 2+ messages in thread
From: arisawa @ 2000-11-10 8:28 UTC (permalink / raw)
To: 9fans
Hello,
I have a question on the system library function "newns":
newns does not inform the line in /lib/namespace*
when it failed in building namespace.
That is, function "nsop" in newns.c does not check the result status
of the functions bind, mount, ... etc.
Are there anything wrong if newns returns when
it failed in executing these commands and report the problem ?
P.S.
I thought of that, because httpd does not work on my cpu server
with 9pccpudisk.
httpd fails at:
becomenone(char *namespace)
{ ...
if(newns("none", nil) < 0)
sysfatal("can't build normal namespace: %r");
...
}
of httpd.c, and the problem comes from:
mount -a /srv/net /net
in /lib/namespace
Of course I added a patch to newns to report the problem.
Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-10 8:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-10 8:50 [9fans] newns nigel
-- strict thread matches above, loose matches on Subject: below --
2000-11-10 8:28 arisawa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).