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(a)redhat.com
Reporter: grinnz(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: iarnell(a)gmail.com, jplesnik(a)redhat.com,
perl-devel(a)lists.fedoraproject.org
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.