# [OmniOS-discuss] Ang: Ang: Re: Ang: Re: Ang: Re: Ang: Re: Ang: Re: KVM and SMF

Dominik Hassler hasslerd at gmx.li
Thu Nov 6 17:47:54 UTC 2014

- Previous message: [OmniOS-discuss] Ang: Ang: Re: Ang: Re: Ang: Re: Ang: Re: Ang: Re: KVM and SMF
- Next message: [OmniOS-discuss] Ang: Re: Ang: Re: Ang: Re: KVM and SMF
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    try to name the dependency 'pfsense' instead of 'kvm/pfsense'. i don't
    think that '/' is an allowed character for property names...

    it would also help if you attach the manifest you are trying to import.

    as lauri mentioned before: you can set all the properties directly with
    svccfg, no need to fiddle around with the manifests.

    On 11/06/2014 04:07 PM, Johan Kragsterman wrote:
    > Here I am Again as a follow up...
    >
    >
    >
    > -----"OmniOS-discuss" <omnios-discuss-bounces at lists.omniti.com> skrev: -----
    > Till: Lauri Tirkkonen <lotheac at iki.fi>
    > Från: Johan Kragsterman
    > Sänt av: "OmniOS-discuss"
    > Datum: 2014-11-06 15:22
    > Kopia: omnios-discuss at lists.omniti.com
    > Ärende: [OmniOS-discuss] Ang: Re: Ang: Re: Ang: Re: Ang: Re: Ang: Re: KVM	and SMF
    >
    > 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
    >
    >
    >
    >
    >
    >
    > My kvm/pfsense is of coarse a firewall and router, and I wanted it to start before other VM's, så the other VM's could get a route directly when they start.
    >
    > So I set a dependency for my kvm/edu for kvm/pfsense, but that wasn't as easy as I thought it would. It failed with this msg:
    >
    >
    > root at omni:/mainpool/nfs/Backup/KVM# svccfg import edukvm.xml
    > svccfg: Service svc:/kvm/edu has property group with invalid name "kvm/pfsense" or type "dependency".
    > svccfg: Import of edukvm.xml failed.  Progress:
    > svccfg:   Service "kvm/edu": not reached.
    > svccfg:     Instance "default": not reached.
    > svccfg: Import of edukvm.xml failed.
    >
    >
    > For me this seems to be something like the kvm/pfsense service is not properly placed. Like other smf services who has their directories in:
    > /lib/svc/manifest and in /var/svc/manifest, like "application"  "device"  "milestone"  "network"  "platform"  "site"  "system".
    >
    > Could that be the case? Someone knows something about this, and what could be done? Like creating a directory for kvm? Or putting the service under an already existing directory?
    >
    > What do OmniTI do for managing this?
    >
    >
    > Regards Johan
    >
    >
    >
    >
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: 0xF9ECC6A5.asc
    Type: application/pgp-keys
    Size: 2686 bytes
    Desc: not available
    URL: <http://lists.omniti.com/pipermail/omnios-discuss/attachments/20141106/4789ac9d/attachment-0001.bin>

- Previous message: [OmniOS-discuss] Ang: Ang: Re: Ang: Re: Ang: Re: Ang: Re: Ang: Re: KVM and SMF
- Next message: [OmniOS-discuss] Ang: Re: Ang: Re: Ang: Re: KVM and SMF
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list