Why does amcheck fail while amdump succeeds?: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
If you use GNUtar as backup-binary, 'amdump' uses a wrapper called runtar which is set suid root at install-time:
If you use GNUtar as backup-binary, [[amdump]] uses a wrapper called runtar which is set suid root at install-time:


   # ll /usr/local/libexec/runtar
   # ll /usr/local/libexec/runtar
   -rwsr-x---  1 root disk 13K Oct 28 11:59 /usr/local/libexec/runtar
   -rwsr-x---  1 root disk 13K Oct 28 11:59 /usr/local/libexec/runtar


'amcheck' does not use that wrapper, so it does not get root-permissions,  
[[amcheck]] does not use that wrapper, so it does not have root-permissions,  
which means that you may get errors with 'amcheck' while 'amdump' runs through without problems.
which means that you may get errors with amcheck while [[amdump]] runs through without problems.
You can check for [[amcheck]] errors in /tmp/amanda/amcheck* logs on the client. There should
be "permission denied" error messages.

Revision as of 16:18, 27 November 2005

If you use GNUtar as backup-binary, amdump uses a wrapper called runtar which is set suid root at install-time:

  # ll /usr/local/libexec/runtar
  -rwsr-x---  1 root disk 13K Oct 28 11:59 /usr/local/libexec/runtar

amcheck does not use that wrapper, so it does not have root-permissions, which means that you may get errors with amcheck while amdump runs through without problems. You can check for amcheck errors in /tmp/amanda/amcheck* logs on the client. There should be "permission denied" error messages.