Re: need a patch to make vanilla kernel call systemd instead of init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18.04.11 23:06, Vamsi Krishna Brahmajosyula (vamsikrishna.brahmajosyula@xxxxxxxxx) wrote:

> Hello,
> 
> I dont know if its the right place to ask this question.
> 
> I use fedora 15. I built a vanilla kernel. I observed that it calls the
> 'init' instead of systemd. Then I edited the grub entry making
> init=/bin/systemd which works fine. But i want to know if i can get the
> patch to the vanilla kernel that does the change in the source. I know a
> place (linux/init/main.c:init()) but was not sure if anything else needs to
> be done, i am sort of a newbie in terms of modifying the kernel .
> 
> Or if my first observation is wrong.
>  I have one other question, is init patched to call systemd in fedora 15 or
> is it done in the kernel?

On a systemd system /sbin/init is a symlink to /bin/systemd.

$ rpm -qf /sbin/init
systemd-24-1.fc15.x86_64
$ ls -l /sbin/init
lrwxrwxrwx. 1 root root 14  6. Apr 22:02 /sbin/init -> ../bin/systemd*

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux