Menu

#5295 openSUSE tumbleweed OS not detected

1.920
closed-fixed
nobody
None
5
2019-08-19
2019-08-17
ilvipero
No

Hello, I noticed some issue with openSUSE tumbleweed OS detection with webmin. openSUSE Leap works well out of the box. I tried both the .rpm and git version.

Showing differences between leap and tumbleweed below. Not sure why one gets detected and the other does not.

openSUSE leap: cat /etc/SUSE-brand

openSUSE
VERSION = 15.1

openSUSE leap: cat /etc/os-release

NAME="openSUSE Leap"
VERSION="15.1 "
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"

openSUSE tumbleweed: cat /etc/SUSE-brand

openSUSE
VERSION = tumbleweed

openSUSE tumbleweed: cat /etc/os-release

NAME="openSUSE Tumbleweed"
# VERSION="20190814"
ID="opensuse-tumbleweed"
ID_LIKE="suse opensuse"
VERSION_ID="20190814"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20190814"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"
LOGO="distributor-logo"

Discussion

  • ilvipero

    ilvipero - 2019-08-17

    Quick update.

    It seems that neither Leap nor Tumbleweed use the old /etc/SuSe-release file.
    Having said that, I found an old post: https://sourceforge.net/p/webadmin/discussion/600155/thread/77925852/
    I manually created /etc/SuSE-release and inserted the lines:

    openSUSE Tumbleweed (x86_64)
    VERSION = Tumbleweed
    CODENAME = Tumbleweed
    

    by doing so, webmin detects the OS. It will still be nice if it could work without the workaround. I am available if further troubleshooting or testing is required.

     
  • Jamie Cameron

    Jamie Cameron - 2019-08-19
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2019-08-19

    Thanks, I'll update version detection to handle thse Leap / Tumblweed versions in future.

     

Log in to post a comment.

MongoDB Logo MongoDB