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"
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:
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.
Thanks, I'll update version detection to handle thse Leap / Tumblweed versions in future.