LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Development Forums » General Development » Customizing config files hypervm/kloxo(Need your input)
Customizing config files hypervm/kloxo [message #76279] Sat, 07 August 2010 17:15 Go to next message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2068
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

As many knows already, the products are overwriting config files each time scavenge and upcp is running.

Some ppl want to customize things and everytime the customized files are reset by defaults.

My thought, that it will act by default what it is doing now and by running a script with some commands that the products don't touch anything.
Like
/script/disable-config-overwrites
/script/enable-config-overwrites
or something like that Smile


What files you want to edit and don't want to be overwritten?
Post it here and don't duplicate them.





LxCenter - System Operations
Re: Customizing config files hypervm/kloxo [message #76328 is a reply to message #76279] Mon, 09 August 2010 07:09 Go to previous messageGo to next message
moccamaster is currently offline moccamaster  Norway
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 Smile. 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++).
Re: Customizing config files hypervm/kloxo [message #76336 is a reply to message #76328] Mon, 09 August 2010 07:46 Go to previous messageGo to next message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2068
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

What is your suggestion?

Never do things with inittab? (not at install time not after reboots etc, just remove the code from source...)

Or ...





LxCenter - System Operations
Re: Customizing config files hypervm/kloxo [message #76339 is a reply to message #76336] Mon, 09 August 2010 08:23 Go to previous message
moccamaster is currently offline moccamaster  Norway
Messages: 30
Registered: June 2010
Member
LxCenter Staff
I would like to remove the code that replaces inittab, but I'm not sure of the consequenses. At least it should be removed from Kloxo, there's some posts on the forum and a bug (#258) related to this.

Copying inittab will only fix the console problem for CentOS and older Fedora, I can try to create a CentOS template with immutable inittab and see if it helps. I think tar will store extended attributes, so it should work.
Previous Topic:Need help?
Next Topic:Developer Offer
Goto Forum:
  


Current Time: Wed May 22 19:22:20 EDT 2013

Total time taken to generate the page: 0.01061 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software