|
| Re: Customizing config files hypervm/kloxo [message #76328 is a reply to message #76279] |
Mon, 09 August 2010 07:09   |
moccamaster  Messages: 30 Registered: June 2010 |
Member LxCenter Staff |
|
|
I'm not sure if it fits in this category, but I think both Kloxo and HyperVM should stop overwriting /etc/inittab.
This is inittab from Fedora 13:
# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
#
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:
The inittab from Kloxo and HyperVM is very different, but it works because it contains the only statement that is not ignored, initdefault . I know it fixes the console problem in some cases, but maybe it could be solved by making inittab immutable in the template?
Installing Kloxo on Xen, XenServer, Virtuozzo and OpenVZ overwrites inittab, and HyperVM overwrites inittab when booting a VPS that have /etc/inittab (CentOS, Fedora, openSUSE++).
|
|
|
|
|