<?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>159429</bug_id>
          
          <creation_ts>2006-12-29 16:45 0000</creation_ts>
          <short_desc>app-arch/tar - /etc/rmt is a symlink to a binary file</short_desc>
          <delta_ts>2006-12-29 17:22:48 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>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>divided.mind@gmail.com</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>divided.mind@gmail.com</who>
            <bug_when>2006-12-29 16:45:55 0000</bug_when>
            <thetext>Currently in Gentoo /etc/rmt is a direct symlink to a binary file.
This has the nasty property of having a binary file in /etc, a directory which is often grepped and processed as text.

I&apos;d like to suggest putting a wrapper script instead. Debian already did.
Cf. http://lists.debian.org/debian-devel/1999/07/msg00031.html and http://www.gnusolaris.org/cgi-bin/trac.cgi/browser/gnusolaris1/tar/trunk/debian/rmt.sh?rev=20255

This wrapper script would contain a word of explanation and wouldn&apos;t confuse processes expecting ASCII in /etc anymore.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-12-29 17:12:34 0000</bug_when>
            <thetext>forcing grep to process everything as text is just stupid anyways ... doing a normal grep on /etc ignores all the binary files

added wrapper script because of the neat explanation rather than catering to people forcing grep to do lame things</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>divided.mind@gmail.com</who>
            <bug_when>2006-12-29 17:22:48 0000</bug_when>
            <thetext>Whew... that was fast.

About grep, maybe it was a lame explanation indeed, but there isn&apos;t only grep, and some things (especially hand-made) may choke. Besides, FHS says that `No binaries may be located under /etc.&apos; &lt;http://www.pathname.com/fhs/2.2/fhs-3.7.html&gt; (Granted, it was a symlink, I&apos;m not sure how it fits in with the standard.)

Anyway, whatever the rationale, thanks for fixing it, and that quick :-)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>