Gary Winiger wrote: >> >>Darren J Moffat wrote: >> >>>Riny Qian wrote: >>> >>> >>>>Darren J Moffat wrote: >>>> >>>> >>>>>Why do we need to expose the difference between >>>>>console-login and vconsole-login ? I don't think we >>>>>need and more importantly I don't see a benefit to >>>>>the admin in doing so. >>>>> >>>> >>>>The main reason is that the vconsole-login service is only available >>> >>We can check if we're in the global zone in the smf start method >>(console-login); if not, disable all virtual console instances. > > > In general services are delivered disabled. It would seem > more appropriate to enable the virtual instances when configured > rather than disable them where inappropriate. >
Yes, I agree. But this general principle seems not applied to services that are not available in local zones. I found that a lot of services doing that (nonglobal) check, e.g. network/nfs/server, system/filesystem/volfs.
