[Initng] How to activate fake mode

Eric MSP Veith eveith at wwweb-library.net
Fri Jul 20 16:03:46 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm currently trying to extend the syslog plugin (setting log facility, 
storing logs in memory while syslog is not available, trying to automatically 
set the priority level). While looking for the fake mode, I discovered that 
InitNG, when started as regular user (UID != 0), completely tries to reboot 
the system. A lot of services fail (of course), but the effect is 
desastreous: login sessions terminate, daemons get killed, data is propably 
lost (on some NFS or CIFS mounts), and so on.

I filed a bug for this under http://www.initng.org/ticket/780. I'd like 
someone to review it, because I could as well get something wrong. However, I 
believe, that simply running /sbin/initng as a normal user should not have 
*any* effect except the fake mode.

And, besides that: I've not yet found out how to enter fake mode for testing 
my code. :-) Could please anybody explain this to me?

	Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGoMDDfkUtd7QNU/sRArNNAJ9kqOEYfJQ1yCZ9FC0S8cOZIaMVHgCglJNQ
zyGDDB7tSuWzezXE6V6YqTg=
=Vc5T
-----END PGP SIGNATURE-----


More information about the Initng mailing list