Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 52941

Summary: amanda ebuild - files/amanda-profile needs another directory
Product: Gentoo Linux Reporter: Cory Visi (RETIRED) <merlin>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cory Visi (RETIRED) gentoo-dev 2004-06-03 21:27:34 UTC
The files/amanda-profile file sets the path for the amanda user. Any XFS partition with quotas backed up using "dump" will generate an error. "xfsdump" will run "xfsdq" to save the quota data, which is not in the path of the amanda user. The error looks like this:

  | xfsdump: using file dump (drive_simple) strategy
  | xfsdump: version 2.2.16 (dump format 3.0) - Running single-threaded
  | xfsdump: saving user quota information for: /home
  ? sh: line 1: xfsdq: command not found
  ? xfsdump: ERROR: xfsdq failed with exit status: 32512
  ? xfsdump: ERROR: failed to save user quota information, continuing

It can easily be corrected by adding /sbin to amanda's .profile:

files/amanda-profile:
export PATH=/sbin:/usr/sbin:/usr/libexec:${PATH}
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-04 17:03:06 UTC
fixed in cvs.