Bug 155987 - misc/amanda-client: $HOME of amanda user don't allow for .amandahosts file
Summary: misc/amanda-client: $HOME of amanda user don't allow for .amandahosts file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
Depends on:
Reported: 2011-03-28 08:40 UTC by Goran Lowkrantz
Modified: 2011-11-19 07:10 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Goran Lowkrantz 2011-03-28 08:40:11 UTC
The home directory of user amanda is set to /nonexistent but the client
looks for the .amandahosts file in that users $HOME. 

# grep amanda /usr/ports/UIDs 
amanda:*:140:140::0:0:Amanda Daemon:/nonexistent:/usr/sbin/nologin

amandad/amandad.20110328093346.debug:ERROR user operator from backup.glz.hidden-powers.com is not allowed to execute the service noop: cannot open /nonexistent/.amandahosts: No such file or directory


Change home to / or some other existing directory.
How-To-Repeat: Install misc/amanda-client on a host with BSD security enabled and try
to do a backup.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-03-28 10:47:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer 2011-11-19 07:05:30 UTC
kuriyama    2011-11-19 07:05:21 UTC

  FreeBSD ports repository

  Modified files:
    .                    UIDs GIDs 
    misc/amanda-server   Makefile distinfo 
  - Upgrade to 3.2.3.
  - Change amanda user's homedir to /var/db/amanda [1].
  - Make amanda user added into operator group by default for dumping
  - Remove deprecation messages of old variables.
  PR:             ports/155987 [1]
  Submitted by:   Goran Lowkrantz <goran.lowkrantz@ismobile.com> [1]
  Feature safe:   yes
  Revision  Changes    Path
  1.161     +2 -2      ports/GIDs
  1.182     +2 -2      ports/UIDs
  1.127     +8 -24     ports/misc/amanda-server/Makefile
  1.37      +2 -2      ports/misc/amanda-server/distinfo
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Jun Kuriyama freebsd_committer 2011-11-19 07:05:43 UTC
State Changed
From-To: open->closed

Committed, thanks!