Bug 155987

Summary: misc/amanda-client: $HOME of amanda user don't allow for .amandahosts file
Product: Ports & Packages Reporter: Goran Lowkrantz <goran.lowkrantz>
Component: Individual Port(s)Assignee: Jun Kuriyama <kuriyama>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

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

Fix: 

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 freebsd_triage 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 
  Log:
  - 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
    disks.
  - 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
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Jun Kuriyama freebsd_committer freebsd_triage 2011-11-19 07:05:43 UTC
State Changed
From-To: open->closed

Committed, thanks!