Skip to content

Merge jammy to noble - #723

Closed
selzoc wants to merge 178 commits into
ubuntu-noblefrom
ubuntu-jammy
Closed

Merge jammy to noble#723
selzoc wants to merge 178 commits into
ubuntu-noblefrom
ubuntu-jammy

Conversation

@selzoc

@selzoc selzoc commented Aug 31, 2026

Copy link
Copy Markdown
Member

No description provided.

bosh-admin-bot and others added 30 commits August 1, 2026 10:04
- Set MaxStartups 10:30:100 in sshd_config (CIS 5.1.18)
- Enable use_pty and logfile=/var/log/sudo.log in sudoers (CIS 5.2.2, 5.2.3)
- Configure TMOUT=900 shell timeout in /etc/profile.d/01-tmout.sh (CIS 5.4.3.2)
- Add corresponding rspec tests in os_image_shared_examples
- Change MaxStartups from default 10:30:100 to 10:30:60 in sshd_config
- Update corresponding rspec test assertion
- Assert root ownership and group for /etc/profile.d/01-tmout.sh in rspec tests
- Ensure MaxStartups scan validates single directive in sshd_config
- Normalize MaxStartups sed pattern to match tab/space indentations and quote chroot paths
- Quote chroot path expansions in TMOUT profile script creation
Commit 4dfe37a refactored the iptables
rules in restrict-monit-api-access to be idempotent, but accidentally
reversed the insertion order.

By using `-I` (Insert at position 1) for both rules, the DROP rule was
inserted first, and then the ACCEPT rule was inserted above it. This
meant the DROP rule was evaluated before the ACCEPT rule.

As a result, TCP RESET packets sent by the kernel (which do not belong
to the monit-api-access cgroup) to clean up orphaned connections were
dropped. This left sockets lingering in the LAST-ACK state for ~106
seconds, causing subsequent monit commands to fail with "Cannot connect
to the monit daemon" if they were assigned the same ephemeral port.

This commit fixes the idempotency logic to ensure the rules are always
inserted in the correct order, using `-A` to append so that the order is
the same as the reading order (ACCEPT evaluated before DROP).
bosh-admin-bot and others added 27 commits August 24, 2026 16:18
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.37.7 to 4.37.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v4.37.7...v4.37.8)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [advanced-security/spdx-dependency-submission-action](https://github.com/advanced-security/spdx-dependency-submission-action) from 0.2.0 to 0.3.2.
- [Release notes](https://github.com/advanced-security/spdx-dependency-submission-action/releases)
- [Commits](advanced-security/spdx-dependency-submission-action@v0.2.0...v0.3.2)

---
updated-dependencies:
- dependency-name: advanced-security/spdx-dependency-submission-action
  dependency-version: 0.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
The git resource does a full clone of canonical/ubuntu-security-notices
on every get, regardless of sparse_paths/depth config - vex/ and osv/
dominate the repo (34GB at HEAD) even though usn/, the only directory
any consumer reads, is 570MB. Benchmarked on a real worker: plain clone
8909s/58.5GB vs. partial+shallow+sparse clone 43s/664MB cold, 2s warm.

ai-assisted=yes
[TNZ-88995]
CI: replace usn git resource with partial-clone task
It depends on a get of bosh-stemcells-ci in the in_parallel block, so it
can't be parallelized with it.

ai-assisted=yes
[TNZ-88995]
CI: Move fetch-usn-gh-json task outside of in_parallel
We recently ran into a problem where publishing a stemcell failed
because our USN resource was broken for a month, and thus we accumulated
many many fixed CVES.  So many that we exceeded the allowed length of a
github release body.

This commit drops the USN description text in that case.

ai-assisted=yes
[TNZ-135846]
…ny-cves

CI: Drop USN descriptions from release when too big
Canonical publishes OVAL data keyed by codename only
(com.ubuntu.<codename>.usn.oval.xml.bz2) -- a `ubuntu-<version>-lts`
form has never existed upstream. usn-resource carried a hardcoded alias
map to translate that form, and it had no 26.04 entry, so both resolute
USN resources failed every check with `Unknown os: ubuntu-26.04-lts`
and no job in the automatic-triggers group had ever run.

Derive `os` from os_short_name, which is already the codename and
already the single source of truth for resource names, input mappings
and image_os_tag. That removes the second, independently-derived
spelling of the release which caused the divergence, and needs no
resource-side table for future stemcell lines.

ai-assisted=yes
[TNZ-88995]
…e-jammy

CI: Address USN OVAL feed by release codename
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 0f1070b8-d442-47ce-a737-94755fd1c58c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants