Tom, The bacula_sd.xml file is included. I have two other nearly identical files: bacula_fd.xml and bacula_dir.xml. You could get from one to the others with s/_sd/_fd/g or s/_sd/_dir/g. In the process of doing these, I failed to correct the service name the first time through, so after importing each xml file, I only had one service. I corrected the names and re-imported. The re-import of bacula_sd is what failed.
I've only begun trying to write the smf files, so no doubt there are better approaches than what I have below. Brian <?xml version='1.0'?> <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/ service_bundle.dtd.1'> <service_bundle type='manifest' name='export'> <service name='application/bacula_sd' type='service' version='0'> <create_default_instance enabled='true'/> <single_instance/> <dependency name='filesystem' grouping='require_any' restart_on='error' type='service'> <service_fmri value='svc:/system/filesystem/root'/> </dependency> <dependency name='network' grouping='require_any' restart_on='error' type='service'> <service_fmri value='svc:/network/service'/> </dependency> <dependency name='net-physical' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/network/physical'/> </dependency> <dependent name='bacula_sd_multi-user-server' restart_on='none' grouping='optional_all'> <service_fmri value='svc:/milestone/multi-user-server'/> </dependent> <exec_method name='start' type='method' exec='$BIN_DIR/bacula-sd - v -c $SCRIPT_DIR/bacula-sd.conf' timeout_seconds='1800'> <method_context> <method_environment> <envvar name='SCRIPT_DIR' value='/opt/local/bacula/etc'/> <envvar name='BIN_DIR' value='/opt/local/bacula/sbin'/> <envvar name='LD_LIBRARY_PATH' value='/usr/postgres/8.3/ lib'/> </method_environment> </method_context> </exec_method> <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'> <method_context/> </exec_method> <stability value='Unstable'/> </service> </service_bundle> On Nov 20, 2008, at 9:23 AM, Tom Whitten wrote: > Brian Banister writes: >> Tom, >> I get no error messages out of svccfg with or without the -f option, >> but the service remains. >> The pstack output follows. >> Brian >> >> core 'core' of 4169: svccfg import bacula_sd.xml > > Can I get a copy of bacula_sd.xml? I'd like to try to reproduce > this on a > test machine. > > tom