<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>224425</bug_id>
          
          <creation_ts>2008-06-01 02:48 0000</creation_ts>
          <short_desc>sys-apps/openrc-0.2.5: keeps moving net.lo to force a symlink.</short_desc>
          <delta_ts>2008-06-01 03:01:06 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>baselayout</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>compguy284@yahoo.com</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>compguy284@yahoo.com</who>
            <bug_when>2008-06-01 02:48:16 0000</bug_when>
            <thetext>* Moved net service &apos;net.lo&apos; to &apos;net.lo.openrc.bak&apos; to force a symlink.
 * You should delete &apos;net.lo.openrc.bak&apos; if you don&apos;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 &quot;${ROOT}&quot;/etc/init.d/net.* ; do
                [[ -e ${f} ]] || continue # catch net.* not matching anything
-               [[ ${f} == *.net.lo ]] &amp;&amp; continue # real file now
+               [[ ${f} == */net.lo ]] &amp;&amp; continue # real file now
                [[ ${f} == *.openrc.bak ]] &amp;&amp; continue
                if [[ ! -L ${f} ]] ; then
                        elog &quot;Moved net service &apos;${f##*/}&apos; to &apos;${f##*/}.openrc.bak&apos; to force a symlink.&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-06-01 03:01:06 0000</bug_when>
            <thetext>thanks, fixed in cvs

http://sources.gentoo.org/sys-apps/openrc/openrc-0.2.5.ebuild?r1=1.2&amp;r2=1.3
http://sources.gentoo.org/sys-apps/openrc/openrc-9999.ebuild?r1=1.35&amp;r2=1.36</thetext>
          </long_desc>
      
    </bug>

</bugzilla>