Commit Graph

148 Commits

Author SHA1 Message Date
Ilia Ross
1bfd92c21c Add full OS version detection
This PR adds `real_os_version_full` so the dashboard can show Debian point releases such as 12.15.

It preserves existing version comparisons and updates the field through installation, OS refreshes, and manual settings.

Older detection caches are refreshed automatically.

Fixes: https://forum.virtualmin.com/t/os-detection-version-with-point-release-on-dashboard/138091
2026-09-30 23:40:01 +02:00
Ilia Ross
199dae2562 Remove bundled Miniserv certificate and safely fall back to HTTP 2026-08-09 15:27:13 +02:00
Ilia Ross
8856b13c64 Fix to use command -v instead 2026-07-03 21:26:20 +02:00
Ilia Ross
8ecb615288 Fix to use use portable shell command probes 2026-07-01 13:16:41 +02:00
Ilia Ross
58f239b75c Fix SELinux labeling for Webmin runtime data
This PR adds SELinux context handling for Webmin’s default runtime directory on EL systems.

Setup now persists and applies a `var_run_t` fcontext rule when SELinux is enabled, falls back safely when SELinux tooling is unavailable, and removes the local fcontext rule when `/var/webmin` is deleted during uninstall.
2026-06-26 11:51:39 +02:00
Ilia Ross
435d2db4c6 Fix to use stronger defaults for generated keys
https://github.com/webmin/webmin/issues/2728
2026-05-31 20:42:33 +02:00
Ilia Ross
9cd60f4741 Fix to disable directory listing by default
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
2026-02-18 16:24:58 +02:00
hayden-t
2510b985b1 incorrect ssl_enforce setting for HSTS
https://github.com/webmin/webmin/issues/2611
2025-12-30 13:54:39 +11:00
Ilia Ross
face8319f2 Fix to safely kill only targeted scripts 2025-10-04 00:45:21 +03:00
Ilia Ross
35f8061049 Fix to kill Webmin subprocesses during RC stop on FreeBSD and other systems 2025-10-01 20:12:54 +03:00
Ilia Ross
4dc64f5028 Fix recommended package name (again) 2025-09-30 23:51:27 +03:00
Ilia Ross
01d2323496 Fix to mention IO::Socket::INET6 too 2025-09-30 22:28:08 +03:00
Ilia Ross
7a723719da Fix to recommend Sys::Syslog module #2557 2025-09-25 15:33:52 +03:00
Ilia Ross
6b75672534 Add ability to enforce SSL by default 2025-07-06 20:02:34 +03:00
Jamie Cameron
cb1368f07c The need for this hack is long gone 2025-07-02 14:54:49 -07:00
Ilia Ross
dd914c7ecf Fix to partially revert a fix to enable log rotation for Webmin logs
This reverts commit 58580b7f4b.

58580b7f4b (r161290315)
2025-07-02 21:39:36 +03:00
Ilia Ross
58580b7f4b Fix to enable log rotation for Webmin logs 2025-07-01 15:10:49 +03:00
Ilia Ross
fb832eff82 Fix to always enable HSTS 2025-06-30 14:08:54 +03:00
Ilia Ross
da9aa22fa7 Fix not to rely on which, or the scriptlets will fail on EL 10 systems 2025-06-12 19:17:50 +03:00
Ilia Ross
56c0f5ea32 Fix to prefer JSON::XS over JSON::PP 2024-12-21 22:50:52 +02:00
Jamie Cameron
bdea86afa2 Set the temp dir after we've checked return status from cat 2024-12-13 14:23:40 -08:00
Ilia Ross
985129bb70 Fix to call update boot script after adding boot #2133 [build] 2024-04-21 17:45:10 +03:00
Ilia Ross
904545de89 Add user-friendly dependency list if installed manually [build] 2023-10-13 15:33:43 +03:00
Ilia Ross
b9f1d5df1d Fix to suppress output from init scripts
We already have `Attempting to start Webmin web server ..` being printed. As the init scripts have prompt we also need to handle it
2023-10-13 14:11:06 +03:00
Ilia Ross
46375d60c2 Fix to fall back to Framed Theme when there is no default [build] 2023-10-13 12:17:09 +03:00
Ilia Ross
e8fa36e7fd Fix to simplify update boot run [build] 2023-10-13 11:19:48 +03:00
Ilia Ross
c6b5768bf2 Fix to install missing init script [build] 2023-10-13 11:06:33 +03:00
Ilia Ross
873490367d Fix to ensure systemd is the active init system #2022 2023-10-11 18:43:47 +03:00
iliajie
807443a7bd Fix stop script degeneration to try all kill commands
https://sourceforge.net/p/webadmin/bugs/5609/
2023-01-30 19:25:26 +02:00
Jamie Cameron
a035e2f6c5 Allow postinstall scripts to know when webmin is being upgraded 2023-01-16 10:53:54 -08:00
iliajie
8e18120cbd Fix to support older versions of OpenSSL 2022-10-11 00:43:38 +03:00
iliajie
ea0e66cff5 Fix self-signed certificate work in Chrome (on MacOS) 2022-10-10 21:32:44 +03:00
iliajie
bbef983d2f Fix to drop debug lines 2022-10-10 20:55:40 +03:00
iliajie
fd7102ce81 Fix self-signed certificate generation 2022-10-10 18:01:41 +03:00
Jamie Cameron
57537ef282 Include localhost and hostname in altnames 2022-10-05 17:19:09 -07:00
Jamie Cameron
95088a2bef Refactor the way bootscript is override to reduce duplication 2022-08-13 11:40:31 -07:00
iliajie
baadd9c994 Fix not store redundant bootscript record in miniserv.conf file 2022-08-13 12:57:04 +03:00
iliajie
7a5b094645 Don't call mkdir another time as mkdir -p seems to be cross-platform 2022-08-13 12:54:13 +03:00
iliajie
65b1d881d8 Create given config and log directory recursively for setup.sh 2022-08-12 13:00:42 +03:00
iliajie
b1fd91034f Fix to consider config directory upon upgrades 2022-08-12 12:55:56 +03:00
iliajie
ea03e5a338 Fix to consider var directory and bootscript upon upgrades 2022-08-11 22:40:35 +03:00
iliajie
3660bdfcf5 Add support to install multiple versions of Webmin with systemd 2022-08-11 16:23:29 +03:00
Jamie Cameron
351850dec1 Merge pull request #1712 from webmin/dev/setup-better-postclean
Add a better way to run conditional command
2022-08-07 11:44:26 -07:00
Jamie Cameron
dca68489bd Redirect to /dev/null has to be inside the backquotes 2022-08-07 11:03:30 -07:00
iliajie
3309198c11 Add a better way to run conditional command
162de2bda0
2022-08-07 15:18:35 +03:00
iliajie
162de2bda0 What if the professor was actually right? 2022-08-06 13:59:18 +03:00
iliajie
7877d5d9e3 Fix to run in killmode only ; reset file when done 2022-08-05 23:47:24 +03:00
iliajie
bb4305e79b Fix version to 1.994 2022-08-05 22:15:47 +03:00
iliajie
6db4dd416c Revert testing 1.994 states 2022-08-05 21:50:48 +03:00
iliajie
f0f680d76f Fix to work-around if Webmin 1.994 is running outside of systemd 2022-08-05 21:25:26 +03:00