[OmniOS-discuss] Ang: Re: Ang: Re: Ang: Re: Ang: Re: Ang: Re: KVM and SMF
Johan Kragsterman
johan.kragsterman at capvert.se
Thu Nov 6 14:21:34 UTC 2014
Hi!
-----Lauri Tirkkonen <lotheac at iki.fi> skrev: -----
Till: Johan Kragsterman <johan.kragsterman at capvert.se>
Från: Lauri Tirkkonen <lotheac at iki.fi>
Datum: 2014-11-06 14:31
Kopia: Jorge Schrauwen <sjorge+ml at blackdot.be>, omnios-discuss at lists.omniti.com
Ärende: Re: Ang: Re: Ang: Re: [OmniOS-discuss] Ang: Re: Ang: Re: KVM and SMF
On Thu, Nov 06 2014 14:27:20 +0100, Johan Kragsterman wrote:
> That is not parsable...
>
> root at omni:/mainpool/nfs/Backup/KVM# svccfg import pfkvm.xml
> pfkvm.xml:13: parser error : xmlParseEntityRef: no name
> <exec_method type='method' exec='/usr/bin/vmpfsense.sh &' name='start' timeout
> ^
> svccfg: couldn't parse document
> root at omni:/mainpool/nfs/Backup/KVM#
Then I guess you need to escape it ("&"). It's easier to set with
svccfg anyways.
That did the trick! Thanks! I bet it is many others that have been struggling with this as well...
And as well:
I've been looking at svccfg(1M) but can't say I can figure out what to do to get the service to demonize...
Would be nice to learn...
Regards Johan
--
Lauri Tirkkonen | +358 50 5341376 | lotheac @ IRCnet
More information about the OmniOS-discuss
mailing list