Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

libkeyutils file size difference CentOS yum vs cPanel upcp

Discussion in 'Security' started by jack01, Mar 18, 2014.

  1. jack01

    jack01 Well-Known Member

    Joined:
    Jul 21, 2004
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    166
    Hi,

    I am just looking for some clarification and also reassurance about the following differences in file size of the libkeyutils*.so when reinstalling with yum, and then after upcp runs:

    Code:
    libkeyutils.so.1.3 file size: yum = 10192 - upcp = 12592 (CentOS 6.5 /lib64/)
    libkeyutils-1.2.so file size: yum = 7176 - upcp = 9472 (CentOS 5.10 /lib64/)
    libkeyutils-1.2.so file size: yum = 6404 - upcp = 7880 (CentOS 5.10 /lib/)
    
    Thanks in advance.
     
    #1 jack01, Mar 18, 2014
    Last edited: Mar 18, 2014
  2. jack01

    jack01 Well-Known Member

    Joined:
    Jul 21, 2004
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    166
    Is this simply a matter of upcp replacing libkeyutils with a cPanel-specific version? Please confirm.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jack01

    jack01 Well-Known Member

    Joined:
    Jul 21, 2004
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    166
    Hi cPanelMichael,

    I had already seen the 'Checking your system status' page, however this is not useful to my question.

    I am now specifically interested in the difference between the file sizes of the libkeyutils*.so file when installed with just a 'yum reinstall keyutils-libs' command, and then after upcp runs, as per my original post. I have done this repeatedly and the file size consistently increases slightly (again as detailed in my OP) each time I run upcp after reinstalling with yum.

    All I want to know really is: 'Is it normal for cPanel upcp to install a different, slightly larger libkeyutils file (e.g. /lib64/libkeyutils.so.1.3 on CentOS 6.5) than the default CentOS yum version?'

    Thanks.
     
    #4 jack01, Mar 19, 2014
    Last edited: Mar 19, 2014
  5. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    1,011
    Likes Received:
    88
    Trophy Points:
    78
    cPanel Access Level:
    DataCenter Provider
    This sparked my interest.

    It looks like the change is due to prelinking, so it should be harmless.

    Running just this after the yum reinstall will have the same effect:

    Code:
    /usr/local/cpanel/scripts/rpmup
    You'll notice "info [rpmup] Prelinking shared libraries and binaries: /usr/sbin/prelink -av -mR"

    http://www.redhat.com/archives/rhl-list/2005-March/msg02350.html

    tl;dr, don't sweat it. The file passes rpmverify both before and after the prelinking, /usr/local/cpanel/scripts/rpmup which runs as part of upcp is just prelinking the keyutils file.
     
    #5 quizknows, Mar 19, 2014
    Last edited: Mar 19, 2014
  6. jack01

    jack01 Well-Known Member

    Joined:
    Jul 21, 2004
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    166
    Hey quizknows,

    Thank you very much indeed, that makes much more sense now and helps a lot to clarify and alleviate my concern.

    [Any chance of a cPanel post to confirm quizknows's clever deduction?]
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes, it's an accurate description of why the file size changes. You can verify the change in file size after reinstalling a package through YUM by running this command manually (it runs during cPanel updates):

    /usr/local/cpanel/scripts/rpmup

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice