Kugutsumen wrote: > Hi, > > I would like to disable a lot of unwanted services on a minimal solaris > install. > > When I disable inetd (I am not using any rpc or inetd services on this > machine...) the removable media management fails to start... > > I should just disable smserver but what I don't understand is why > svc:/milestone/multi-user-server:default depends on smserver. > > svc:/network/rpc/smserver:default (removable media management) > State: uninitialized since Fri Nov 30 15:37:21 2007 > Reason: Restarter svc:/network/inetd:default is not running. > See: http://sun.com/msg/SMF-8000-5H > See: man -M /usr/share/man -s 1M rpc.smserverd > Impact: 3 dependent services are not running: > svc:/milestone/multi-user-server:default > svc:/system/basicreg:default > svc:/system/zones:default > > When I look at the manifest for multi-user-server milestone, it says I > shouldn't edit it. > > Is there any practical to disable this useless dependencies? There is no > reason to prevent the execution of init level 3 scripts because smserver is > disable. >
It's an "optional_all"-type dependency, so you don't need it to be enabled in order to reach multi-user-server. Just "svcadm disable smserver" and all should be fine. But it does seem like a fairly bogus dependency now; it was added originally as bug 6281026, when the old volume management code was run as a legacy service at run-level 3 and this was the way to achieve sequencing. Since Tamarack replaced vold, I don't think it's actually necessary any longer; you might wish to file a bug on that. Really there's no reason to disable inetd in general; it is inert unless you actually enable services for which it's the restarter, and generally you'll find yourself wondering why services that you do enable which need it end up in maintenance. Dave
