Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Hotplug scripts not working.



On Thu, Jun 18, 2009 at 12:42:34PM +0200, Goran wrote:
> First, thanks for helping, Manuel.
> 
> Second, I still have issues. Due to my long Linux and short NetBSD
> experiences I've made one (two) simple failure(s):
> 
> # xend start
> # xenbackendd start
> 
> But...
> 
> # which xend
> /usr/pkg/sbin/xend
> 
> # which xenbackendd
> /usr/pkg/sbin/xenbackendd
> 
> These are binaries not start scripts. So I looked out and found:
> 
> # ls /usr/pkg/share/examples/rc.d/xen*
> /usr/pkg/share/examples/rc.d/xenbackendd
> /usr/pkg/share/examples/rc.d/xend
> /usr/pkg/share/examples/rc.d/xendomains
> 
> Now I tried to start the scripts:
> 
> # /usr/pkg/share/examples/rc.d/xend start
> /usr/pkg/share/examples/rc.d/xend: WARNING: $xend is not set properly -
> see rc.conf(5).
> 
> # /usr/pkg/share/examples/rc.d/xenbackendd start
> /usr/pkg/share/examples/rc.d/xenbackendd: WARNING: $xenbackendd is not
> set properly - see rc.conf(5).
> 
> What should I do with these scripts to setup xen correctly?

copy them to /etc/rc.d/
then edit /etc/rc.conf and add
xend=YES
xenbackendd=YES

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index