Gentoo Forums
Gentoo Forums
Quick Search: in
[NEWS] OpenRC and baselayout 2 will reach ~arch soon
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
dberkholz
Developer
Developer


Joined: 18 Mar 2003
Posts: 1008
Location: Rochester, MN, USA

PostPosted: Mon Apr 14, 2008 8:18 am    Post subject: [NEWS] OpenRC and baselayout 2 will reach ~arch soon Reply with quote

This forums thread is for discussion of the www.gentoo.org posting, "OpenRC and baselayout 2 will reach ~arch soon." Post your comments and suggestions here.
Quote:
OpenRC, the replacement for Gentoo's current services system (known as baselayout), will soon reach ~arch on all platforms. It replaces the previous bash-only rc system in baselayout with an rc system that has a C-based core and uses only POSIX-compliant shell code.

OpenRC runs natively on a wide variety of systems. Out of the box, it's compatible with Gentoo Linux, Gentoo/FreeBSD, Embedded Gentoo, and Gentoo VServers. It also works with FreeBSD and NetBSD and, once some installation problems get fixed, will be added to their package repositories, ports and pkgsrc.

Before upgrading, read the OpenRC Migration Guide so you update your system properly once OpenRC and baselayout 2 are installed.

_________________
Do unto others as you would have them do unto you.
What goes around comes around.
Blog: http://dberkholz.com/


Last edited by dberkholz on Mon Apr 14, 2008 5:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6271
Location: Blighty

PostPosted: Mon Apr 14, 2008 11:44 am    Post subject: Reply with quote

OpenRC is not yet in pkgsrc or ports :)
I'll be putting it into pkgsrc-wip myself (hopefully next week) after a few installation issues have been ironed out. Same issues affecting me not requesting it in FreeBSD ports either.
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
Hwoarang
Developer
Developer


Joined: 24 Feb 2007
Posts: 700
Location: Leeds, UK

PostPosted: Mon Apr 14, 2008 3:10 pm    Post subject: Reply with quote

I ve emerged baselayout-2.0. Everything works perfect and the boot sequence is so much faster :)

Great Job :)
Back to top
View user's profile Send private message
sian
Apprentice
Apprentice


Joined: 26 Jan 2004
Posts: 288

PostPosted: Mon Apr 14, 2008 6:51 pm    Post subject: Reply with quote

Me too. Good job and nice howto
_________________
Kernel : 2.6.32 - E17 - OpenRC-0.61 - gcc-4.4.3
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10914
Location: the dutch mountains

PostPosted: Mon Apr 14, 2008 8:24 pm    Post subject: Reply with quote

moved some posts to openrc support thread
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2277
Location: /home/zach

PostPosted: Mon Apr 14, 2008 9:58 pm    Post subject: Reply with quote

Since the article states that OpenRC is the new standard, will all new installations have baselayout-2 and OpenRC by default? Is it something that is part of the stage tarball, or the installation medium? Meaning, will it be the default for the 2007.0 releases, or will it be included in the 2008.0 releases / new stage tarballs?
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
2welly
n00b
n00b


Joined: 14 Apr 2008
Posts: 2

PostPosted: Mon Apr 14, 2008 11:06 pm    Post subject: Reply with quote

i wanna know that too, if it's in future a standard. For me Baselayout-2 and openRC works fine ;-)
Back to top
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Tue Apr 15, 2008 12:34 am    Post subject: Reply with quote

So, OpenRC is basically a version of baselayout done in C rather than bash?
_________________
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
Back to top
View user's profile Send private message
nightmorph
Developer
Developer


Joined: 23 Jan 2005
Posts: 1381
Location: SoCal

PostPosted: Tue Apr 15, 2008 4:33 am    Post subject: Reply with quote

Dralnu wrote:
So, OpenRC is basically a version of baselayout done in C rather than bash?

Did you bother to read the guide before asking the question? To sum up, no.

kalos wrote:
[. . . ]

Just like any other package, OpenRC and baselayout-2.x will have to be marked stable before they'd become part of the system.

For the record, 2007.0 was a long time ago, and I don't think it'll be in 2008.0 final, as it's not even unmasked yet, let alone stabilized.
_________________
<UzzaDead> What is CONFIG_USB_MON?
<petteyg> A Jamaican USB configuration?

