Port-xen archive

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

Re: Hotplug scripts not working.



On Thursday 18 June 2009 12:42:34 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?

Commonly, you can pass "rcvar" to any start script. It shows you then
which variable you have to set in /etc/rc.conf.

Also copy these start scripts to /etc/rc.d/
or set PKG_RCD_SCRIPT=yes in /etc/mk.conf and pkgsrc does this for you
when you *install* the packages.

Christoph


Home | Main Index | Thread Index | Old Index