-
Notifications
You must be signed in to change notification settings - Fork 68
feat: add Ubuntu 26.04 support and improve swap configuration #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| # Ubuntu 26.04 LTS Verification Report | ||
|
|
||
| **Date:** 2026-06-18 | ||
| **Target OS:** Ubuntu 26.04 LTS (Resolute Raccoon) - Linux 7.0.0-22-generic x86_64 | ||
| **Script Version:** v0.80.7 | ||
| **Environment:** Vultr Commercial Cloud VPS | ||
|
|
||
| ## Executive Summary | ||
|
|
||
| Comprehensive testing of `du_setup.sh` on a fresh installation of Ubuntu 26.04 LTS was performed successfully. All base services, package management functions, security hardening measures, and optional software installations operated without errors, proving full compatibility with the latest LTS release. | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 305 Warning test
Expected: 80; Actual: 305
|
||
|
|
||
| ## Execution Logs Overview | ||
|
|
||
| - **Script Validation:** SHA256 checksum verified (`du_setup.sh: OK`). | ||
| - **OS Detection:** Script correctly recognized Ubuntu 26.04 LTS and proceeded via the updated validations. | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 107 Warning test
Expected: 80; Actual: 107
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - **Package Management:** `apt` and `dpkg` successfully installed all essential tools (vim, chrony, fail2ban, tailscale, docker, etc.) with no dependency issues. | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 161 Warning test
Expected: 80; Actual: 161
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - **System Service Overrides:** Properly removed `systemd-timesyncd` in favor of `chrony` without disrupting the provisioning process. | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 134 Warning test
Expected: 80; Actual: 134
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
|
|
||
| ## Feature Verification Checklist | ||
|
|
||
| ### 1. User Management | ||
|
|
||
| - [x] Sudo user (`admin`) successfully created. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] SSH public key injection succeeded. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] Custom `.bashrc` deployed for the user. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
|
|
||
| ### 2. Networking & Firewall (UFW) | ||
|
|
||
| - [x] UFW activated and persisted through reboot. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] Custom SSH port (`5555/tcp`) allowed, and default `22/tcp` safely closed. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] IPv4 & IPv6 firewall rules accurately loaded. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] Tailscale UDP 41641 allowed. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
|
|
||
| ### 3. Intrusion Prevention (Fail2Ban) | ||
|
|
||
| - [x] Fail2Ban successfully compiled and deployed active jails. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] `sshd` and `ufw-probes` jails verified active. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] **Live Defense Verified:** 4 malicious IPs actively banned by the `ufw-probes` jail during the immediate post-boot testing phase. | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 135 Warning test
Expected: 80; Actual: 135
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
buildplan marked this conversation as resolved.
Dismissed
|
||
|
|
||
| ### 4. Hardening (Sysctl & SSH) | ||
|
|
||
| - [x] Root SSH login successfully disabled. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] Key-based authentication successfully enforced. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] SSH listener correctly moved to port `5555`. | ||
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] Kernel parameters validated post-reboot (`fs.protected_hardlinks = 1`, `kernel.yama.ptrace_scope = 1`). | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 109 Warning test
Expected: 80; Actual: 109
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
buildplan marked this conversation as resolved.
Dismissed
|
||
|
|
||
| ### 5. Services & Addons | ||
|
|
||
| - [x] **Time Sync (Chrony):** Successfully synchronized with canonical NTP servers (`ntp-nts-2.ps5.canonical.com`). | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 115 Warning test
Expected: 80; Actual: 115
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] **Docker:** Engine cleanly installed via official repositories, and execution via the `admin` user group succeeded without `sudo` (`docker ps`). | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 150 Warning test
Expected: 80; Actual: 150
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] **Tailscale:** Package loaded successfully from the stable repository (daemon active and ready for auth). | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 111 Warning test
Expected: 80; Actual: 111
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] **Swap Memory:** Swap correctly disabled, resized, and dynamically mounted as a 2.3Gi file. | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 97 Warning test
Expected: 80; Actual: 97
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
buildplan marked this conversation as resolved.
Dismissed
|
||
| - [x] **Provider Cleanup:** Vultr commercial VPS successfully audited; default provisioning user `linuxuser` safely removed. | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 124 Warning test
Expected: 80; Actual: 124
Check warningCode scanning / Remark-lint (reported by Codacy) [no-undefined-references] Found reference to undefined definition Warning test
[no-undefined-references] Found reference to undefined definition
|
||
|
buildplan marked this conversation as resolved.
Dismissed
buildplan marked this conversation as resolved.
Dismissed
|
||
|
|
||
| ## Conclusion | ||
|
|
||
| The `du_setup.sh` script is 100% stable on Ubuntu 26.04 LTS. The underlying shifts in the new LTS release do not negatively impact any of the standard POSIX shell tools or package managers (`apt`/`dpkg`) that the script orchestrates. All configurations persist flawlessly across system reboots. No further logic updates are required beyond the OS version-check modifications already committed. | ||
Check warningCode scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 393 Warning test
Expected: 80; Actual: 393
|
||
|
buildplan marked this conversation as resolved.
Dismissed
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 637bd1835738deb5f525ed98f07566dc55331275139c7778fe79eb2f375c2091 du_setup.sh | ||
| a8d1c0e63c6a37ce103d4520312c9404f3bee713cfdca9aab06086494cb9c09a du_setup.sh |
Uh oh!
There was an error while loading. Please reload this page.