[Bug 789146] New: ~/perl5/ is created for all users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: ~/perl5/ is created for all users

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

           Summary: ~/perl5/ is created for all users
           Product: Fedora
           Version: 16
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: low
          Priority: unspecified
         Component: perl-local-lib
        AssignedTo: iarnell@xxxxxxxxx
        ReportedBy: emmanuel.seyman@xxxxxxxxxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: iarnell@xxxxxxxxx, fedora-perl-devel-list@xxxxxxxxxx,
                    mmaslano@xxxxxxxxxx, ppisar@xxxxxxxxxx
    Classification: Fedora
      Story Points: ---
              Type: ---
        Regression: ---
        Mount Type: ---
     Documentation: ---


Description of problem:

The perl-homedir rpm installs /etc/profile.d/perl-homedir.sh . Even when
setting the variable PERL_HOMEDIR to 0 in /etc/sysconfig/perl-homedir or in
$HOME/.perl-homedir, the perl5/ directory would still be created for all the
users of the system (root ? postgres ?)

Looking at the script, it contains the line:
alias perlll="eval `perl -Mlocal::lib`"

and I believe this will execute `perl -Mlocal::lib` for all users
unconditionally. Commenting out this line prevents the problem.

Version-Release number of selected component (if applicable):
1.008004-2

How reproducible:
always

Steps to Reproduce:
1. Install the rpm ("yum install perl-homedir")
2. Configure the package not to create local directories ("echo PERL_HOMEDIR=0
> /etc/sysconfig/perl-homedir")
2. su to root ("su - root")
3. notice that /root/perl5 has been created

Actual results:
$HOME/perl5 is always created

Expected results:
$HOME/perl5 should be created only when it is wanted

Additional info:
the Brazilian big-eyed bat is one of only two species of bat in the world to
chew the seeds of figs

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux