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

Re: [Xen-users] Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local


  • To: "Simon Gottschlag" <simon@xxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Peter Fastré" <peter.fastre@xxxxxxxxx>
  • Date: Mon, 1 Sep 2008 12:16:52 +0200
  • Cc:
  • Delivery-date: Mon, 01 Sep 2008 03:17:33 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=Z+09o3H0wtMZPeNWVaNaLuuI0SQ26hL7y0I7sBADkfxZ1F6zoMG79h7h1IoO/iqRYI HPkWNeH2Xebq2QeyaahB+qE6yBvXVeug9T3D69umFLiiVai7uVITwMN/+saP5Q+s4Fo2 QgJOcNPhvwPdYAH21u9tMV+Iu8YQcZk5THZ5I=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I've had the exact same issue with ubuntu hardy heron, using standard apt-get installs. Unbelievable that a distribution like this can be broken with this stupid mistake. It took me some time digging in the init-scripts to find the problem was in het following file:
Check your file: /etc/event.d/tty1, it should be like this:
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on stopped rc5

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /sbin/getty 38400 tty1

For some reason this file was changed into something with xvc0 and added some lines. I restored this file from a working system, and everything's ok now. Not sure what package caused the problem, though.

Peter



On Sun, Aug 31, 2008 at 12:20 AM, Simon Gottschlag <simon@xxxxxxxxxxxxx> wrote:
I've now tried adding hvc0 to /etc/securetty but nothing changed.
I've now noticed that it says "Loading local boot scripts (/etc/rc.local)          [OK]"
That has to mean it doesn't hang at rc.local but the one after rc.local or something like that.. ?
And the one behind S99rc.local is S99rmnologin:

/etc/rc2.d/S99rmnologin
/etc/rc3.d/S99rmnologin
/etc/rc4.d/S99rmnologin
/etc/rc5.d/S99rmnologin
(/etc/init.d/rmnologin)

I've attached it to this mail. Maybe you could send me yours and I'll check the if there's any difference.

murmel@xen:~$ md5sum /etc/init.d/rmnologin
e48b235c7c2ea0550f6a6ed2f3f769b3  /etc/init.d/rmnologin

Check and see if you got the same md5sum.-



On Sat, Aug 30, 2008 at 11:22 PM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
My ubuntu 8.04 /etc/event.d/tty1 has

exec /sbin/getty 38400 tty1

as it's last line.

my /etc/securrety file has:

those at the end for the xen consoles
xvc0
hvc0

The menu.lst is unmodified, seems fine to me...

It works for me.
Hope that helps,

Cheers,
Todd

--
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com



--
Simon Gottschlag
Alevägen 12, 44139
Alingsås, Sweden
Mobile: +46 70 88 93 582


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.