Amanda-Users

Re: Amanda Server on Cygwin amdump not working :-S

2006-08-21 06:44:43
Subject: Re: Amanda Server on Cygwin amdump not working :-S
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: David Sánchez Martín <dsanchez AT e2000 DOT es>, Amanda List <amanda-users AT amanda DOT org>
Date: Mon, 21 Aug 2006 11:31:30 +0200
On 2006-08-21 11:23, David Sánchez Martín wrote:
On 2006-08-21 09:48, David Sánchez Martín wrote:
$ /usr/local/sbin/amcheck  DailySet1
Amanda Tape Server Host Check
-----------------------------
WARNING: program /usr/local/libexec/planner: not setuid-root
WARNING: program /usr/local/libexec/dumper: not setuid-root
WARNING: program /usr/local/sbin/amcheck: not setuid-root
I doubt it works when not setuid-root
Strange this is a just a warning instead of an error...

Did you do "make install" as root?
(If that makes sense in a cygwin environment :-) )


I created an windows user called root for this.

The programs on cygwin shell seem correctly setuid to root (the user i've
created).

Maybe is a permissions problem but i tried to change owner to SYSTEM
(Windows best equivalent to God... err ... root, i mean :-)

I'm not a cygwin user, but "root" is not just an ordinary user in Unix.
It is a user with special privileges.  You need to have those privileges
to be able to do certain things that Amanda relies on: like opening ports < 1024, etc. It MUST be useruid number 0 in normal Unix environments too (and I'm sure lots of program break when that is not
the case).

Is there no equivalent thing user in cygwin?



With no visible difference (I tried SYSTEM, Administrator and root, all of
which are in Administrators group)

IMHO the problem seems to be on the taper/driver FATAL reading result from
taper: Software caused connection abort

Taper quit, because it is not setuid root.  That's why.



--
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************