OpenSolaris

  subsites   code review   repo   packages   bugs   defect   polls   planet
You are not signed in. Sign in or register.

heads-up: inetd warnings on systems installed before S10FCS

Date: Wed, 2 Nov 2005 13:17:32 -0800 (PST)
From: David Stafford <David dot Stafford at eng dot sun dot com>
To: onnv-gate at onnv dot eng dot sun dot com
Subject: heads-up: inetd warnings on systems installed before S10FCS



After the fix of 6311192 smf/inetd no longer allows duplicate RPC services.
If you BFU a computer that was installed before S10FCS to onnv_27, "svcs"
will show you something like

....
maintenance    15:29:52 svc:/network/rpc-100083_1/rpc_tcp:tcp
maintenance    15:29:52 svc:/network/rpc-100068_2-5/rpc_udp:udp
maintenance    11:08:53 svc:/network/rpc-100424_1/rpc_ticotsord:ticotsord

You will aso see syslog errors like:

Nov  1 14:08:24 coupe inetd[100421]: [ID 702911 daemon.error] Too many 
bind failures for instance svc:/network/rpc-100083_1/rpc_tcp:tcp, 
transitioning to maintenance
Nov  1 14:08:24 coupe inetd[100421]: [ID 702911 daemon.error] Too many 
bind failures for instance svc:/network/rpc-100068_2-5/rpc_udp:udp, 
transitioning to maintenance
Nov  1 14:08:24 coupe inetd[100421]: [ID 702911 daemon.error] Too many 
bind failures for instance 
svc:/network/rpc-100424_1/rpc_ticotsord:ticotsord, transitioning to 
maintenance


This is because the instance names of those services were changed late in 
S10 and the old FMRIs were never cleaned off your computer.  In fact, the 
services are probably running just fine under the newer FMRIs (which end 
in :default). You can safely destroy the services with

svccfg disable svc:/network/rpc-100083_1/rpc_tcp:tcp
svccfg disable svc:/network/rpc-100068_2-5/rpc_udp:udp
svccfg disable svc:/network/rpc-100424_1/rpc_ticotsord:ticotsord
svccfg delete svc:/network/rpc-100083_1/rpc_tcp:tcp
svccfg delete svc:/network/rpc-100068_2-5/rpc_udp:udp
svccfg delete svc:/network/rpc-100424_1/rpc_ticotsord:ticotsord

Do not delete the ":default" instances of the services.   If the default
instances of any of these services were placed into maintenance mode,
execute "svcadm clear <service-name>" after aplying the above to restart it.

Thanks to Andrei Dorofeev for noticing and reporting the problem. Sorry 
for the inconvenience.