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 atazz(8): fix probe formatting 2018-09-10 23:39:58 -07:00
auth
backup
boot Specifiy the restrictions on 9boot file names more clearly. 2019-11-17 16:17:15 -08:00
booting
cec
cifsd cifsd(8): fix typo (thanks senthil) 2020-06-18 12:11:06 +09:30
cpuid
cpurc cpurc: remove obsolete device binds, run diskparts after $sysname is known. remove /env/boottime. document. 2018-04-12 21:30:28 +02:00
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 ip/ipconfig: make ra6 daemon less chatty, log to /sys/log/ipconfig instead of /sys/log/v6routeradv 2018-08-15 21:54:42 -04:00
ipserv
kbdfs console(8): add console command and manpage 2019-12-09 17:44:28 +01:00
listen listen(1): implement one-shot mode flag for listen1 (thanks kivik) 2020-02-02 20:31:48 +01:00
lp manpages: shut up about tex (1) 2018-02-28 12:55:48 -08:00
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 ppp: set source specific default route regardless of primary flag, set link speed thru new ctl message when -b is specified 2018-05-10 19:36:14 +02:00
prep
qer upas/runq: bring back -a 2021-01-23 16:05:21 -08:00
rc-httpd
realemu
reboot
replica
rsa auth/rsa2asn1: implement private key export with -a flag (thanks kvik) 2019-08-30 07:34:35 +02:00
scanmail
screenlock
scuzz
secstore
securenet
send
smart
smtp
snoopy
splitmbox
stats stats(8): document -z flag (thanks xcko) 2018-06-22 02:02:46 +00:00
statusbar aux/status^(bar msg): few small fixes (thanks umbraticus) 2020-12-06 11:55:27 +01:00
stub
swap
timesync
tinc tinc(8): add history section 2019-07-02 22:24:10 +09:30
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