This patch adds a check to authsrv, if keyfs is running or not and then starts it. This will solve some annoying sit- uations, where you play with Listen and forget to start Li- sten in a new namespace on a remote machine that is hund- rets of kilometers away. Notes: Sun May 8 12:42:40 EDT 2005 rsc I'm not so sure about this one. This would have multiple keyfs running at the same time, and I'm not sure that they lock between themselves properly. Better to start it correctly to begin with. Reference: /n/sources/patch/sorry/authsrv-keyfs Date: Fri May 6 14:54:26 CES 2005 Reviewed-by: rsc --- /rc/bin/service.auth/authsrv.tcp567 Fri May 6 14:53:51 2005 +++ /rc/bin/service.auth/authsrv.tcp567 Fri May 6 14:53:48 2005 @@ -1,2 +1,6 @@ #!/bin/rc + +if(! test -e /mnt/keys/*/secret) + auth/keyfs -wp -m /mnt/keys /adm/keys >/dev/null >[2=1] + /bin/auth/authsrv -d $3 --- /rc/bin/service.auth/authsrv.il566 Fri May 6 14:54:09 2005 +++ /rc/bin/service.auth/authsrv.il566 Fri May 6 14:54:06 2005 @@ -1,2 +1,6 @@ #!/bin/rc + +if(! test -e /mnt/keys/*/secret) + auth/keyfs -wp -m /mnt/keys /adm/keys >/dev/null >[2=1] + /bin/auth/authsrv -d $3