Re: [gentoo-user] In which order services are started?
Am 20.04.2010 21:28, schrieb Neil Bothwick: On Tue, 20 Apr 2010 19:47:55 +0200, Jarry wrote: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? You could turn on boot logging in rc.conf and look at /var/log/rc.log. How do I do this? My rc.conf doesn't contain anything that looks like a fitting parameter. There is no man-page for rc.conf, either. Thanks in advance, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] In which order services are started?
On Wed, 21 Apr 2010 09:50:07 +0200, Florian Philipp wrote: You could turn on boot logging in rc.conf and look at /var/log/rc.log. How do I do this? My rc.conf doesn't contain anything that looks like a fitting parameter. There is no man-page for rc.conf, either. rc_logger=YES in /etc/rc.conf for openrc. Baselayout1 has a similar setting somewhere. -- Neil Bothwick If Microsoft made cars: The airbag system would ask are you sure? before deploying. signature.asc Description: PGP signature
Re: [gentoo-user] In which order services are started?
On Wed, 21 Apr 2010 01:01:00 +0100, Peter Humphrey wrote: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? You could turn on boot logging in rc.conf and look at /var/log/rc.log. I think Jarry wanted to know what to tweak to change the order. I wanted to know this as well not long ago, but I didn't have the energy to chase it. (I wanted gpm to be started earlier in the sequence but without putting it in the boot run level.) If he did, that's not what he asked. You change the order by adding before/after statements to the scripts in /etc/init.d. I believe with openrc you can have a similar effect by setting rc_after or rc_before in the corresponding file in /etc/conf.d. I've never tried this but it is documented in /etc/rc.conf. -- Neil Bothwick IBM: Itty Bitty Mentality signature.asc Description: PGP signature
Re: [gentoo-user] In which order services are started?
Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. Wonko
Re: [gentoo-user] In which order services are started?
Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. Wonko It may be a coincidence but mine are alphabetical. Also, mine only shows the ones in the current runlevel, default at the moment. It does not list the ones in the boot runlevel. Dale :-) :-)
Re: [gentoo-user] In which order services are started?
On Wed, Apr 21, 2010 at 05:05:46AM -0500, Dale wrote: Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. Wonko It may be a coincidence but mine are alphabetical. Also, mine only shows the ones in the current runlevel, default at the moment. It does not list the ones in the boot runlevel. rc-status --all yoyo
Re: [gentoo-user] In which order services are started?
YoYo siska wrote: On Wed, Apr 21, 2010 at 05:05:46AM -0500, Dale wrote: Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. Wonko It may be a coincidence but mine are alphabetical. Also, mine only shows the ones in the current runlevel, default at the moment. It does not list the ones in the boot runlevel. rc-status --all yoyo It shows all runlevels but they are still all in alphabetical order. Dale :-) :-)
Re: [gentoo-user] In which order services are started?
Dale writes: Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. It may be a coincidence but mine are alphabetical. This may be a baselayout-2 thing then. Here the output looks like this: wo...@weird ~ $ rc-status boot|cut -d -f 2 boot hwclock modules lvm device-mapper dmcrypt fsck root mtab localmount hostname sysctl bootmisc procfs termencoding consolefont keymaps net.lo urandom swap wo...@weird ~ $ rc-status default|cut -d -f 2 default hdparm net.eth0 rsyncd metalog hald cupsd nfs nfsmount netmount gpm xdm alsasound distccd fcron lm_sensors mysql ntpd smartd sshd udev-postmount vmware local Wonko
Re: [gentoo-user] In which order services are started?
Alex Schuster wrote: Dale writes: Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. It may be a coincidence but mine are alphabetical. This may be a baselayout-2 thing then. Here the output looks like this: wo...@weird ~ $ rc-status boot|cut -d -f 2 boot hwclock modules lvm device-mapper dmcrypt fsck root mtab localmount hostname sysctl bootmisc procfs termencoding consolefont keymaps net.lo urandom swap wo...@weird ~ $ rc-status default|cut -d -f 2 default hdparm net.eth0 rsyncd metalog hald cupsd nfs nfsmount netmount gpm xdm alsasound distccd fcron lm_sensors mysql ntpd smartd sshd udev-postmount vmware local Wonko I'm still on baselayout 1 here. Your list does look different from mine tho. Every one of mine is alphabetical. Funny thing is, some geel most likely thought it would be neat to list them that way and went to the trouble of having it sort them for us. Osrt of like the world file. Mine is alphabetical there as well. Dale :-) :-)
Re: [gentoo-user] In which order services are started?
Dnia 2010-04-20, wto o godzinie 19:47 +0200, Jarry pisze: Hi, $SUBJECT says it all: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I tried to figure it out looking into /etc/init.d scripts, but there are a lot of depend/need/use/before statements, so I quicky lost trace... Jarry You could use the interactive way so you will be prompted to accept every service starts. You can do this by pouching I during OpenRC start (or something like this - there is some kind of message, during OpenRC start, something like Press I for interactive mode) -- Bartosz Szatkowski KeyFP: 1568 D5A7 B14C 0727 1C61 ACFB ABDE C08A DDB7 1F70 The freedom to study how a program works, and adapt it to your needs (freedom 1)
Re: [gentoo-user] In which order services are started?
On Tue, 20 Apr 2010 19:47:55 +0200, Jarry wrote: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? You could turn on boot logging in rc.conf and look at /var/log/rc.log. -- Neil Bothwick Experience is what you get when you didn't get what you wanted. signature.asc Description: PGP signature
Re: [gentoo-user] In which order services are started?
On Tuesday 20 April 2010 20:28:42 Neil Bothwick wrote: On Tue, 20 Apr 2010 19:47:55 +0200, Jarry wrote: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? You could turn on boot logging in rc.conf and look at /var/log/rc.log. I think Jarry wanted to know what to tweak to change the order. I wanted to know this as well not long ago, but I didn't have the energy to chase it. (I wanted gpm to be started earlier in the sequence but without putting it in the boot run level.) -- Rgds Peter.