Jump to content

limetech

Administrators
  • Posts

    10,186
  • Joined

  • Last visited

  • Days Won

    196

Report Comments posted by limetech

  1. 3 minutes ago, Squid said:

    Exactly what I wanted to know.  Helps out the helpers around here knowing the rules being applied since its not obvious

     

    We didn't want to write the "corrected' server name back to the ident.cfg file because then if user downgraded their server name would still be wrong, ie, not what they set it to.

  2. Again, this should only affect a very small set of users, only those who somehow set an invalid netbios server name (and webgui will not permit this).  What the code does is not change the string set in the ident.cfg file, instead it substitutes all invalid chars with a dash character before setting the host name:

     

    # limetech - read our ident.cfg file
    NAME="Tower"
    timeZone="America/Los_Angeles"
    if [ -r /boot/config/ident.cfg ]; then
      /usr/bin/fromdos </boot/config/ident.cfg >/var/tmp/ident.cfg
      source /var/tmp/ident.cfg
      NAME=${NAME//[^a-zA-Z\-\.0-9]/\-}
    fi
    
    # Set the hostname.
    # limetech - get hostname from ident.cfg file on flash and ensure hostname is
    # defined as localhost alias in /etc/hosts (this lets wins name resolution work)
    /bin/hostname $NAME
    /bin/hostname >/etc/hostname
    echo "# Generated" >/etc/hosts
    echo "127.0.0.1 $NAME localhost" >>/etc/hosts
    

     

  3. 3 hours ago, Dazog said:

    Docker 18.03.0-ce (2018-03-21)

     

    is now stable.

     

    Will we see it in 6.5.1?

     

    We did initially upgrade to 18.x early during 6.5 beta testing, not sure which one, probably 18.02.0-ce (2018-02-07).  But there was a problem with networking which wasn't immediately obvious how to solve, so we stayed on 17.x release.

     

    99% chance we will not be upgrading docker for unRaid 6.5.x releases.  Is there something compelling in there that should make us change our minds?

     

×
×
  • Create New...