[BusyBox] ctrl-c exits kills init:getty

Brian T. btuch at usa.net
Fri Apr 25 00:04:15 UTC 2003



> On Thu Apr 24, 2003 at 05:44:00PM -0500, Brian T. wrote:
> > Hi,
> >
> > I recently upgraded our Embedded distro from Busybox 0.60.0 to 0.60.5.
Most
> > of the time now ctrl-c will kill getty when logged in through the
console,
> > and force users to log back in again.  I noticed that after upgrading,
when
> > the unit boots it prints out a "getty:" by itself on one line just
before
> > getting the /etc/issue login screen.  The older version of busybox
didn't do
> > this.  The unit will also print out "getty:" when ctrl-c is hit.  Has
anyone
> > else had this problem?  I ruled out that it is not Tinylogin (which is
> > getty) since I rolled back to Tinylogin 0.80.0 and I had the same
result.
> > (running BB 0.60.0 and Tinylogin 1.4 I don't have this problem).  I am
also
> > using the 2.4.20 kernel.  Anyone else seen this?
>
> When you say you are running on the console, are you really
> running on /dev/console?  What does your /etc/inittab file
> show?
>
>  -Erik
>

/dev/console is there, but the console is actually /dev/ttyS0 :

--snip--
[root at JBMgateway-v50 root]# cat /etc/inittab
::sysinit:/bin/sh /etc/rc
::respawn:/sbin/syslogd -n
::respawn:/sbin/klogd -n
::respawn:/bin/inetd
ttyS0::respawn:/bin/getty 9600 -

[root at JBMgateway-v50 root]#
--snip--

The Embedded unit only has 1 serial port (usually) and Ethernet, Frame
card...etc...








More information about the busybox mailing list