Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224425 - sys-apps/openrc-0.2.5: keeps moving net.lo to force a symlink.
Summary: sys-apps/openrc-0.2.5: keeps moving net.lo to force a symlink.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-01 02:48 UTC by compguy284
Modified: 2008-06-01 03:01 UTC (History)
0 users

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 compguy284 2008-06-01 02:48:16 UTC
* Moved net service 'net.lo' to 'net.lo.openrc.bak' to force a symlink.
 * You should delete 'net.lo.openrc.bak' if you don't need it.
 * You should now update all files in /etc, using etc-update
 * or equivalent before restarting any services or this host.


Reproducible: Always

Steps to Reproduce:
1. emerge openrc
2.
3.




i believe this is the correct fix:
--- /usr/portage/sys-apps/openrc/openrc-0.2.5.ebuild    2008-05-31 12:47:30.000000000 -0700
+++ openrc-0.2.5.ebuild 2008-05-31 19:45:38.000000000 -0700
@@ -160,7 +160,7 @@
        # force net init.d scripts into symlinks
        for f in "${ROOT}"/etc/init.d/net.* ; do
                [[ -e ${f} ]] || continue # catch net.* not matching anything
-               [[ ${f} == *.net.lo ]] && continue # real file now
+               [[ ${f} == */net.lo ]] && continue # real file now
                [[ ${f} == *.openrc.bak ]] && continue
                if [[ ! -L ${f} ]] ; then
                        elog "Moved net service '${f##*/}' to '${f##*/}.openrc.bak' to force a symlink."