OpenVZ Forum


Home » General » Support » service vz
service vz [message #822] Sun, 15 January 2006 16:46 Go to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
I'll knew, that openvz project is focused to Redhat, and some Redhat system.

But maybe with a view of compatibility it would be quite good to change in file /etc/init.d/vz

this

# Source function library.
. /etc/rc.d/init.d/functions


to something like that:

# Source function library.
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
elif [ -f /etc/rc.d/init.d/functions ; then
. /etc/rc.d/init.d/functions
else
echo "Could not find functions file. Exiting."
exit 1
fi

Re: service vz [message #829 is a reply to message #822] Mon, 16 January 2006 05:23 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On which distro do you have functions in /etc/init.d/?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: service vz [message #831 is a reply to message #829] Mon, 16 January 2006 05:45 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
trustix 3.0
Re: service vz [message #837 is a reply to message #831] Mon, 16 January 2006 12:39 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Can you then please file a bug to bugzilla.openvz.org, product openvz, component vzctl?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: service vz [message #859 is a reply to message #837] Mon, 16 January 2006 18:06 Go to previous message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
done.
Previous Topic: Suse 9.3 Image - Creating
Next Topic: Private IPs not working
Goto Forum:
  


Current Time: Sun Nov 03 05:49:29 GMT 2024

Total time taken to generate the page: 0.04906 seconds