View previous topic :: View next topic |
Author |
Message |
ancarpan2 n00b
Joined: 29 Mar 2004 Posts: 68
|
Posted: Tue Sep 23, 2008 8:03 am Post subject: openrc, baselayout2, bootchart and rc-svcdir |
|
|
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 |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Tue Sep 23, 2008 4:25 pm Post subject: Re: openrc, baselayout2, bootchart and rc-svcdir |
|
|
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 |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Nov 03, 2008 4:10 pm Post subject: |
|
|
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 |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Wed Nov 19, 2008 10:52 am Post subject: |
|
|
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 |
|
|
eaglex n00b
Joined: 03 Dec 2005 Posts: 15
|
Posted: Sun Nov 30, 2008 10:52 am Post subject: |
|
|
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 |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sun Nov 30, 2008 1:42 pm Post subject: |
|
|
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 |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1594 Location: Adelaide/Australia
|
Posted: Thu May 05, 2011 2:05 am Post subject: |
|
|
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 |
|
|
P.Kosunen Guru
Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
Posted: Sat May 07, 2011 12:03 pm Post subject: |
|
|
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:
|
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1594 Location: Adelaide/Australia
|
Posted: Sat May 07, 2011 2:35 pm Post subject: |
|
|
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 |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Sat May 07, 2011 6:00 pm Post subject: |
|
|
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 _________________ “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 |
|
|
P.Kosunen Guru
Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
Posted: Sun May 08, 2011 10:12 am Post subject: |
|
|
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 |
|
|
gentooP4 Apprentice
Joined: 20 Sep 2010 Posts: 182 Location: NZ
|
Posted: Fri May 13, 2011 12:01 pm Post subject: |
|
|
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 |
|
|
|