Darren Reed wrote: > Cathy Zhou wrote: > >> ... >> But a question comes up when I tried to think how to deal with the >> case if the daemon exits unexpectedly, for example, devfsadmd is >> killed by someone: > > > If devfsadmd is being run through SMF, it should be restarted if it dies > unexpectedly. > If devfsadmd isn't being run in this manner then it should (bug.) >
I agree, except the problem is when devfsadmd restarts (and not through a reboot), how does devfsadmd restore the state from before the restart? > The proper answer here is that it should only exit if the service to > which it belongs is disabled. > > So I think your question or scenario should be, in what cases will the > service running devfsadmd want to be stopped and what should Solaris be > doing when/if it enters this state? > > Another scenario - what happens if Solaris tries to reboot and it cannot > start devfsadmd? > That could get ugly. That's not something I have thought of. I expect the scenario would be similar as if someone did "chmod a-x `which ifconfig`" and then rebooted the system, i.e. no network. > Darren > > > _________________________________ > clearview-discuss mailing list > clearview-discuss at opensolaris.org
