<?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>246021</bug_id>
          
          <creation_ts>2008-11-08 01:03 0000</creation_ts>
          <short_desc>emerging nfs-utils does not register /etc/exports as belonging to it if it already exists.</short_desc>
          <delta_ts>2008-11-09 07:19:03 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>Applications</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>smallnow@gmail.com</reporter>
          <assigned_to>net-fs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>smallnow@gmail.com</who>
            <bug_when>2008-11-08 01:03:21 0000</bug_when>
            <thetext>emerging nfs-utils with no /etc/exports, a default exports file is made and
$ qfile /etc/exports
shows nfs-utils.
Now emerge nfs-utils again when there already exists an /etc/exports, qfile /etc/exports commands show nothing (an orphaned file).
This is wrong. 
One obvious reason is that it inconsistent with how other packages work.

I tested this with 2 versions: 1.1.3 and the latest 1.1.4.



Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wormo@gentoo.org</who>
            <bug_when>2008-11-09 05:36:58 0000</bug_when>
            <thetext>The nfs-utils ebuild does purposefully leave /etc/exports alone if it exists, instead of using the normal mechanism of updating protected configs. However, it is not obvious _why_ it has this behavior; I&apos;ll leave it up to the maintainers to explain it... perhaps there was a historical reason that no longer applies?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-11-09 07:19:03 0000</bug_when>
            <thetext>the /etc/exports that always gets installed is an empty file, so it didnt make sense in the past to always bug people about &quot;upgrading&quot; their existing file to an empty one.  it still doesnt make any sense, but portage nowadays should bug you a lot less often, so i&apos;ll just drop it.

http://sources.gentoo.org/net-fs/nfs-utils/nfs-utils-1.1.4.ebuild?r1=1.3&amp;r2=1.4</thetext>
          </long_desc>
      
    </bug>

</bugzilla>