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
Expand all | Collapse all

Samba update to 4.10.6 creates broken symbolic links

  • 1.  Samba update to 4.10.6 creates broken symbolic links

    Posted Tue December 10, 2019 09:02 AM

    Originally posted by: ejk


    I updated Samba from 4.6.11-1 to 4.10.6-1, using "yum update".

    The yum update was successful, but it left these broken symbolic links to /etc/rc.d/rc2.d directory.

    lrwxrwxrwx    1 root     system           14 Dec 10 15:05 Swinbindd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Dec 10 15:05 Kwinbindd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Dec 10 15:05 Snmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Dec 10 15:05 Ksmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Dec 10 15:05 Knmbd -> ../init.d/${i}
    lrwxrwxrwx    1 root     system           14 Dec 10 15:05 Ssmbd -> ../init.d/${i}
    

    These were fixed using this script:

    cd /etc/rc.d/rc2.d && for i in winbindd nmbd smbd
    do
    for j in S K
    do
    ln -sf "../init.d/${i}" "${j}${i}"
    done
    done
    

    IMHO the most likely reason was use of single quotes aka ' instead of double quotes aka " in the shell script that created these symbolic links.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: Samba update to 4.10.6 creates broken symbolic links

    Posted Tue December 10, 2019 09:34 AM

    Originally posted by: AyappanP


    Thanks for reporting it. Will release a fixed version soon. 


    #AIXOpenSource
    #AIX-Open-Source-Software