Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Perl recompile after OS kernel update

by properly (Monk)
on Mar 09, 2010 at 09:38 UTC ( [id://827502]=perlquestion: print w/replies, xml ) Need Help??

properly has asked for the wisdom of the Perl Monks concerning the following question:

In discussion with system admins of our RHEL 4.8 server about maintaining a separate Perl for our application, (not disturbing the system Perl), the statement was made that then OS kernel updates eg as a result of security patches would likely require a recompile of the application Perl and re-install of 'all the custom Perl modules'.

Has this scenario affected anyone before? It seems highly unlikely

Replies are listed 'Best First'.
Re: Perl recompile after OS kernel update
by Corion (Patriarch) on Mar 09, 2010 at 09:44 UTC

    That depends on whether your (custom) Perl does any interaction with the kernel beyond what its C library does. I also consider it highly unlikely that your Perl program would do interaction closely coupled to the kernel without you knowing about it.

    Of course, there is an easy way to determine that. Get your admins to set up a box with the upgraded kernel and test your application(s) on that box.

Re: Perl recompile after OS kernel update
by tirwhan (Abbot) on Mar 09, 2010 at 10:17 UTC

    Unless you have a Perl module that directly uses any kernel-specific features (e.g. access a /proc or /sys file which is deprecated in a later kernel), this is complete baloney. Any "system administrator" who spouts such nonsense does not deserve the name and has a very faulty understanding of system fundamentals.


    All dogma is stupid.
Re: Perl recompile after OS kernel update
by dave_the_m (Monsignor) on Mar 09, 2010 at 09:46 UTC
    Sounds like utter nonsense.

    Dave.

Re: Perl recompile after OS kernel update
by ikegami (Patriarch) on Mar 09, 2010 at 15:38 UTC
    That would be the case if you used the system Perl and its major version changed. (XS compiled for 5.10 will need to be recompiled for 5.12.) But you're talking about specifically avoiding that.
Re: Perl recompile after OS kernel update
by MidLifeXis (Monsignor) on Mar 09, 2010 at 15:00 UTC

    The only way I could see this being valid (other than tight coupling of your application and the kernel, as previously mentioned), is if they mean upgrades, not patches. Even that is not guaranteed.

    It is said that "only perl can parse Perl." I don't even come close until my 3rd cup of coffee. --MidLifeXis

Re: Perl recompile after OS kernel update
by properly (Monk) on Mar 09, 2010 at 10:09 UTC
    Thanks for the feedback.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://827502]
Approved by rovf
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 05:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found