Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a working rc-update with baselayout2/openrc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed May 25, 2011 12:24 am    Post subject: a working rc-update with baselayout2/openrc Reply with quote

As many people have trouble migrating to openrc/baselayout2, here's my rc-update show list
Have a look & compare what service is run on what runlevel
Code:
rc-update show
                 fsck |                                           boot
               sysctl |                                           boot
           localmount |                                           boot
        device-mapper |                                           boot
                dmesg |                 sysinit                       
                local |                         nonetwork default     
             netmount |                                   default     
                acpid |                                   default     
                cupsd |                                   default     
                 root |                                           boot
              hwclock |                                           boot
           ntp-client |                                   default     
                 dbus |                                   default     
                 sshd |                                   default     
           lm_sensors |                                   default     
           consolekit |                                   default     
              metalog |                                   default     
               procfs |                                           boot
              numlock |                                   default     
              hddtemp |                                   default     
            savecache |        shutdown                               
            alsasound |                                           boot
       udev-postmount |                                   default     
             net.eth0 |                                   default     
            killprocs |        shutdown                               
               net.lo |                                           boot
                 swap |                                           boot
              modules |                                           boot
             mount-ro |        shutdown                               
                 udev |                 sysinit                       
         termencoding |                                           boot
              urandom |                                           boot
                  lvm |                                           boot
             timidity |                                   default     
                devfs |                 sysinit                       
                  xdm |                                   default     
              keymaps |                                           boot
             bootmisc |                                           boot
             hostname |                                           boot
                 mtab |                                           boot
          consolefont |                                           boot
           vixie-cron |                                   default     

the rc-status, you'll see some services are start even not asked for (check the hotplugged+needed section)
Code:
rc-status
Runlevel: default
 metalog                                                           [  started  ]
 acpid                                                             [  started  ]
 dbus                                                              [  started  ]
 consolekit                                                        [  started  ]
 net.eth0                                                          [  started  ]
 ntp-client                                                        [  started  ]
 netmount                                                          [  started  ]
 xdm                                                               [  started  ]
 cupsd                                                             [  started  ]
 hddtemp                                                           [  started  ]
 lm_sensors                                                        [  started  ]
 numlock                                                           [  started  ]
 sshd                                                              [  started  ]
 timidity                                                          [  started  ]
 udev-postmount                                                    [  started  ]
 vixie-cron                                                        [  started  ]
 local                                                             [  started  ]
Dynamic Runlevel: hotplugged
 net.eth0                                                          [  started  ]
Dynamic Runlevel: needed
 sysfs                                                             [  started  ]
 udev-mount                                                        [  started  ]
 rpcbind                                                           [  started  ]
 xdm-setup                                                         [  started  ]
Dynamic Runlevel: manual


and my mounts as ref (less my disks, so only what should be a need is there)
udev is at devtmpfs and openrc is rc-svcdir
Code:
mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,noatime,commit=0)
devtmpfs on /dev type devtmpfs (rw,relatime,size=1552496k,nr_inodes=219575,mode=755)
proc on /proc type proc (rw,relatime)
rc-svcdir on /lib/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw)


And little list of know issues (that i have in mind of course, so sorry, but it's not the complete list of issues) :
- missing support for tmpfs in kernel : many threads speak about it, just make sure your kernel have it.
- udev cannot be build : use more recent kernel headers, not related to openrc/baselayout, but as everyone will goes with newer udev, it may help to know it
- mount segfault if an entry is incorrect in fstab (and if an entry have 0 option), see : https://bugs.gentoo.org/show_bug.cgi?id=366213 This will prevent tmpfs loading or some other fs. Check your dmesg
- strange output chars when starting a service with "net" in it -> you've fail to convert /etc/conf.d/net, see https://forums.gentoo.org/viewtopic-t-878615-highlight-.html

Sorry i didn't make this thread as a support thread (i'm not mad enough !). So don't ask support here, you won't get any from me. Make your own thread, and try to put some infos (emerge wgetpaste to paste them, some useful infos are emerge --info, fstab, mount, dmesg... things like that. But also telling if you change something like kernel, if it was working before...). Help the helpers, they are trying to help you...

I'll be glad to had your know problem and solve if you have more that should be put here, or to correct errors if i made some.
I hope it will help some of you. At least you have a base to compare with.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Wed May 25, 2011 5:34 pm    Post subject: Reply with quote

krinn wrote:
Sorry i didn't make this thread as a support thread (i'm not mad enough !). So don't ask support here, you won't get any from me.


Thats brutally honest, if nothing else. Others will provide support if questions are posted here.
I'm really just signing up to the thread, so it comes up in my 'view your posts' search.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Fri May 27, 2011 11:05 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Documentation, Tips & Tricks.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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