https://bugzilla.redhat.com/show_bug.cgi?id=1709491 Bug ID: 1709491 Summary: perl-homedir creates a local::lib for root user Product: Fedora Version: 29 Status: NEW Component: perl-local-lib Assignee: jplesnik@xxxxxxxxxx Reporter: grinnz@xxxxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: iarnell@xxxxxxxxx, jplesnik@xxxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx Target Milestone: --- Classification: Fedora Description of problem: Upon installing the perl-homedir RPM (which seems to be default in some RHEL/CentOS 7 configurations) a profile.d entry is added which enables a local::lib for all users, including root. The root user should not have a local::lib, as this means 'sudo cpan' or 'sudo cpanm' (though inadvisable) will install into a location unusable by any other user, rather than the global sitelib as expected. Version-Release number of selected component (if applicable): perl-homedir-2.000024-4.fc29.noarch How reproducible: Always Steps to Reproduce: 1. install perl-homedir 2. switch to root user 3. check perl -V Actual results: ~/perl5 is created for root user and local::lib environment variables and directories are visible in perl -V output. Expected results: No local::lib is created or activated for the root user by default. Additional info: -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx