From nobody@FreeBSD.org  Thu Oct  3 06:51:49 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 340E137B401
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Oct 2002 06:51:49 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E803C43E4A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Oct 2002 06:51:48 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g93Dpl7R038024
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 3 Oct 2002 06:51:47 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g93Dpl9S038023;
	Thu, 3 Oct 2002 06:51:47 -0700 (PDT)
Message-Id: <200210031351.g93Dpl9S038023@www.freebsd.org>
Date: Thu, 3 Oct 2002 06:51:47 -0700 (PDT)
From: Leonardo Martins <lmartins@sspj.go.gov.br>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Weird 'permission denied' in /tmp for port misc/amanda 2.4.3b4
X-Send-Pr-Version: www-1.0

>Number:         43630
>Category:       misc
>Synopsis:       Weird 'permission denied' in /tmp for port misc/amanda 2.4.3b4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jeh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 03 07:00:11 PDT 2002
>Closed-Date:    Mon Dec 02 11:10:31 PST 2002
>Last-Modified:  Mon Dec 02 11:10:31 PST 2002
>Originator:     Leonardo Martins
>Release:        4.6.2-p2
>Organization:
SSP-GO
>Environment:
FreeBSD bagre.ssp-go.net 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0: Thu Sep 19 08:34:22 BRT 2002    root@bagre.ssp-go.net:/usr/obj/usr/src/sys/BAGRE  i386
>Description:
I have already 5 machines running amanda 2.4.3b2 compiled from Ports collection. I cvsup'd Ports (tag=.) and got amanda 2.4.3b4 for the new client to be put in the backup routine. It was compiled successfully. However, when put to run under xinetd (just like in the other machines) for an 'amcheck', it complains the following extracted from /var/log/messages:

create debug directory "/tmp/amanda": Permission denied

I checked its permissions and it's ok. I have done 777 for it but it didn't work. The other machines running 2.4.3b2 create this directory without problems.

I compiled without special CONFIGURE_ARGS. Just the default, as I did for the other machines.
>How-To-Repeat:
Install amanda-server from ports without special arguments.
Install xinetd from ports without special arguments.
Configure /usr/local/etc/xinetd.conf for service 'amanda'.
Configure a backup routine in /usr/local/etc/amanda.
Run amcheck
Then check /var/log/messages for the error.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: Leonardo Martins <lmartins@sspj.go.gov.br>
Cc: bug-followup@FreeBSD.org
Subject: Re: misc/43630: Weird 'permission denied' in /tmp for port misc/amanda 2.4.3b4
Date: Thu, 3 Oct 2002 18:54:41 +0300

 On Thu, Oct 03, 2002 at 06:51:47AM -0700, Leonardo Martins wrote:
 > 
 > >Number:         43630
 > >Category:       misc
 > >Synopsis:       Weird 'permission denied' in /tmp for port misc/amanda 2.4.3b4
 > >Organization:
 > SSP-GO
 > >Environment:
 > FreeBSD bagre.ssp-go.net 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0: Thu Sep 19 08:34:22 BRT 2002    root@bagre.ssp-go.net:/usr/obj/usr/src/sys/BAGRE  i386
 > >Description:
 > I have already 5 machines running amanda 2.4.3b2 compiled from Ports collection. I cvsup'd Ports (tag=.) and got amanda 2.4.3b4 for the new client to be put in the backup routine. It was compiled successfully. However, when put to run under xinetd (just like in the other machines) for an 'amcheck', it complains the following extracted from /var/log/messages:
 > 
 > create debug directory "/tmp/amanda": Permission denied
 > 
 > I checked its permissions and it's ok. I have done 777 for it but it didn't work. The other machines running 2.4.3b2 create this directory without problems.
 > 
 
 What are the full permission bits of /tmp, that is, the output of:
 
   ls -ld /tmp/
 
 with the trailing slash?
 
 Have you mounted /tmp with any special options?  What is the output of:
 
   mount | fgrep `df /tmp/ | awk '{mpt=$6} END {print mpt}'`
 
 Does the /tmp/amanda directory exist before amanda attempts to create
 it?  If yes, what are the permissions on it?
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 I am the meaning of this sentence.
Responsible-Changed-From-To: freebsd-bugs->jeh 
Responsible-Changed-By: arved 
Responsible-Changed-When: Thu Oct 24 02:01:11 PDT 2002 
Responsible-Changed-Why:  
Over to Port Maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43630 
State-Changed-From-To: open->feedback 
State-Changed-By: jeh 
State-Changed-When: Mon Oct 28 11:09:03 PST 2002 
State-Changed-Why:  
Waiting for feedback from originator. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43630 

From: "James E. Housley" <jeh@FreeBSD.org>
To: Tilman Linneweh <arved@FreeBSD.org>
Cc: freebsd-bugs@FreeBSD.org
Subject: Re: misc/43630: Weird 'permission denied' in /tmp for port misc/amanda  2.4.3b4
Date: Mon, 28 Oct 2002 14:04:51 -0500

 Tilman Linneweh wrote:
 > 
 > Synopsis: Weird 'permission denied' in /tmp for port misc/amanda 2.4.3b4
 > 
 > Responsible-Changed-From-To: freebsd-bugs->jeh
 > Responsible-Changed-By: arved
 > Responsible-Changed-When: Thu Oct 24 02:01:11 PDT 2002
 > Responsible-Changed-Why:
 > Over to Port Maintainer
 > 
 
 I have upgraded the port to the full release version.  Will please check
 to see if you are still getting this error.
 
 Jim
 
 -- 
 /"\   ASCII Ribbon Campaign  .
 \ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
 / \ -----------------------------------------------------------------
 jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
 jim@TheHousleys.Net  http://www.TheHousleys.net
 jhousley@SimTel.Net  http://www.SimTel.Net
 ---------------------------------------------------------------------
 "...there's no idea that's so good you can't 
     ruin it with a few well-placed idiots." 
     -- Charles Spickman
 
State-Changed-From-To: feedback->closed 
State-Changed-By: jeh 
State-Changed-When: Mon Dec 2 11:10:00 PST 2002 
State-Changed-Why:  
No response from submitter on request for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43630 
>Unformatted:
