LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-25-2009, 06:32 PM   #1
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 249

Rep: Reputation: 31
Problem with busybox init `respawn'ing processes


I have a linux distribution that uses busybox init. After tweaking, some additions do not seem to have any effect. Here's my inittab file:
Code:
::sysinit:/etc/rc.d/rc.sysinit
tty1::respawn:/sbin/getty 38400 tty1
S0::respawn:/sbin/getty ttyS0
::shutdown:/etc/rc.d/rc.shutdown
::ctrlaltdel:/sbin/reboot
I added `SO' so that I can login via a RS-232 serial port, but after booting, the getty process does not seem to be running. Any idea what the problem is?
 
Old 10-01-2009, 03:39 AM   #2
dave.donaghy
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 1
Should be "S0" by "ttyS0"?
 
Old 10-01-2009, 10:30 AM   #3
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 249

Original Poster
Rep: Reputation: 31
If I am correct, init only allows up to four characters for the label.
 
Old 12-19-2009, 12:50 PM   #4
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 249

Original Poster
Rep: Reputation: 31
Actually, that works! Apparently busybox init uses the first field not as a label, but as the device name for the controlling terminal of the process. Thanks!
 
  


Reply

Tags
busybox, init, inittab


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
INIT: no more processes left on this runlevel sanu Linux - General 1 10-15-2006 04:21 PM
Some init processes fail on boot Corbiere Linux - Software 0 03-30-2006 03:04 AM
INIT: no more processes left in this runlevel netsina Red Hat 3 07-04-2005 04:21 AM
Tweaking Init processes. longnam Debian 2 03-23-2005 10:02 AM
INIT: no more processes left in this runlevel ..:eMa:.. Linux - Newbie 8 10-29-2003 12:49 PM


All times are GMT -5. The time now is 10:30 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration