Re: attempting to create directory /root/perl5

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



Nobody seemed to answer, so I will answer it myself.

If you have package perl-homedir installed, it adds its stuff to
/etc/profile.d, and upon user login an existence of ~/perl5 will be
checked and this directory will be created if it doesn't exist.

It looks like perl-homedir appears in one of the package groups on CentOS 7.

If (like me) you don't like this, you can add to your kickstart file line
that will make this package excluded. Here are two lines I have at the end
of %packages group in my kickstart file:

%packages
...
-perl-local-lib
-perl-homedir
%end

Thanks.
Valeri

On Fri, July 25, 2014 2:11 pm, Valeri Galtsev wrote:
> Dear All,
>
> Could someone give me some pointers. I never had it on CentOS 4,5,6. On
> freshly installed CentOS 7 ("development workstation" installation type
> with several extra things) when I log in as root in console I get this
> message:
>
> attempting to create directory /root/perl5
>
> and indeed empty directory /root/perl5 is being created. (And my
> understanding is that that is done for every user at login). Can anyone
> point to what does it and what is the rationale behind that.
>
> Not that I no not like perl in particular, but I do not like any tweaking
> of anything happening as a user logs in.
>
> Thanks for all your help.
>
> And my apologies for being this ignorant person who likely doesn't know
> some trivial thing...
>
> Sincerely yours,
> Valeri
>
> ++++++++++++++++++++++++++++++++++++++++
> Valeri Galtsev
> Sr System Administrator
> Department of Astronomy and Astrophysics
> Kavli Institute for Cosmological Physics
> University of Chicago
> Phone: 773-702-4247
> ++++++++++++++++++++++++++++++++++++++++
>


++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux