[Users] Problems w/ busybox's init in VPS

Enrico Weigelt weigelt at metux.de
Tue Mar 27 14:55:42 EDT 2007


* Enrico Weigelt <weigelt at metux.de> wrote:

Hi, 

> I've got problems with booting an busybox-based VPS: init does
> not seem to do anything (at least it does not run the boot 
> scripts) ?

I strace'd a little bit, and there are some strange things
going on:

* init tries to write to fd -1 ! (maybe it didn't get some 
  valid stdio passed on startup)
* it tries to do some tty specific ioctl()'s on fd 0, which 
  doesn't seem to be an tty (at least it gets ENOTTY)
* when reading /etc/inittab, it gets fd 0, so it seems no
  other fd's (ie. stdin, stdout, stderr) are open !
* when trying to open /dev/console, it gets permission denied.


Any suggest what could be wrong here ?

cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------


More information about the Users mailing list