Re: "./Amanda/Recovery/Clerk/Feedback.pm: Permission denied at" error messages
Nathan Stratton Treadway <[email protected]> Wed, 15 Nov 2017 10:41:41 -0500
| Newsgroups | gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jun 22, 2017 at 16:28:17 -0400, Nathan Stratton Treadway wrote:
> That bug-comment references a "patch from upstream", which was
> apparently applied to the Redhat 3.3.9 package at that time. The core
> of that patch is the following change to
> .../perl/Amanda/Config/FoldingHash.pm :
>
> +-use base 'Tie::StdHash';
> ++eval {require 'Tie::StdHash';};
> ++our @ISA = 'Tie::StdHash';
>
(Testing with Amanda 3.5:)
I'm running into a similar error for the
Amanda::Recovery::Clerk::Feedback class (when I run the command from
root's home directory):
=====
# su backup -c "amvault TestBackup --dest-storage TestOffsite --dry-run '*' '*' '*' 0"
Can't locate Amanda/Recovery/Clerk/Feedback.pm: ./Amanda/Recovery/Clerk/Feedback.pm: Permission denied at /usr/share/perl/5.22/base.pm line 97.
...propagated at /usr/share/perl/5.22/base.pm line 106.
BEGIN failed--compilation aborted at /usr/lib/x86_64-linux-gnu/amanda/perl/Amanda/Vault.pm line 113.
Compilation failed in require at /usr/sbin/amvault line 112.
BEGIN failed--compilation aborted at /usr/sbin/amvault line 112.
=====
Like Tie::StdHash, that class is defined in Clerk.pm directly rather
than in Clerk/Feedback.pm, so I wonder if a similar workaround is needed
here?
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway - [email protected] - Mid-Atlantic region
Ray Ontko & Co. - Software consulting services - http://www.ontko.com/
GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239
Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239