FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 04-18-2011, 05:36 PM
Vamsi Krishna Brahmajosyula
 
Default need a patch to make vanilla kernel call systemd instead of init

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?


thanks

--
vamsi

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-18-2011, 05:40 PM
Lennart Poettering
 
Default need a patch to make vanilla kernel call systemd instead of init

On Mon, 18.04.11 23:06, Vamsi Krishna Brahmajosyula (vamsikrishna.brahmajosyula@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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-18-2011, 05:42 PM
Vamsi Krishna Brahmajosyula
 
Default need a patch to make vanilla kernel call systemd instead of init

neat. I should have seen that before.

thanks anyway.

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

On Mon, 18.04.11 23:06, Vamsi Krishna Brahmajosyula (vamsikrishna.brahmajosyula@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@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/devel



--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 08:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org