<?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>171989</bug_id>
          
          <creation_ts>2007-03-24 00:49 0000</creation_ts>
          <short_desc>=net-analyzer/arpwatch-2.1.15-r3 privilege/ownership issue</short_desc>
          <delta_ts>2007-03-28 08:14:17 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>wschlich@gentoo.org</reporter>
          <assigned_to>pva@gentoo.org</assigned_to>
          <cc>netmon@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2007-03-24 00:49:50 0000</bug_when>
            <thetext>1. Installed =net-analyzer/arpwatch-2.1.15-r3
2. Ran &quot;emerge --config arpwatch&quot; (it did some magic, like adding 
   the user and group &quot;arpwatch&quot; as well as setting ARPUSER=&quot;arpwatch&quot;
   in /etc/conf.d/arpwatch)
3. Ran &quot;/etc/init.d/arpwatch start&quot;, that failed with the
   following syslog message:
   --8&lt;--
   arpwatch: fopen(/var/lib/arpwatch/eth0.dat): Permission denied
   --8&lt;--

Strangely, /var/lib/arpwatch/eth0.dat is root:root + 0600.
Even removing /var/lib/arpwatch/eth0.dat doesn&apos;t help -- it get&apos;s
recreated with the above mentioned ownership + permissions.

I suspect arpwatch to drop the privileges *after* the file
gets created?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pva@gentoo.org</who>
            <bug_when>2007-03-27 19:39:37 0000</bug_when>
            <thetext>Fixed in net-analyzer/arpwatch-2.1.15-r4.

And note. In net-analyzer/arpwatch-2.1.15-r4 I&apos;ve also fixed start/stop problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2007-03-28 08:14:17 0000</bug_when>
            <thetext>Thanks! :-)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>