prevent factotum <-> authsrv deadlock

This commit is contained in:
cinap_lenrek 2011-12-02 01:38:21 +01:00
parent 861bc7d335
commit 02f6b14126
2 changed files with 6 additions and 1 deletions

View file

@ -12,7 +12,7 @@ bind -q #σ /shr
bind -a #¤ /dev
# authentication
mount -a /srv/factotum /mnt
mount -b /srv/factotum /mnt
# mount points
mount -a /srv/slashn /n

View file

@ -66,8 +66,13 @@ case `{ echo $sysname; ndb/query sys $sysname dom
for(i in `{awk '/u\ *$/{print $1}' /net/ipselftab}){
echo $i; ndb/ipquery ip $i dom; ndb/ipquery ip $i sys
} | sed 's,[^ ]+=,,g'}}
# cpu+auth server
# prevent factotum deadlock
aux/stub -d /mnt/keys
aux/stub -d /mnt/netkeys
auth/keyfs -wp -m /mnt/keys /adm/keys
aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp
case *