Frank Steiner2

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Update for SLED/S 15 #20453
    Frank Steiner2
    Participant

    Oh, and: this code is definitely wrong:

    if [ -f /etc/SuSE-release ];
    then
    system=suse

    DISTRO_FILE=”/etc/SuSE-release”

    return 0
    fi

    /etc/os-release is the new standard since opensuse 42.x/SLE 12. And /etc/SuSE-release” was finally dropped in SLE 15 and leap 15.

    cu,

    Frank

     

    in reply to: Update for SLED/S 15 #20451
    Frank Steiner2
    Participant

    Hi,

    a little update: this happens because /usr/NX/scripts/setup/nxserver checks /etc/lsb-release which is a bad idea because all the DISTRIB_ fields are optional! On my systems /etc/lsb-release shows only the LSB_VERSION line.

    You should either continue with /etc/os-release etc. if no OS could be detected with /etc/lsb-release or rely only on os-release for SuSE systems as this file is mandatory for SuSE.

    cu,

    Frank

    P.S.: It seems to be impossible to reset the password. After getting the reset link and entering a new password, the login with exactly this password doesn’t work either… So I had to create a second login to write this answer 🙁

Viewing 2 posts - 1 through 2 (of 2 total)