Today my fight with sudo is over, I finally can conquer it. Once this error come to me when I using sudo on centos :

Fatal error (bad version): sudo: symbol lookup error: sudo: undefined symbol: audit_log_user_command

After quite long searching for the solution finally got it today. It turns out a simple solution, In my case after I upgrade the audit and it libs sudo works fine. So my mistakes is I’m using the newest sudo but I didn’t upgrade the audit-libs.

Ha, a simple solution but makes me very confused :D

& Komentar

  • At 2009.03.17 05:37, panchicore said:

    I collaborate with a detailed libs upgrade to newbies.

    to see older version (1.3)
    —————————————————-
    [root@baco scripts]# rpm -qa | grep audit | sort
    audit-1.3.1-1.el5
    audit-libs-1.3.1-1.el5
    audit-libs-1.3.1-1.el5
    audit-libs-python-1.3.1-1.el5
    —————————————————-

    to upgrade to newer version (1.6)
    —————————————————-
    [root@baco scripts]# yum update audit-libs

    Dependencies Resolved

    =============================================================================
    Package Arch Version Repository Size
    =============================================================================
    Updating:
    audit-libs x86_64 1.6.5-9.el5 base 67 k
    audit-libs i386 1.6.5-9.el5 base 67 k
    Updating for dependencies:
    audit x86_64 1.6.5-9.el5 base 289 k
    audit-libs-python x86_64 1.6.5-9.el5 base 75 k

    Transaction Summary
    =============================================================================
    Install 0 Package(s)
    Update 4 Package(s)
    Remove 0 Package(s)

    Total download size: 497 k
    Is this ok [y/N]: y
    Downloading Packages:
    (1/4): audit-libs-1.6.5-9 100% |=========================| 67 kB 00:00
    (2/4): audit-libs-1.6.5-9 100% |=========================| 67 kB 00:00
    (3/4): audit-1.6.5-9.el5. 100% |=========================| 289 kB 00:01
    (4/4): audit-libs-python- 100% |=========================| 75 kB 00:00

    Updating : audit-libs ######################### [1/8]
    Updating : audit-libs ######################### [2/8]
    Updating : audit ######################### [3/8]
    Updating : audit-libs-python ######################### [4/8]
    Cleanup : audit-libs ######################### [5/8]
    Cleanup : audit-libs ######################### [6/8]
    Cleanup : audit ######################### [7/8]
    Cleanup : audit-libs-python ######################### [8/8]

    Updated: audit-libs.x86_64 0:1.6.5-9.el5 audit-libs.i386 0:1.6.5-9.el5
    Dependency Updated: audit.x86_64 0:1.6.5-9.el5 audit-libs-python.x86_64 0:1.6.5-9.el5
    Complete!
    ————————————————-

    now we see newer version upgraded (1.6)
    ————————————————-
    [root@baco scripts]# rpm -qa | grep audit | sort
    audit-1.6.5-9.el5
    audit-libs-1.6.5-9.el5
    audit-libs-1.6.5-9.el5
    audit-libs-python-1.6.5-9.el5
    ————————————————-

    now sudo works fine!

    • At 2009.03.18 20:43, Yuda said:

      Thanks for the detail

    (Required)
    (Required, will not be published)