because ip/httpd/httpd does a newns
you can't do this :
9fs rod
bind -a /n/rod/web/bin /bin/ip/httpd/
and then /magic/ anything from /n/rod/web/bin
any magic files have to be in /bin/ip/httpd
which is owned by sys:sys
lol, then i remembered mount /sys/rod /n/rod && bind /n/rod/web/bin /bin/ip/httpd/
worked a treat
it would be ok if you could do : httpd/httpd < /n/rod/web/namespace
aha, genius strikes, I created /cfg/$sysname/httpd.namespace and used that :>
I would also recommend adding syslog(0, HTTPLOG, "%r: %s", w);
To the if(fd < 0) in the function send so you log what file was missing.
I'm going to add a patch for that later also
see /n/sources/contrib/maht/httpd for that and a bugfix that's in the patch queue.
Record of some of the computer tech I deal with so that it's documented at least somewhere.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment