LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-21-2012, 06:52 AM   #1
Grady
LQ Newbie
 
Registered: Aug 2007
Posts: 15

Rep: Reputation: 10
Getty not spawning password prompt, hanging


My 'sandbox' partition boots up fine, starting all the early runlevel daemons/scripts correctly. However, when it begins 'entering runlevel 3', it just sits there, with no password prompt spawned. Going into a different runlevel doesn't help: it just stops at the same place.

I have recompiled and installed shadow (to ensure that agetty, init and login are all clean), as well as udev. My inittab lists the agetty location (/sbin) under PATH, and an example line is:
Code:
tty1:linux:/sbin/agetty /dev/tty1 9600
which appears to be sensible, though I have tried fiddling with, for example, getting it to autologin and get me a bash console, in case that helps (which it doesn't).

I can chroot into the partition from my 'working' one, but I can't seem to find any logs that would be helpful (is there such a log?), and can't find a way of getting init or agetty to be more verbose about what they're doing or what might be going wrong.

I am using Source Mage, if that helps. I can't seem to find a similar problem anywhere online, except in the case of a Xenserver setup which seems to be quite specific to that.

Thanks for any assistance.

Edited to add: changing virtual consoles doesn't work, it just stays where it is. But ctrl-alt-del does reboot.

Last edited by Grady; 05-21-2012 at 07:00 AM. Reason: More info
 
Old 05-22-2012, 01:13 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,826

Rep: Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874
I think the prompt is the last thing and it can be locked earlier not just in agetty. Have you tried to wait a bit, maybe a timeout will solve it?
 
Old 05-22-2012, 12:18 PM   #3
Grady
LQ Newbie
 
Registered: Aug 2007
Posts: 15

Original Poster
Rep: Reputation: 10
Timeout doesn't help, it just sits there.

Have tried using mingetty -- same thing. Using qlogin just gives the 'respawning too fast' error. So something seems to be stopping the getty types from actually getting a tty. My /dev tree seems to be created correctly. Perhaps this is some sort of permissions issue?

Am currently fiddling with 'upstart' as an alternative init system, which may be a workaround, though a lot of PT for what might be a simple problem.
 
Old 07-25-2012, 07:33 AM   #4
Phaal
LQ Newbie
 
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
Hullo!

Are you solved this problem? I have exactly the same problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question- Getty/virtual console prompt setting kapz Slackware 2 07-13-2010 11:28 AM
Login hanging after Password entered... JoeNeedsHelp Linux - Newbie 18 01-26-2006 01:23 PM
Does not prompt for password ssharma_02 Linux - Security 6 06-02-2005 01:51 AM
no password prompt stroh78 Linux - General 3 01-02-2001 09:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration