plan9fox/sys/man/8
cinap_lenrek 27ad886c95 ip/tftpd: add -n namespace-file flag (thanks sam-d)
tftpd currently unconditionally sets its namespace via /lib/namespace
(newns("none", nil)), which stymied my attempts to pxe boot the
openbsd installer without creating a real /etc dir on 9front, which
would've been gross.

I tried working around this with -h (and -r for good measure), but
again hit issues because the namespace is rebuilt from scratch -- any
binds of /386, /amd64, /cfg/pxe, etc. into the tftp-specific directory
disappeared from tftpd's namespace and rendered my *9front* boxes
unable to boot. I could maintain copies of the needed files in the
tftp-specific directory, but that'd be kind of a drag.

The following patch adds a -n flag to allow the specification of a
namespace file in place of /lib/namespace; similar to ip/ftpd.

I thought about setting up a /lib/namespace.tftp to act as a default
rather than continuing to use /lib/namespace by default (which
security-wise is about the same as allowing 9p mounts by user none,
which I also have disabled), but I had trouble coming up with a sane
default. Maybe someone more experienced would like to try that out.

- sam-d
2021-02-23 01:47:33 +01:00
..
0intro
6in4
9boot 9boot(8): update manual to reflect efi loader search order changes 2020-11-21 14:55:33 -08:00
9pcon
aan
acpi aux/acpi: write a man page, fix usage, call threadexits 2020-07-30 11:25:14 +02:00
aliasmail
apm aux/acpi: write a man page, fix usage, call threadexits 2020-07-30 11:25:14 +02:00
atazz
auth
backup
boot
booting
cec
cifsd cifsd(8): fix typo (thanks senthil) 2020-06-18 12:11:06 +09:30
cpuid
cpurc
cron
cryptsetup
dhcpd ip/tftpd: add -n namespace-file flag (thanks sam-d) 2021-02-23 01:47:33 +01:00
diskparts
disksim
fs
fsconfig
fshalt
getflags aux/getflags: improve flagfmt parser 2020-05-07 00:10:09 +02:00
gpsfs
hgignore
hgrc
histogram
hjfs
httpd
icanhasmsi
init
ipconfig
ipserv
kbdfs
listen
lp
memory
mk9660 mk9660(8): fix reference to proto file format 2020-08-01 16:17:29 +02:00
mkflashfs
mkfs
mkpaqfs
mksacfs
mouse
na
ndb ndb/dnsdebug: add -c flag to debug caching dns server behaviour 2020-10-17 21:28:56 +02:00
netaudit
newuser newuser(8): fix reference to incorrect file server console command 2020-10-23 17:51:03 +10:30
nfsserver
nusbrc
partfs
pci
pcmcia
pem
ping
plan9.ini plan9.ini(8): document *nohpet= option 2021-01-17 21:28:45 +01:00
pop3 pop3(1): write options consistently 2020-11-08 09:34:39 -08:00
ppp
prep
qer upas/runq: bring back -a 2021-01-23 16:05:21 -08:00
rc-httpd
realemu
reboot
replica
rsa
scanmail
screenlock
scuzz
secstore
securenet
send
smart
smtp
snoopy
splitmbox
stats
statusbar aux/status^(bar msg): few small fixes (thanks umbraticus) 2020-12-06 11:55:27 +01:00
stub
swap
timesync
tinc
tlssrv
trampoline aux/trampoline: Implement inactivity timeout (-t option) 2020-06-27 16:40:53 +02:00
udpecho
vblade
venti
venti-backup
venti-fmt
vga aux/vga: remove panning, add screen tilting support 2020-12-27 23:10:39 +01:00
wol
wpa
zerotrunc zerotrunc(8): add manpage 2021-01-16 16:17:27 -08:00