Description of problem: Installing this latest version of Net::SSH::Expect causes some of our things to blow up. Reason being: $ ls -al /usr/lib/perl5/vendor_perl/5.8.8 … drw-r--r-- 8 root root 4096 May 15 04:02 Net $ ls -al /usr/lib/perl5/vendor_perl/5.8.8/Net/SSH total 0 ?--------- ? ? ? ? ? . ?--------- ? ? ? ? ? .. ?--------- ? ? ? ? ? Expect.pm ?--------- ? ? ? ? ? Expect.pod ?--------- ? ? ? ? ? Perl ?--------- ? ? ? ? ? Perl.pm within the spec file: %defattr(644,root,root) I believe this should be 755 instead. The root user can see them just fine, but any non-root user won't be able to use any modules underneath the Net/ directory after you upgrade this module. Version-Release number of selected component (if applicable): 1.09-6 How reproducible: easily Steps to Reproduce: 0. don't be a root user 1. sudo yum install perl-Net-SSH-Expect-1.09-6 2. perl -e "use Net::SSH::Expect" (as user other than root) Actual results: Can't locate Net/SSH/Expect.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at -e line 1. Expected results: (no errors) Additional info: This happens in both the i386 and x86_64 releases
Created attachment 781414 [details] patch for perms in %files Patch for %files specification of perl-Net-SSH-Expect.spec - uses perl_vendorlib (which is valid on stock EL5 hosts) and fixes directory permissions.
What OS are you installing this on as I'm not seeing this issue on RHEL. The patch file will not work because I can't use the standard macro for the directory. It is matched at the top of the spec file based on what its being built for.
perl-Net-SSH-Expect-1.09-14.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/perl-Net-SSH-Expect-1.09-14.fc19
perl-Net-SSH-Expect-1.09-7.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/perl-Net-SSH-Expect-1.09-7.el5
perl-Net-SSH-Expect-1.09-13.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/perl-Net-SSH-Expect-1.09-13.fc18
perl-Net-SSH-Expect-1.09-7.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/perl-Net-SSH-Expect-1.09-7.el6
Package perl-Net-SSH-Expect-1.09-7.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing perl-Net-SSH-Expect-1.09-7.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11381/perl-Net-SSH-Expect-1.09-7.el5 then log in and leave karma (feedback).
perl-Net-SSH-Expect-1.09-7.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
perl-Net-SSH-Expect-1.09-7.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
perl-Net-SSH-Expect-1.09-13.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
perl-Net-SSH-Expect-1.09-14.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.