dirtyepic: "We have more cupholders."

GDP || PR
Back to top
View user's profile Send private message
<3
l33t
l33t


Joined: 21 Oct 2004
Posts: 621

PostPosted: Tue Apr 15, 2008 6:35 am    Post subject: Reply with quote

might give these two a shot once i gets marked ~amd64. It's about time we got a replacement for the old baselayout. Is it possible to revert back if something doesn't work?
Back to top
View user's profile Send private message
lightseeker
n00b
n00b


Joined: 23 Jun 2007
Posts: 18
Location: Smederevo, Serbia

PostPosted: Tue Apr 15, 2008 8:55 am    Post subject: Reply with quote

Hi!
I've just synced and OpenRC and baselayout-2 have hit the tree (~amd64 here). It took me five minutes to merge the changes, rebooted and everything is working fine. :D

Thank you.
_________________
--- "Sungod, bless me with your rays..." ---
Back to top
View user's profile Send private message
dony
n00b
n00b


Joined: 01 Nov 2006
Posts: 70
Location: Germany

PostPosted: Tue Apr 15, 2008 10:44 am    Post subject: Reply with quote

Hi,

great HOWTO - takes 5 Min. to work ..... (~x86)

I use rc_parallel="YES" in /etc/rc.conf --> after initializing the kernel my Xserver starts immediately ... WOW the fastet boot
I've ever see!

cheers

Dony
Back to top
View user's profile Send private message
2welly
n00b
n00b


Joined: 14 Apr 2008
Posts: 2

PostPosted: Tue Apr 15, 2008 12:26 pm    Post subject: Reply with quote

that's right, my system start runs fast and smooth on ~amd64.
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1090
Location: Austria

PostPosted: Tue Apr 15, 2008 12:36 pm    Post subject: Reply with quote

running smoothly since 2.0 was masked and the info was just some lines on IRC :)
but the speed is amazing

Rei
_________________
Blog | btrfs | Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
Unbob
n00b
n00b


Joined: 17 May 2007
Posts: 2
Location: Norway

PostPosted: Tue Apr 15, 2008 9:06 pm    Post subject: Reply with quote

Great improvement. Thanks a lot to everyone involved. :D
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7170
Location: Pelotas, BR

PostPosted: Wed Apr 16, 2008 10:00 pm    Post subject: Reply with quote

Please don't post support questions here. Everything support related should go here.

Posts from people that insist posting support questions in this thread will be dustbinned.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
kostja
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 261
Location: D, 69239 Neckarsteinach

PostPosted: Thu Apr 17, 2008 11:17 am    Post subject: Reply with quote

It seems to work fine here. But be warned, it will delete you /etc/conf.d/net file. :evil:

Good, that I had a backup.

Konstantin
_________________
Registered Linux User #356484
Back to top
View user's profile Send private message
theDOC_23
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2004
Posts: 121
Location: Aachen, GER

PostPosted: Thu Apr 17, 2008 12:16 pm    Post subject: Reply with quote

kostja wrote:
It seems to work fine here. But be warned, it will delete you /etc/conf.d/net file. :evil:

Good, that I had a backup.

oh yes it does. luckily i didn't just reboot after finishing dispatch-conf. i had a backup buried somewhere too. would have been a pain in the a** to set up pppoe/inet again, without beeing able to look it up in the inet. the net.example file was also moved...
Back to top
View user's profile Send private message
LoSeR_5150
Guru
Guru


Joined: 20 Mar 2005
Posts: 455
Location: San Francisco, CA

PostPosted: Thu Apr 17, 2008 9:02 pm    Post subject: Reply with quote

Working great here. One quick question ( I don't think this is a "support" question but someone correct me if I'm wrong) On my x86 machine it backed up my net configuration as net.save, but it didn't do this on my amd64 box. Does anyone know of why this behavior would occur?
_________________
Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1

Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1
Back to top
View user's profile Send private message
SlitherX
n00b
n00b


Joined: 17 Apr 2008
Posts: 1

PostPosted: Thu Apr 17, 2008 10:33 pm    Post subject: Reply with quote

i am already using openrc in multiple vservers. it runs perfect
Back to top
View user's profile Send private message
<3
l33t
l33t


Joined: 21 Oct 2004
Posts: 621

PostPosted: Thu Apr 17, 2008 11:58 pm    Post subject: Reply with quote

my migration was successful although the boot time isn't that much different.
Back to top
View user's profile Send private message
uzz75
n00b
n00b


Joined: 29 Aug 2005
Posts: 33
Location: Italy

PostPosted: Fri Apr 18, 2008 5:51 am    Post subject: Reply with quote

There is no splash after upgrade....
_________________
Michele
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9106
Location: Córdoba (Spain)

PostPosted: Fri Apr 18, 2008 6:23 am    Post subject: Reply with quote

<3 wrote:
my migration was successful although the boot time isn't that much different.


I feel exactly the same. I really wonder what all the noise is about. This just confirms what we all already know: the placebo effect do exist. :P Or maybe it is just that you only notice some improvement if your boot time is >3 minutes or so.

I can't say if it's indeed faster or slower, but whatever it is, it's nothing radical like some people around says. Maybe people using xdm will notice something... I don't know since I boot on command line. Just a guess.
_________________
Gentoo Handbook
Back to top
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Fri Apr 18, 2008 7:23 am    Post subject: Reply with quote

How about some actual boot time results? Like in seconds? (Of course verifying that same services are started...)
_________________
Paludis, the way packages are meant to be managed.
Back to top
View user's profile Send private message
uzz75
n00b
n00b


Joined: 29 Aug 2005
Posts: 33
Location: Italy

PostPosted: Fri Apr 18, 2008 11:10 am    Post subject: Reply with quote

baselayout-1 ; no parallel : 82 sec.
baselayout-1 ; parallel : 70 sec.
baselayout-2;parallel : 56 sec.

I have sda2,sda3,sdb1 on reiserfs and it's take a lot of time during the boot sequence.(from grub about 30sec)

kernel just need about 10sec for load itself, detect all HW and just passe to init script.(from grub 10sec)

P5KPRO Q6600

also i use readahead but it don't improve a lot of time before gdm will start, the benefit is after readahead start everything it's faster, login via gdm it's also fast, drawing of gnome desktop have some improvement from readahead becase many lib and file are just in cache.

grub and kernel load to init : 11 sec
init to finish fsck 26 sec
fsck to finish readehaed 10 sec
readahead to gdm 11 sec
gdm to loging and finish draw desktop about 1-2 sec


rc-update show boot
fsck | boot
mtab | boot
root | boot
swap | boot
keymaps | boot
dmcrypt | boot
microcode_ctl | boot
localmount | boot
consolefont | boot
modules | boot
hostname | boot
net.lo | boot
procfs | boot
sysctl | boot
urandom | boot
termencoding | boot
readahead-list-early | boot
hwclock | boot
bootmisc | boot
device-mapper | boot
readahead-list | boot


uzzmaster ~ # rc-update show default
nfs | default
tor | default
xdm | default
xfs | default
ntp-client | default
hald | default
sshd | default
keymaps | default
distccd | default
acpid | default
dhcpd | default
cupsd | default
knock | default
local | default
named | default
mysql | default
samba | default
ulogd | default
fail2ban | default
vixie-cron | default
iptables | default
syslog-ng | default
courier-imapd-ssl | default
lm_sensors | default
consolekit | default
esound | default
courier-authlib | default
hdparm | default
net.eth0 | default
hddtemp | default
smartd | default
svscan | default
netmount | default
vmware | default
numlock | default
apache2 | default
apcupsd | default
cpufrequtils | default
bluetooth | default
portmap | default
alsasound | default
privoxy | default


mount
rootfs on / type rootfs (rw)
/dev/root on / type reiserfs (rw,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
none on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec)
/dev/sda1 on /boot type ext3 (rw,noatime)
/dev/sda3 on /home type reiserfs (rw,noatime)
/dev/sdb1 on /mnt/dati type reiserfs (rw,noatime)
none on /var/tmp/portage type tmpfs (rw,size=1024M,uid=250,gid=250)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
nfsd on /proc/fs/nfsd type nfsd (rw,noexec,nosuid,nodev)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
_________________
Michele


Last edited by uzz75 on Fri Apr 18, 2008 11:23 am; edited 4 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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