<?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>111373</bug_id>
          
          <creation_ts>2005-11-03 10:11 0000</creation_ts>
          <short_desc>=net-analyzer/arpwatch-2.1.11-r1 misses -u option</short_desc>
          <delta_ts>2005-12-07 06:55:04 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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>wschlich@gentoo.org</reporter>
          <assigned_to>netmon@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-11-03 10:11:51 0000</bug_when>
            <thetext>arpwatch gets patched with arpwatch-2.1.11-r1.diff.gz
this patch adds the -u option to the manpage but not to
the program itself. as I&apos;d like to be able to actually
use that option for security reasons (it would make
arpwatch drop root privs), can we please have the
functionality added?
also it would make sense to add a special user and group
to the system, both named arpwatch and have -u enabled
by default in the /etc/init.d/arpwatch or at least
/etc/conf.d/arpwatch. /var/arpwatch/ will then have to be
owned by that user/group combination as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>strerror@gentoo.org</who>
            <bug_when>2005-11-03 12:21:41 0000</bug_when>
            <thetext>I just had a look at this bug. After reading the patch there is nothing in there
that would create the drop privs so its not a question of the patch misapplying,
rather there needs be a different patch with that functionality. I had a quick
look over at packages.debian.org and couldn&apos;t see it there so unless you can
point me to the patch that gives this functionality i&apos;m tempted to remove the
changes to the man page and close this bug (perhaps after changing the ebuild a
little to be a bit more compliant in its file placement, ie to /var/lib/arpwatch).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-11-03 14:57:25 0000</bug_when>
            <thetext>The RedHat SRPM contains that patch, along with others:
http://ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os/i386/SRPMS/tcpdump-3.8.2-7.src.rpm
Can we please merge it?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-11-10 02:00:25 0000</bug_when>
            <thetext>Any news here?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-11-26 07:06:25 0000</bug_when>
            <thetext>*push*

Any reason no to merge the forementioned patch?!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>strerror@gentoo.org</who>
            <bug_when>2005-11-26 10:42:15 0000</bug_when>
            <thetext>The reason was that all the patches we had and the one you gave me conflicted.
Anyway given that I was in a nice mood I rewrote the relevant ones and made a
new patchfile. I have rewritten the ebuild and revbumped it while I was at it.
Check out cvs and let me know how it is.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-12-06 16:03:40 0000</bug_when>
            <thetext>It missses the pkg_setup so a new user is new user created. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-12-06 16:39:44 0000</bug_when>
            <thetext>--8&lt;--
pkg_postinst() {
        einfo &quot;If you want arpwatch to at boot then type:&quot;
        ewarn &quot;      rc-update add arpwatch default&quot;
}
--8&lt;--
it should say &quot;to START at boot&quot;...
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>strerror@gentoo.org</who>
            <bug_when>2005-12-07 06:55:04 0000</bug_when>
            <thetext>Fixed the typo in init script. Rewrote the part that was causing problems with
the previous version of arpwatch. I would like to do something about the current
&quot;stable&quot; version as well as it does not work in its current form, but i&apos;ll open
another bug about that. Thanks input.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>