Looking at the SMF properties for IPFilter, one of the
entries is presented like this:

config/entities fmri file://localhost/etc/ipf/ipf.conf

If I wanted to use http:// here, is this an appropriate
property to use or should this one be deprecated
and another used?

Which leads on to the real question and desire...

If I want to store a file location in an SMF property, I'd
like to be able to use that file location from a manifest
without having to build knowledge of how to interpret
the string as a URI into the manifest.

Hmmm, in case that sounds like double dutch, as an
example of what I'd like to be able to do in the startup
script for ipfilter is the following

$configfile = smf_fetchfile(`svcprop -p config/entities 
svc:/network/ipfilter`)
ipf -f $configfile

In this instance, smf_fetchfile would retrieve a file via http,
if required, and return some kind of local pathname.
smf_fetchfile would be something provded by /lib/svc/share/smf_include.sh

RFE material?
Or not in the direction being considered?

Darren


Reply via email to