Hi all,

I'm seeing something weird with inheritance of property group values
across instances, and I'm wondering if this is a bug in SMF?

My service is composed of a service bundle, and a series of instances.

The instances inherit most of their configuration from the parent bundle
(dependencies, start/stop methods, etc.) and I was hoping they would end
up being just an application property group, and not much more.

 - sources[1] at:
http://src.opensolaris.org/source/xref/jds/zfs-snapshot/src/var/svc/manifest/system/filesystem/

auto-snapshot.xml is the main service manifest, with
zfs-auto-snapshot*.xml declaring the instances.

One thing I wanted to have, was the general/action_authorization
property value get specified in the main service instead of declaring it
for each instance.  For some reason, when I do that without having that
property also set in the instance manifests, the zfssnap user gets
permission denied when trying to enable/disable the service.

Is this pilot-error or a bug?  Should the general property group get
inherited by instances too, or is it instance-specific?  The application
property group I declare in the service manifest gets inherited ok by
the instances.

        cheers,
                        tim

[1] I just pushed a change to make the instances explicitly declare the
general property group to work around the behaviour I'm seeing, but it
might take a while for the url above to get updated.


Reply via email to