Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openrc, baselayout2, bootchart and rc-svcdir
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ancarpan2
n00b
n00b


Joined: 29 Mar 2004
Posts: 68

PostPosted: Tue Sep 23, 2008 8:03 am    Post subject: openrc, baselayout2, bootchart and rc-svcdir Reply with quote

Hello,

I've installed baselayout2 and openrc and I'm quite satisfied with it but even though the system boots correctly there are a couple of issues left:
I don't know if these 2 symptoms are related, but anyway here they are:

1. rc-svcdir

After the boot sequence ends I still have a rc-svcdir directory mounted: what is this? Is it ok to have it there?

Code:
nibbler ~ # mount
rootfs on / type rootfs (rw)
/dev/hda1 on / type ext3 (rw,noatime,errors=continue,data=ordered)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
rc-svcdir on /lib/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,size=1024k,mode=755)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
securityfs on /sys/kernel/security type securityfs (rw,noexec,nosuid,nodev)
nfsd on /proc/fs/nfs type nfsd (rw,noexec,nosuid,nodev)



2, bootchart doesnt create /var/log/bootchart.tgz anymore: is it supposed to work with oprnrc+baselayout2

Thanks.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Tue Sep 23, 2008 4:25 pm    Post subject: Re: openrc, baselayout2, bootchart and rc-svcdir Reply with quote

ancarpan2 wrote:

1. rc-svcdir

After the boot sequence ends I still have a rc-svcdir directory mounted: what is this? Is it ok to have it there?

As I understand, it keeps track of what services are started and what state they're in. It's perfectly normal.

ancarpan2 wrote:

2, bootchart doesnt create /var/log/bootchart.tgz anymore: is it supposed to work with oprnrc+baselayout2

Not sure why that's happening... It works for me.
Are you sure you have it set correctly in grub.conf?
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Mon Nov 03, 2008 4:10 pm    Post subject: Reply with quote

about the lack of bootchart creation

I still don't have a bootchart created in /var/log

I *do* have the init= line in grub.conf

anyone find a fix for this?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1191
Location: Austria

PostPosted: Wed Nov 19, 2008 10:52 am    Post subject: Reply with quote

bootchart requires to be compiled with USE="java" to generate graphics.
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
eaglex
n00b
n00b


Joined: 03 Dec 2005
Posts: 15

PostPosted: Sun Nov 30, 2008 10:52 am    Post subject: Reply with quote

albright wrote:
I still don't have a bootchart created in /var/log


What fixed it for me was making sure /tmp wasn't getting wiped. Hope it works for you too.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sun Nov 30, 2008 1:42 pm    Post subject: Reply with quote

yes, it's working now. But it's not very pleasant watching
the details of my notebook taking 30 seconds to get to
X startup ... :?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1579
Location: Adelaide/Australia

PostPosted: Thu May 05, 2011 2:05 am    Post subject: Reply with quote

I just updated to baselayout-2.
The wiki gives instructions on setting BootChart up.

I had a couple of issues to start with on baselayout-2 but sorted them fairly quickly, mainly my network disappeared and /etc/net.lo was empty, requiring me to re-install openrc - no idea what happened there.

I also had to fine-tune a couple of /etc/init.d scripts plus I also found that the baselayout-2 does not ignore ~ files (emacs backup files).

Anyway, since it appears that openrc does not support parallel startup, I have left that disabled but my system seems to boot marginally faster (around 5 seconds) but the boot up is a lot less confusing now that things start serially.

It would be nice to see in the boot chart a little more activity in the CPU and disk, it gives the impression that my machine spends a lot of it's time sitting around doing nothing, rather than getting on with the task of booting!

See my before and after BootCharts.
_________________
...Lyall
Back to top
View user's profile Send private message
P.Kosunen
Guru
Guru


Joined: 21 Nov 2005
Posts: 309
Location: Finland

PostPosted: Sat May 07, 2011 12:03 pm    Post subject: Reply with quote

lyallp wrote:
Anyway, since it appears that openrc does not support parallel startup, I have left that disabled but my system seems to boot marginally faster (around 5 seconds) but the boot up is a lot less confusing now that things start serially.


/etc/rc.conf:
Code:
rc_parallel="YES"
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1579
Location: Adelaide/Australia

PostPosted: Sat May 07, 2011 2:35 pm    Post subject: Reply with quote

Quote:
/etc/rc.conf:
Code:
rc_parallel="YES"


and the three lines above that, in /etc/rc.conf
Code:
# WARNING: whilst we have improved parallel, it can still potentially lock
# the boot process. Don't file bugs about this unless you can supply
# patches that fix it without breaking other things!

_________________
...Lyall
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Sat May 07, 2011 6:00 pm    Post subject: Reply with quote

lyallp wrote:
Quote:
/etc/rc.conf:
Code:
rc_parallel="YES"


and the three lines above that, in /etc/rc.conf
Code:
# WARNING: whilst we have improved parallel, it can still potentially lock
# the boot process. Don't file bugs about this unless you can supply
# patches that fix it without breaking other things!


Well, does it lock the boot process? I'm gonna bet you it won't :P
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
P.Kosunen
Guru
Guru


Joined: 21 Nov 2005
Posts: 309
Location: Finland

PostPosted: Sun May 08, 2011 10:12 am    Post subject: Reply with quote

lyallp wrote:

and the three lines above that, in /etc/rc.conf
Code:
# WARNING: whilst we have improved parallel, it can still potentially lock
# the boot process. Don't file bugs about this unless you can supply
# patches that fix it without breaking other things!


Code:
rc_depend_strict="YES"


I haven't seen problems, though also use depend_strict.
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Fri May 13, 2011 12:01 pm    Post subject: Reply with quote

Parallel works fine for me too.
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum