Re: Proposal - preserve freedom of choice of init systems - SysV is FINE.
System V is NOT hard to "maintain"
The scripts were written YEARS ago. They're fine. They do NOT need to be changed.
Debian SysV has concurrent boot aswell.
Systemd is a poison apple. 200k lines of unaudited root privlege code. A consulting
service to go along with this new _operating system_
Here's an under 100 line init with concurrent boot:
#include <signal.h>
#include <unistd.h>
int main()
{
sigset_t set;
int status;
if (getpid() != 1) return 1;
sigfillset(&set);
sigprocmask(SIG_BLOCK, &set, 0);
if (fork()) for (;;) wait(&status);
sigprocmask(SIG_UNBLOCK, &set, 0);
setsid();
setpgid(0, 0);
return execve("/etc/rc", (char *[]){ "rc", 0 }, (char *[]){ 0 });
}
>/etc/rc is a shell script
>syslogd && getty ; udev ; network-config ; sshd & cron & nginx
see how much bullsht systemd is.
_____________________________________________________________
Washington DC's Largest FREE Email service. ---> http://www.DCemail.com ---> A Washington Online Community Member --->
http://www.DCpages.com
Reply to: