[CentOS] Missing /usr/share/perl5 in C7

Wed Nov 29 18:43:31 UTC 2017
m.roth at 5-cent.us <m.roth at 5-cent.us>

Mark Haney wrote:
> I'm under a bit of a crunch here, so any immediate help would be
> appreciated. We kickstart our customer boxes and have started migrating
> to CentOS 7.  We're running Radiator 4.6 1 (I know, but bear with me)
> and we just deployed our first radius box to a customer to be turned up
> today. (I know, I know. I had no idea it wasn't being tested sooner than
> this.)
>
> I was brought in because the strict.pm perl module was missing and
> causing compilation errors.  It turns out nearly the entire
> /usr/share/perl5/  directory was pretty much empty.  I ended up having
> to copy that directory over from another C7 server which was intact.
>
> yum whatprovides /usr/share/perl5/strict.pm tells me it's the base
> perl-5.16.x package, which is installed on this box.
>
> Any idea what happened?

No idea what could have happened, but if it were me, I wouldn't copy
anything - I'd yum reinstall instantly. You have no idea what *else* is
missing.

Thinking about it... you might consider verifying the entire system. Since
something's missing from initscripts, I'd worry a *lot*.

      mark