1 |
I am using busybox for an embedded system. I have an issue I have never |
2 |
seen before and was hoping someone might be able to shine a little light on |
3 |
it. I am using and initramfs with /init as a simlink to /bin/busybox, my |
4 |
/etc/inittab looks like this: |
5 |
# /etc/inittab |
6 |
# |
7 |
# Copyright (C) 2001 Erik Andersen <andersen@××××××××.org> |
8 |
# |
9 |
# Note: BusyBox init doesn't support runlevels. The runlevels field is |
10 |
# completely ignored by BusyBox init. If you want runlevels, use |
11 |
# sysvinit. |
12 |
# |
13 |
# Format for each entry: <id>:<runlevels>:<action>:<process> |
14 |
# |
15 |
# id == tty to run on, or empty for /dev/console |
16 |
# runlevels == ignored |
17 |
# action == one of sysinit, respawn, askfirst, wait, and once |
18 |
# process == program to run |
19 |
|
20 |
# Startup the system |
21 |
null::sysinit:/bin/mount -o remount,rw / |
22 |
null::sysinit:/bin/mount -a |
23 |
null::sysinit:/bin/hostname -F /etc/hostname |
24 |
null::sysinit:/sbin/ifconfig lo 127.0.0.1 up |
25 |
null::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo |
26 |
|
27 |
# now run any rc scripts |
28 |
null::sysinit:/etc/init.d/rcS |
29 |
|
30 |
# Set up a couple of getty's |
31 |
tty1::respawn:/sbin/getty 38400 tty1 |
32 |
tty2::respawn:/sbin/getty 38400 tty2 |
33 |
|
34 |
# Put a getty on the serial port |
35 |
ttyS0::respawn:/sbin/getty -L ttyS0 9600 vt100 |
36 |
ttyS1::respawn:/sbin/getty -L ttyS1 9600 vt100 |
37 |
|
38 |
# Logging junk |
39 |
null::sysinit:/bin/touch /var/log/messages |
40 |
null::respawn:/sbin/syslogd -n -m 0 -s 800 -b 3 -L |
41 |
null::respawn:/sbin/klogd -n |
42 |
tty3::respawn:/bin/tail -f /var/log/messages |
43 |
|
44 |
# FTP is here because we want it to restart if it ever crashes |
45 |
# null::respawn:/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf |
46 |
|
47 |
# Stuff to do for the 3-finger salute |
48 |
::ctrlaltdel:/sbin/reboot |
49 |
|
50 |
# Stuff to do before rebooting |
51 |
null::shutdown:/etc/init.d/rcK |
52 |
null::shutdown:/usr/bin/killall klogd |
53 |
null::shutdown:/usr/bin/killall syslogd |
54 |
null::shutdown:/bin/umount -a -r |
55 |
null::shutdown:/sbin/swapoff -a |
56 |
|
57 |
When the system comes up everything looks normal. I have an login: prompt |
58 |
on the screen. When I try to login I get the message: |
59 |
login: This applet requires root priviledges! |
60 |
|
61 |
On tty3 I see that it is logged that the getty exits and restarts. |
62 |
|
63 |
Anyone seen something similar? |
64 |
|
65 |
Austin Morgan |
66 |
|
67 |
-- |
68 |
gentoo-embedded@g.o mailing list |