Bug #23031
closedRudder Agent failed running on Oracle Linux 8 for missing perl lib.pm library
Description
Customer reports that after installing rudder-agent-7.3.3-1.EL.8.x86_64 on an Oracle Linux 8 node, the node would not communicate with server with an error message stating the absence of lib.pm in the @INC path.
lib.pm is usually installed as /usr/lib64/perl5/lib.pm and typically comes with package perl-interpreter, which is a dependancy of rudder-agent.
On said node, the customer had perl-interpreter-5.23.1-472.module+el8.8.0+21005+3d1ce0e6.x86_64 installed, and the /usr/lib64/perl5/lib.pm file was missing.
The customer reports that he has another Oracle 8 node where rudder-agent works, perl-interpreter-5.32.1-480.e19.x86_64 is installed and /usr/lib64/perl5/lib.pm is present.
The customer reinstalled its node's OS, which ultimately solved the issue.
This leaves us with the question whether something unexpected happened on the customer's node during Perl installation, or if there may be some perl-interpreter packages that do not distribute the /usr/lib64/perl5/lib.pm file.
We might consider refining the dependancies, not only to the perl-interpreter package, but possibly also to the perl(lib) component (suggestion, correct dependancy needs further verification).