[belug-l] System zerschossen

frank.zimmermann.berlin at freenet.de frank.zimmermann.berlin at freenet.de
Mi Mär 21 17:41:09 CET 2012


Hallo Liste,

ich experimentiere gerade mit SELinux auf Debain und habe mir nun mein System zerschossen.

Ich kann nicht mehr booten und bekomme die folgenden Fehlermeldungen:
/init : 7: /etc/udev/udev.conf: to: not found
libudev: udev_new: inconsistent quoting in 'etc/udev/udev.conf'[], skip line
...
/scrpits/init-bottom/udev: 7: cannot open /root/dev/console: no such file
Kernel panic - not syncing : Attempted to kill init!
Pid: 1, comm: init Not tainted 3.2.0-2-amd64 #1
Call Trace:
? panic+0x95/0x1a5
? do_exit+0x95/0x732
? vfs_write+0xbb/0xe9
? sys_exit+0xf/0xf
? system_call_fastpath+0x16/0x1b

Ich bin der Anleitung unter http://wiki.debian.org/SELinux/Setup gefolgt, hatte auch alles gut geklappt bis ich die folgenden Punkte durch bin:
Add no_static_dev="1" to /etc/udev/udev.conf to prevent udev from providing the /dev/.static directory. Run update-initramfs-kall-u  to carry this config file change into initial ramdisk images.  This is  mostly a cosmetic issue as the system will work well with the .static  directory. 

Having static ttys/ptys means that they need to be relabelled  eventually. Linux has supported dynamic ptys for a long time, so first make sure that devpts is mounted by running mount|grepdevpts and then remove the static nodes by running rm-f/dev/[tp]ty[abcdepqrstuvwxyz][0-9a-f]. 

Seht Ihr eine Möglichkeit das System ohne Neuinstallation noch zu retten?

Danke Frank




---
Nutzen Sie freenet Mail optimal angepasst für Ihr iPhone, Android oder Nokia Handy auch von unterwegs.
Alle Infos und Download unter http://mail.freenet.de/mobile-email/index.html