[Bug 1166504] all scripts with 'use Pod::Usage' broken

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 21 08:22:04 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1166504



--- Comment #5 from Petr Pisar <ppisar at redhat.com> ---
Either there is a real permission denial, or this is just a fuzz in module
look-up made by perl and returning aa bogus error message.

Minimal reproducer should be:

$ perl -e 'use Pod::Usage'

Does it fail either?

To verify the error comes from the operating system, run the failing command
under "strace" tool:

$ strace -fq -- perl -e 'use Pod::Usage'
[...]
stat("/usr/local/lib64/perl5/Pod/Usage.pm", 0x7fff0a8b6880) = -1 ENOENT (No
such file or directory)
stat("/usr/local/share/perl5/Pod/Usage.pm", 0x7fff0a8b6880) = -1 ENOENT (No
such file or directory)
stat("/usr/lib64/perl5/vendor_perl/Pod/Usage.pm", 0x7fff0a8b6880) = -1 ENOENT
(No such file or directory)
stat("/usr/share/perl5/vendor_perl/Pod/Usage.pm", {st_mode=S_IFREG|0644,
st_size=26857, ...}) = 0
open("/usr/share/perl5/vendor_perl/Pod/Usage.pm", O_RDONLY) = 3
[...]
exit_group(0)                           = ?
+++ exited with 0 +++

Here you can see, the file could not been found in the site directories, but it
was found in the vendor no-arch directory, and opened successfully. What do you
see on your system?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=KbyWnp7Dls&a=cc_unsubscribe



More information about the perl-devel mailing list