Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292261 - OpenRC migration guide issues
Summary: OpenRC migration guide issues
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/openrc-m...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-07 13:44 UTC by Martin Mokrejš
Modified: 2009-11-30 07:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2009-11-07 13:44:13 UTC
<quote>
   If you know you use mdraid and lvm but do not see them above, you would
   run the following to add initscripts to the boot runlevel:

   Code Listing 2.6: Adding raid and lvm to the boot runlevel
# rc-update add raid boot
</quote>
I use dmraid so I have dmraid symlink present in that directory. Probably
a typo in the guide. BTW, there is dmraid and dmraid, I forgot what is the difference but you might have more fun with writing the guide. ;)

ls -l /etc/runlevels/boot/
total 0
lrwxrwxrwx 1 root root 20 Jun  6  2008 bootmisc -> /etc/init.d/bootmisc
lrwxrwxrwx 1 root root 23 Jun  6  2008 consolefont -> /etc/init.d/consolefont
lrwxrwxrwx 1 root root 25 Jun  6  2008 device-mapper -> /etc/init.d/device-mapper
lrwxrwxrwx 1 root root 16 Jun  6  2008 fsck -> /etc/init.d/fsck
lrwxrwxrwx 1 root root 20 Jun  6  2008 hostname -> /etc/init.d/hostname
lrwxrwxrwx 1 root root 19 Jun  6  2008 hwclock -> /etc/init.d/hwclock
lrwxrwxrwx 1 root root 19 Jun  6  2008 keymaps -> /etc/init.d/keymaps
lrwxrwxrwx 1 root root 22 Jun  6  2008 localmount -> /etc/init.d/localmount
lrwxrwxrwx 1 root root 18 Jun  3  2008 mdraid -> /etc/init.d/mdraid
lrwxrwxrwx 1 root root 19 Jun  6  2008 modules -> /etc/init.d/modules
lrwxrwxrwx 1 root root 16 Jun  6  2008 mtab -> /etc/init.d/mtab
lrwxrwxrwx 1 root root 18 Jun  6  2008 net.lo -> /etc/init.d/net.lo
lrwxrwxrwx 1 root root 18 Jun  6  2008 procfs -> /etc/init.d/procfs
lrwxrwxrwx 1 root root 16 Jun  6  2008 root -> /etc/init.d/root
lrwxrwxrwx 1 root root 16 Jun  6  2008 swap -> /etc/init.d/swap
lrwxrwxrwx 1 root root 18 Jun  6  2008 sysctl -> /etc/init.d/sysctl
lrwxrwxrwx 1 root root 24 Jun  6  2008 termencoding -> /etc/init.d/termencoding
lrwxrwxrwx 1 root root 19 Jun  6  2008 urandom -> /etc/init.d/urandom
# ls -l /etc/runlevels/sysinit
total 0
lrwxrwxrwx 1 root root 17 May 29 20:08 devfs -> /etc/init.d/devfs
lrwxrwxrwx 1 root root 17 May 29 20:08 dmesg -> /etc/init.d/dmesg
lrwxrwxrwx 1 root root 16 May 29 20:08 udev -> /etc/init.d/udev
#

<quote>
   Also, /etc/conf.d/net no longer uses bash-style arrays for
   configuration. Please review /usr/share/doc/openrc/net.example for
</quote>
   -----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
                                I do not have this file

# find / -name net.example
/etc/conf.d/net.example (old stale file from baselayout-1)
/usr/share/doc/openrc-0.5.2-r1/net.example
#
Comment 1 William Hubbs gentoo-dev 2009-11-07 16:22:49 UTC
The documentation files are now stored in /usr/share/doc/openrc-${PV}
instead of /usr/share/doc/openrc.
This was done so that we store documentation for openrc the same way we
do for other packages.

I amalso working on a patch which will be applied to the ebuild which
will remove /etc/conf.d/net.example and /etc/conf.d/wireless.example.

Comment 2 Martin Mokrejš 2009-11-07 17:01:22 UTC
(In reply to comment #1)
> The documentation files are now stored in /usr/share/doc/openrc-${PV}
> instead of /usr/share/doc/openrc.
> This was done so that we store documentation for openrc the same way we
> do for other packages.

Well, find(1) found it for me. Just place "usr/share/doc/openrc-${PV}" into the document and it is fine.

 
> I am also working on a patch which will be applied to the ebuild which
> will remove /etc/conf.d/net.example and /etc/conf.d/wireless.example.

Hmm, I like having the *.example next to the file actually used especially as the syntax is always changing and if not syntax, then the comment lines. ;-)
Comment 3 nm (RETIRED) gentoo-dev 2009-11-30 07:39:25 UTC
Thanks for reporting; fixed in CVS.