Bug ID: 1709491
Summary: perl-homedir creates a local::lib for root user
QA Contact: extras-qa(a)fedoraproject.org
CC: iarnell(a)gmail.com, jplesnik(a)redhat.com,
Target Milestone: ---
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)
install into a location unusable by any other user, rather than the global
sitelib as expected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install perl-homedir
2. switch to root user
3. check perl -V
~/perl5 is created for root user and local::lib environment variables and
directories are visible in perl -V output.
No local::lib is created or activated for the root user by default.
You are receiving this mail because:
You are on the CC list for the bug.