OpenVZ Forum


Home » General » Support » Fedora 13, upstart problem
Re: Fedora 13, upstart problem [message #39871 is a reply to message #39838] Fri, 11 June 2010 15:13 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:

Could someone in the list know what is the exact call to /sbin/init done by vzctl-3.0.23?



static int _env_create(vps_handler *h, envid_t veid, int wait_p, int err_p,
        void *data)
{
---<snip>---
char *argv[] = {"init", "-z", "      ", NULL};
char *envp[] = {"HOME=/", "TERM=linux", NULL};
---<snip>---
logger(10, 0, "Starting init");
execve("/sbin/init", argv, envp);
execve("/etc/init", argv, envp);
execve("/bin/init", argv, envp);
---<snip>---
}


Quote:

what should it be to please upstart-0.6?


A common Linux kernel calls just /sbin/init

static void run_init_process(char *init_filename)
{
        argv_init[0] = init_filename;
        execve(init_filename, argv_init, envp_init);
}

static int noinline init_post(void)
{
---<snip>---
run_init_process("/sbin/init");       run_init_process("/etc/init");
run_init_process("/bin/init");
run_init_process("/bin/sh");

panic("No init found.  Try passing init= option to kernel.");
}


You can read
http://bugzilla.openvz.org/show_bug.cgi?id=436
it might be helpful.
 
Read Message
Read Message
Previous Topic: Unable to boot with OpenVZ kernel
Next Topic: Make VEs looked like the standalone nodes
Goto Forum:
  


Current Time: Tue Sep 09 12:08:25 GMT 2025

Total time taken to generate the page: 0.07449 seconds