Bug#775612: amanda-server: Depends on Tie/StdHash.pm which exists on NO package in debian
> This seems to be yet another occurrence of > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781120 -- handling > of non-readable directories on @INC Just to pull together the various strands of this discussion: the issue is that no StdHash.pm file actually exists, but Perl don't know that ahead of time and has to search through @INC looking for it -- and (since @INC ends with a "." entry) if the . directory happens to be unreadable by the current user, Perl aborts that search with an error. On the other hand, if all directories in @INC are readable, then Perl completes the search without finding StdHash.pm anywhere (but also without raising an error), and falls back to the definition of the Tie::StdHash package contained within the Hash.pm file. (For what it's worth, the discussion about why Perl [v5.18 and later] aborts with an error if a path in @INC is unreadable can be found in Perl bug #113422 and the various bugs associated with it: https://rt.perl.org/Public/Bug/Display.html?id=113422 ) Anyway, Amanda upstream has recently implemented a workaround for this situation, as mentioned on the amanda-hackers list: Subject:Re: "./Tie/StdHash.pm: Permission denied at" error messages From: Jean-Louis Martineau Date: 2017-07-19 12:16:04 http://marc.info/?l=amanda-hackers=150046696903634=2 The two-line patch in question can be found at, e.g.: https://github.com/zmanda/amanda/commit/9f390065b6eb27a79ea273295065890925f1659a Nathan
Bug#775612: amanda-server: Depends on Tie/StdHash.pm which exists on NO package in debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Also note that the bug is intermittent which means the permission denied is probably a red herring or at least not the full story because I hadn't been changing the permssions. At this point I'm on wheezy because I rather need backups to work. Regards, Danie On 2015-01-25 2:41 PM, Daniel Curran-Dickinson wrote: Based on other issues it looks to me like something important is Jessie is misbehaving but I have no idea what. The *same* crypted RAID array works absolutely fine with Wheezy (3.2 kernel) - the only difference beetween Wheezy and Jessie on this box is the root filesystem and kernel it boots with. Therefore I have ruled out hardware issue and clearly seen an OS issue of some kind. Regards, Daniel On 2015-01-25 2:35 PM, Damyan Ivanov wrote: Control: severity -1 normal Control: tags -1 unreproducible -=| Daniel Dickinson, 17.01.2015 19:03:49 -0500 |=- Package: amanda-server Version: 1:3.3.6-4 Severity: serious Justification: depends on software not in debian Seen when attemping to do amrmtape, but also occurs when doing a flush: an't locate Tie/StdHash.pm: Permission denied at /usr/share/perl/5.20/base.pm line 97. ...propagated at /usr/share/perl/5.20/base.pm line 106. BEGIN failed--compilation aborted at /usr/lib/amanda/perl/Amanda/Config/FoldingHash.pm line 3. Compilation failed in require at /usr/lib/amanda/perl/Amanda/Config.pm line 753. BEGIN failed--compilation aborted at /usr/lib/amanda/perl/Amanda/Config.pm line 753. Compilation failed in require at /usr/sbin/amrmtape line 27. BEGIN failed--compilation aborted at /usr/sbin/amrmtape line 27. Note the error Permission denied. I think this is somehow related to your environment. StdHash.pm is not a file that exists in ANY package in debian according to apt-file. The Tie::StdHash package is defined in /usr/share/perl/5.20.1/Tie/Hash.pm, which is part of the 'perl-base' package. Definitely in Debian :) -- dam -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (MingW32) iQEcBAEBAgAGBQJUzeDuAAoJEIcvryNiYx3FVnAH/2tP7pBimaTbdq3bszD1DrUQ Qxe0Bg3RO4Y7TJzDvU9I2WL7lR5RMdWKhpFODAp8/LDqgnJcHJrpVtLOKrSEC1jT 2izxus2hIyvY/D7J8IL5NhT7fraZkegWKM+TN3+HSaa8Nm0pXrjXpLQHrJGN+xwG U3HRPzjXrcyHPQm2Szwri/PaJkMzAMXGYhehHYy4vTtAsiLaw7RRrCrFEjTOKU7J tfQygkiD4Yw7vBXrbZRnWgjapNwuOOyY+NJ5Vxwqo3pBXocSkWb71ZBmtJI4Mv8I cEZV0Jkb/DcCRUDbJHiJzAnF2XAgvG3IkeAKgMQMwcAMN7IdkXKZj5kjE3r4Z5w= =gjV4 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#775612: amanda-server: Depends on Tie/StdHash.pm which exists on NO package in debian
Control: severity -1 normal Control: tags -1 unreproducible -=| Daniel Dickinson, 17.01.2015 19:03:49 -0500 |=- Package: amanda-server Version: 1:3.3.6-4 Severity: serious Justification: depends on software not in debian Seen when attemping to do amrmtape, but also occurs when doing a flush: an't locate Tie/StdHash.pm: Permission denied at /usr/share/perl/5.20/base.pm line 97. ...propagated at /usr/share/perl/5.20/base.pm line 106. BEGIN failed--compilation aborted at /usr/lib/amanda/perl/Amanda/Config/FoldingHash.pm line 3. Compilation failed in require at /usr/lib/amanda/perl/Amanda/Config.pm line 753. BEGIN failed--compilation aborted at /usr/lib/amanda/perl/Amanda/Config.pm line 753. Compilation failed in require at /usr/sbin/amrmtape line 27. BEGIN failed--compilation aborted at /usr/sbin/amrmtape line 27. Note the error Permission denied. I think this is somehow related to your environment. StdHash.pm is not a file that exists in ANY package in debian according to apt-file. The Tie::StdHash package is defined in /usr/share/perl/5.20.1/Tie/Hash.pm, which is part of the 'perl-base' package. Definitely in Debian :) -- dam -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#775612: amanda-server: Depends on Tie/StdHash.pm which exists on NO package in debian
Based on other issues it looks to me like something important is Jessie is misbehaving but I have no idea what. The *same* crypted RAID array works absolutely fine with Wheezy (3.2 kernel) - the only difference beetween Wheezy and Jessie on this box is the root filesystem and kernel it boots with. Therefore I have ruled out hardware issue and clearly seen an OS issue of some kind. Regards, Daniel On 2015-01-25 2:35 PM, Damyan Ivanov wrote: Control: severity -1 normal Control: tags -1 unreproducible -=| Daniel Dickinson, 17.01.2015 19:03:49 -0500 |=- Package: amanda-server Version: 1:3.3.6-4 Severity: serious Justification: depends on software not in debian Seen when attemping to do amrmtape, but also occurs when doing a flush: an't locate Tie/StdHash.pm: Permission denied at /usr/share/perl/5.20/base.pm line 97. ...propagated at /usr/share/perl/5.20/base.pm line 106. BEGIN failed--compilation aborted at /usr/lib/amanda/perl/Amanda/Config/FoldingHash.pm line 3. Compilation failed in require at /usr/lib/amanda/perl/Amanda/Config.pm line 753. BEGIN failed--compilation aborted at /usr/lib/amanda/perl/Amanda/Config.pm line 753. Compilation failed in require at /usr/sbin/amrmtape line 27. BEGIN failed--compilation aborted at /usr/sbin/amrmtape line 27. Note the error Permission denied. I think this is somehow related to your environment. StdHash.pm is not a file that exists in ANY package in debian according to apt-file. The Tie::StdHash package is defined in /usr/share/perl/5.20.1/Tie/Hash.pm, which is part of the 'perl-base' package. Definitely in Debian :) -- dam -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#775612: amanda-server: Depends on Tie/StdHash.pm which exists on NO package in debian
Package: amanda-server Version: 1:3.3.6-4 Severity: serious Justification: depends on software not in debian Seen when attemping to do amrmtape, but also occurs when doing a flush: an't locate Tie/StdHash.pm: Permission denied at /usr/share/perl/5.20/base.pm line 97. ...propagated at /usr/share/perl/5.20/base.pm line 106. BEGIN failed--compilation aborted at /usr/lib/amanda/perl/Amanda/Config/FoldingHash.pm line 3. Compilation failed in require at /usr/lib/amanda/perl/Amanda/Config.pm line 753. BEGIN failed--compilation aborted at /usr/lib/amanda/perl/Amanda/Config.pm line 753. Compilation failed in require at /usr/sbin/amrmtape line 27. BEGIN failed--compilation aborted at /usr/sbin/amrmtape line 27. StdHash.pm is not a file that exists in ANY package in debian according to apt-file. -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages amanda-server depends on: ii amanda-common 1:3.3.6-4 ii bsd-mailx [mailx] 8.1.2-0.20141216cvs-1 ii libc6 2.19-13 ii libcurl3 7.38.0-4 ii libglib2.0-0 2.42.1-1 ii libssl1.0.01.0.1j-1 ii mailutils [mailx] 1:2.99.98-2 amanda-server recommends no packages. Versions of packages amanda-server suggests: ii amanda-client 1:3.3.6-4 ii cpio 2.11+dfsg-4 pn gnuplotnone ii mt-st 1.1-6 ii perl [perl5] 5.20.1-4 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org