2008/159 svcs -xq
Nicolas Williams
Nicolas.Williams at sun.com
Wed Feb 27 16:54:48 PST 2008
On Wed, Feb 27, 2008 at 04:24:51PM -0800, Liane Praza wrote:
> Ceri Davies wrote:
> >>+
> >>+ 3 Services exist in maintenance state.
> >
> >I'd suggest that it's worth adding an exit status for the degraded
> >state as well.
>
> Good catch.
Well... That wouldn't be good.
Currently idmapd can end up in degraded state IF the SMB server is
running in workgroup mode and a client (or local ZFS object) refers to a
SID other than a well-known SID or a SID relative to the server's.
That's because we've not yet resolved the matter of shared
configuration, and so idmapd doesn't know that the SMB server is in
workgroup mode (also, just because it is doesn't mean that the system
doesn't have an Active Directory account, and idmapd could still provide
useful mapping services to nfsmapid -- that isn't likely though, I
know).
So idmapd goes into degraded state when it can't talk to AD and some
mapping would require doing just that.
Besides, svc.startd doesn't actually implement degraded state at this
time (grumble).
I guess we still have time, before degraded is actually implemented, to
resolve the shared configuration issue. Or you could have another svcs
option to control whether degraded -> error.
Nico
--
More information about the opensolaris-arc
mailing list