AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  yum update for popt breaks Samba

    Posted Thu September 17, 2020 12:58 AM
    FYI - Just performed a yum update which included an update of the popt package from 1.16-3 code level to 1.18-1
     
    The updating proceeded fine but after Samba was stopped it would not restart, posting the error messages:

    exec(): 0509-036 Cannot load program /opt/freeware/sbin/smbd because of the following errors:
    0509-150 Dependent module libpopt.so could not be loaded.
    0509-022 Cannot load module libpopt.so.
    0509-026 System error: A file or directory in the path name does not exist.
    exec(): 0509-036 Cannot load program /opt/freeware/sbin/nmbd because of the following errors:
    0509-150 Dependent module libpopt.so could not be loaded.
    0509-022 Cannot load module libpopt.so.
    0509-026 System error: A file or directory in the path name does not exist.
    exec(): 0509-036 Cannot load program /opt/freeware/sbin/winbindd because of the following errors:
    0509-150 Dependent module libpopt.so could not be loaded.
    0509-022 Cannot load module libpopt.so.
    0509-026 System error: A file or directory in the path name does not exist.

    Upon further investigation and comparison to a working system, I found that the newer code level was missing both a link and the file it points to:
    # ls -l /opt/freeware/lib/libpopt.so
    ls: 0653-341 The file /opt/freeware/lib/libpopt.so does not exist.

    The working system (still at the 1.16-3 code level) shows:
    # ls -l /opt/freeware/lib/libpopt.so
    lrwxrwxrwx 1 root system 34 Dec 05 2018 /opt/freeware/lib/libpopt.so -> /usr/opt/freeware/lib/libpopt.so.0

    I was able to get Samba working again on the updated system by re-installing the popt 1.16-3 package and removing the 1.18-1 version.


    ------------------------------
    Mark Skinner
    ------------------------------


  • 2.  RE: yum update for popt breaks Samba

    Posted Thu September 17, 2020 01:53 AM
    Thanks for reporting this. We will fix Samba and upload it as soon as possible.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: yum update for popt breaks Samba

    Posted Fri September 18, 2020 11:12 AM
    Samba 4.10.13-2 is now available in Toolbox which fixes this issue.

    ------------------------------
    Ayappan P
    ------------------------------