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

Vamsi Krishna Brahmajosyula vamsikrishna.brahmajosyula at gmail.com
Mon Apr 18 17:42:14 UTC 2011


neat. I should have seen that before.

thanks anyway.

On Mon, Apr 18, 2011 at 11:10 PM, Lennart Poettering
<mzerqung at 0pointer.de>wrote:

> On Mon, 18.04.11 23:06, Vamsi Krishna Brahmajosyula (
> vamsikrishna.brahmajosyula at gmail.com) 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 at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20110418/628afd23/attachment.html 


More information about the devel mailing list