OpenVZ Forum


Home » General » Support » *SOLVED* Trying to create an ubuntu-edgy template.
Re: *SOLVED* Trying to create an ubuntu-edgy template. [message #9239 is a reply to message #7308] Fri, 22 December 2006 14:52 Go to previous messageGo to previous message
stec is currently offline  stec
Messages: 9
Registered: December 2006
Junior Member
I just got it work, applying a very small patch on the /etc/init.d/rc script that avoid output to go to /dev/console (that is obviously not a good idea in a VE.)

To patch /etc/init.d/rc, just add comments as shown here, so QUIET is always yes:

#if grep -w -q quiet /proc/cmdline 2>/dev/null; then
    QUIET=yes
#else
#    QUIET=no
#fi


Duno why this is an issue, but later in the script, if QUIET=no, an stty command has been changed compare to dapper:

dapper: (no condition) stty onlcr 0>&1
edgy: stty onlcr </dev/console >/dev/console 2>&1

This seems to make the rc script abord and produce the init error: no more processes left in this runlevel.

[Updated on: Fri, 22 December 2006 14:55]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: drbd with 2.6.9-023stab037.3-enterprise
Next Topic: *SOLVED* Yum dependency error installing stable ovzkernel on FC6
Goto Forum:
  


Current Time: Wed Jul 10 10:21:02 GMT 2024

Total time taken to generate the page: 0.02583 seconds