svcadm enable -r fails when a dependency has multiple instances
svcadm enable -r of a service fails with "<fmri> depends on <service>, which has multiple instances", even though the dependency is already satisfied by one of the instances enabled. This is only correct behaviour when none of the instances are enabled.
[trisk@monolith]% svcs -xv network/physical ~ svc:/network/physical:nwam (physical network interface autoconfiguration) State: online since September 9, 2012 10:34:14 PM EDT See: man -M /usr/share/man -s 1M nwamd See: http://hub.opensolaris.org/bin/view/Project+nwam/ See: /var/svc/log/network-physical:nwam.log Impact: None. svc:/network/physical:default (physical network interfaces) State: disabled since September 9, 2012 10:34:07 PM EDT Reason: Disabled by an administrator. See: http://illumos.org/msg/SMF-8000-05 See: man -M /usr/share/man -s 1M ifconfig Impact: This service is not running. [trisk@monolith]% pfexec svcadm enable -r network/ssh ~ svcadm: svc:/network/ssh:default depends on svc:/network/physical, which has multiple instances.