Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52941 - amanda ebuild - files/amanda-profile needs another directory
Summary: amanda ebuild - files/amanda-profile needs another directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 21:27 UTC by Cory Visi (RETIRED)
Modified: 2004-07-04 17:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.