Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Link problem after upgrading to Samba V4.10.6

    Posted Thu January 30, 2020 12:55 PM

    Originally posted by: MarkSkinner


    I would like to make you aware that I have yum-updated Samba on several AIX servers to the latest code level available on AIX Toolbox and after each update noticed the same problem, which is that Samba -related errors occur on server shutdown and Samba does not automatically start on reboot.

     

    I was able to identify the problem as being invalid links in subdirectories of the /etc/rc.d directory.

     

    Here is what was showing after the code was updated:

    # find . -type l -exec ls -ld {} \;
    -----------------------------------------------------------------------------
    lrwxrwxrwx    1 root     system           14 Nov 05 17:13 ./rc2.d/K00cups -> ../init.d/cups
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc2.d/Knmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc2.d/Ksmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc2.d/Kwinbindd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           21 Nov 05 17:13 ./rc2.d/S90sudo -> /etc/rc.d/init.d/sudo
    lrwxrwxrwx    1 root     system           14 Nov 05 17:13 ./rc2.d/S99cups -> ../init.d/cups
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc2.d/Snmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc2.d/Ssmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc2.d/Swinbindd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Nov 05 17:13 ./rc3.d/K00cups -> ../init.d/cups
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc3.d/Knmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc3.d/Ksmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc3.d/Kwinbindd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Nov 05 17:13 ./rc3.d/S99cups -> ../init.d/cups
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc3.d/Snmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc3.d/Ssmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Jan 29 15:19 ./rc3.d/Swinbindd -> ../init.d/${i}
    -----------------------------------------------------------------------------

     

    Here is what the links need to be to work properly (I just backed up/restored the links from a working Samba server):

     

    # find . -type l -exec ls -ld {} \;
    -----------------------------------------------------------------------------
    lrwxrwxrwx    1 root     system           14 Jan 29 2019  ./rc2.d/K00cups -> ../init.d/cups
    lrwxrwxrwx    1 root     system           14 Aug 01 2019  ./rc2.d/Knmbd -> ../init.d/nmbd
    lrwxrwxrwx    1 root     system           14 Aug 01 2019  ./rc2.d/Ksmbd -> ../init.d/smbd
    lrwxrwxrwx    1 root     system           18 Aug 01 2019  ./rc2.d/Kwinbindd -> ../init.d/winbindd
    lrwxrwxrwx    1 root     system           21 Jan 29 2019  ./rc2.d/S90sudo -> /etc/rc.d/init.d/sudo
    lrwxrwxrwx    1 root     system           14 Jan 29 2019  ./rc2.d/S99cups -> ../init.d/cups
    lrwxrwxrwx    1 root     system           14 Aug 01 2019  ./rc2.d/Snmbd -> ../init.d/nmbd
    lrwxrwxrwx    1 root     system           14 Aug 01 2019  ./rc2.d/Ssmbd -> ../init.d/smbd
    lrwxrwxrwx    1 root     system           18 Aug 01 2019  ./rc2.d/Swinbindd -> ../init.d/winbindd
    lrwxrwxrwx    1 root     system           14 Jan 29 2019  ./rc3.d/K00cups -> ../init.d/cups
    lrwxrwxrwx    1 root     system           14 Aug 01 2019  ./rc3.d/Knmbd -> ../init.d/nmbd
    lrwxrwxrwx    1 root     system           14 Aug 01 2019  ./rc3.d/Ksmbd -> ../init.d/smbd
    lrwxrwxrwx    1 root     system           18 Aug 01 2019  ./rc3.d/Kwinbindd -> ../init.d/winbindd
    lrwxrwxrwx    1 root     system           14 Jan 29 2019  ./rc3.d/S99cups -> ../init.d/cups
    lrwxrwxrwx    1 root     system           14 Aug 01 2019  ./rc3.d/Snmbd -> ../init.d/nmbd
    lrwxrwxrwx    1 root     system           14 Aug 01 2019  ./rc3.d/Ssmbd -> ../init.d/smbd
    lrwxrwxrwx    1 root     system           18 Aug 01 2019  ./rc3.d/Swinbindd -> ../init.d/winbindd
    -----------------------------------------------------------------------------

     

    Thanks,

     --Mark

     

     

     

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: Link problem after upgrading to Samba V4.10.6

    Posted Fri January 31, 2020 09:35 AM

    Originally posted by: AyappanP


    Thanks for reporting it. This issue is already reported by other users. 

    We fixed the issue and the new version will be uploaded soon.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: Link problem after upgrading to Samba V4.10.6

    Posted Wed March 04, 2020 06:42 AM

    Originally posted by: AyappanP


    Samba 4.10.13 is uploaded in AIX Toolbox (This version fixes recent security vulnerabilities and above mentioned link issue is also fixed) .


    #AIX-Open-Source-Software
    #AIXOpenSource