Actions
Bug #3201
opensvcadm enable -r fails when a dependency has multiple instances
Status:
New
Priority:
Low
Assignee:
-
Category:
cmd - userland programs
Start date:
2012-09-18
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
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.
No data to display
Actions