init nepracuje spravne

Petr Vanek vanous na penguin.cz
Pátek Listopad 16 04:55:24 CET 2001


dobry den,

stalo se mi to, ze jsem byl donucen preinstalovat svuj linuxbox,
jako vychozi distribuci jsem zvolil brutusware, ale ted se mi deje
to, co jsem jeste nikdy nevidel - jsem schopen pocitac nabootovat,
ale init vubec nechce brat _nektere_ veci deklarovane v /etc/inittab
, jako napriklad sysinit, wait pro runlevely a podobne. akceptuje
respawn - tzn. virt. konzole spusti, ale vubec nenastartuje spousteci
rc scripty. divne je taky to, ze se _samo_ provede namountovani vsech
disku z /etc/fstab a taky inicializace swapu. prikladam inittab,
ls z rc.d (tam se nachazeji start. scripty) a vse co vrati export.
shrnuto - init nepracuje jak ma :(, ani kdyz pak zkousim prepnout
runlevel pomoci init 3 ...  verzi initu jsem nasel pouze mezi export...

diky za nakopnuti do spravne casti
vanous

<cut inittab>
id:3:initdefault:
si:S:sysinit:/etc/rc.d/rc.S
su:1S:wait:/etc/rc.d/rc.K
rc:234:wait:/etc/rc.d/rc.S
ca::ctrlaltdel:/bin/init 6
l0:0:wait:/etc/rc.d/rc.0
l6:6:wait:/etc/rc.d/rc.6
c1:12345:respawn:/sbin/mingetty --noclear tty1
c2:1235:respawn:/sbin/mingetty tty2
c3:1235:respawn:/sbin/mingetty tty3
c4:1235:respawn:/sbin/mingetty tty4
c5:1235:respawn:/sbin/mingetty tty5
c6:1235:respawn:/sbin/mingetty tty6
#c5:1235:respawn:/bin/dptrn -i tty5
#c7:1235:respawn:/sbin/getty -L ttyS0 9600 vt102
#c7:1235:respawn:/bin/mingetty -x0 -s 38400 ttyS3


<cut export>
declare -x BOOT_IMAGE="plinux"
declare -x HOME="/root"
declare -x HOSTTYPE="i386"
declare -x INIT_VERSION="sysvinit-2.60"
declare -x INPUTRC="/etc/inputrc"
declare -x OSTYPE="Linux"
declare -x PATH="/bin:/usr/bin"
declare -x PREVLEVEL="N"
declare -x RUNLEVEL="3"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x TERM="linux"
declare -x TZ="MET"
declare -x _="/bin/vi"

<cat ls /etc/rc.d/>
drwxr-xr-x	2	0	0	1024	.
drwx--xr-x	5	0	0	2048	..
lrwxrwxrwx	1	0	0	4	rc.6 -> rc.0
-rwxr-xr-x	1	0	0	360	rc.K
-rwxr-xr-x	1	0	0	87	rc.M
-rwxr-xr-x	1	0	0	570	rc.S
-rwxr-xr-x	1	0	0	142	rc.0
-rwxr-xr-x	1	0	0	1295	mysql
-rwxr-xr-x	1	0	0	0	rc.S~
-rwxr-xr-x	1	0	0	0	rc.z~
-rwxr-xr-x	1	0	0	0	rc.y~

<cat lilo.conf>
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50

image=/boot/zimage
	label=linux
	root=/dev/hda2
	read-only

image=/boot/vmlinuz_2.0.38
	label=linux2
	root=/dev/hda2
	read-only
		
other =/dev/hda1
	label=dos

other =/dev/fd0
	label=a
-- 

bye

Vanous
-------------------------------------------------
Petr Vanek                       ..... ./\.  ....
Debian GNU Linux                 .. _|\|  |/|_ ..
vanous na penguin.cz                .. \        /...
http://www.penguin.cz/~vanous    ... >______< ...
Angus, Ontario, CA               ...... / .......
-------------------------------------------------
Registered linux user #217487
------------- další část ---------------
A non-text attachment was scrubbed...
Name: [žádný popis není k dispozici]
Type: application/pgp-signature
Size: 232 bytes
Desc: [žádný popis není k dispozici]
URL: <http://www.linux.cz/pipermail/linux/attachments/20011116/c4883577/attachment.sig>


Další informace o konferenci Linux