On Thu, 27 Sep 2001, Gerhard den Hollander wrote:

> * Mike lemoine <[EMAIL PROTECTED]> (Thu, Sep 27, 2001 at 10:30:19AM -0700)
> > Well, assuming that one doesn't want amanda running as root, has anyone else had 
>and solved
> > this problem?
> 
> 1) It looks like you're on amanda 2.4
>    2.4.2p1 (and maybe even later) is out already
> 2) On my box I have a runtar executable that's 
>       -rwsr-x---    1 root disk
>     do you have that ?

amandad: version 2.4.2p2

-rwsr-x---    1 root     disk        91566 Sep 26 10:05 runtar

The failure at actual run is:

sh-2.04$ more sendsize.20010926235757.debug 
sendsize: debug 1 pid 4280 ruid 65432 euid 65432 start time Wed Sep 26 23:57:57 2001
/usr/amanda/libexec/sendsize: version 2.4.2p2
calculating for amname '/dev/hda8', dirname '/usr'
sendsize: getting size via dump for /dev/hda8 level 0
sendsize: running "/sbin/dump 0Ssf 1048576 - /dev/hda8"
running /usr/amanda/libexec/killpgrp
cannot execute /usr/amanda/libexec/killpgrp: Permission denied
  DUMP: Warning: unable to translate LABEL=/
  DUMP: Warning: unable to translate LABEL=/usr
  DUMP: Warning: unable to translate LABEL=/var
  DUMP: Warning: unable to translate LABEL=/home
/dev/hda8: Permission denied while opening filesystem
.....
(no size line match in above dump output)
.....
asking killpgrp to terminate
sendsize: pid 4280 finish time Wed Sep 26 23:57:58 2001

----
But I can run the dump cmd it wants by hand as amanda, and
it works.

sh-2.04$ /sbin/dump 0Ssf 1048576 - /dev/hda8
1619060736

And I can run /usr/amanda/libexec/killpgrp as amanda, and that
works as well.



Reply via email to