ref: 5b7d8e1f6fb4167e354545fef7e6dd6676986441
parent: 12fa017f3fc2687d3afb166fd30d9b134abb1da5
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Sep 21 14:11:52 EDT 2019
bootrc: remount devip after /dev/hostowner has been written by factotum devip remembers the attach uname so after we set hostowner we remount devip so future connections have the right owner.
--- a/sys/src/9/boot/bootrc
+++ b/sys/src/9/boot/bootrc
@@ -94,6 +94,10 @@
if(! ~ $#debugfactotum 0)
x=($x -p)
must $x
+
+ # remount ip inteface after hostowner is set
+ unmount '#I' /net >[2]/dev/null
+ bind -qa '#I' /net
}
# config method