Skip to content

DROP! opensearch: 2.19.2 -> 2.19.4 - #276

Open
bacchanalia wants to merge 54 commits into
mainfrom
zz/opensearch-CVE-2025-9624
Open

DROP! opensearch: 2.19.2 -> 2.19.4#276
bacchanalia wants to merge 54 commits into
mainfrom
zz/opensearch-CVE-2025-9624

Conversation

@bacchanalia

Copy link
Copy Markdown

addresses: CVE-2025-9624

cookiebaker444 and others added 30 commits January 6, 2026 11:51
To configure necessary timeouts and parameterize user/group.
To avoid the situation where a service unit file may have a [Unit] but
no valid [Service].

This warning is explicitly omitted for some services that are generated
by packages instead of by the systemd module.

Co-authored-by: Parnell Springmeyer <parnell@arista.com>
                Mel Zuser <mel.zuser@arista.com>
                Tomas Drtina <tdrtina-ext@arista.com>
Co-Authored-By: John Soo <jsoo1@users.noreply.github.com>
mailsend-go is a rewrite of mailsend in go.

mailsend is not receiving feature updates as of 2019-02-11.
Introduces clickhouse-jdbc, liquibase-clickhouse Java modules.
Uses liquibase-clickhouse local version to avoid use of obsolete clickhouse-jdbc
Make clickhouse users.xml configurable
Use `shaded` uberjar for liquibase-clickhouse to avoid managing transitive dependencies.
This change adds a derivation for the [`terraform-cloud-agent`][1]
executable and a NixOS module that defines a systemd service for
running that agent.

[1]: https://developer.hashicorp.com/terraform/cloud-docs/agents.

`stripRoot = false`

Specify the hash

Install tfc-agent binaries to `$out/bin`

Declare the `mainProgram` metadata for this package

... so that it can be used with `lib.getExe`.

Use `lib.getExe`

Suggested by @jsoo1.

Use freeformType for NixOS options that are turned into flags

Suggested by @jsoo1.

No need to guard on whether `cache-dir` and `data-dir` are null

Suggested by @jsoo1.

Ensure `/etc/terraform-cloud-agent/`

Suggested by @jsoo1.

Use the systemd-configured configuration directory

Use the standard systemd environment identifiers `%S` and `%C`

Suggested by @jsoo1.

Add `user` and `group` and drop privileges

Rider: add sandoxing arguments cribbed from the nginx module.

Just give the `flags` attrset as an argument

Sequence after `network-online.target` instead

... since that's what we really mean.

Add doc strings and examples
- preActivationHook is inserted after: nix-build before:
switch-to-configuration
- postActivationHook is inserted after: switch-to-configuration before:
reboot
Since the configuration assumes nscd.conf exists and nss is configured
tm-drtina-arista and others added 24 commits January 6, 2026 15:28
so we can add overlays that apply within configurations without
effecting the base nixpkgs
Creating the build directory in `..` may be OK in a sandbox, but this
makes it unnecessarily annoying when trying to work with this in a
source-checkout.

Hence, move the `build/` directory into the source tree.
Closes NixOS#482394

Seems like low-severity, given

> There is no known application impact for this CVE, and the
> feature is generally non-functional with the two flags.

(from https://sourceware.org/bugzilla/show_bug.cgi?id=33814)
The string returned by confstr(_CS_PATH)[*1], which is also the
output of the command 'getconf PATH'[*2], contains a default path
that is guaranteed to find (at least) all POSIX standard utilities.
The current value is:

    /run/current-system/sw/bin:/bin:/usr/bin

The default profile binaries directory is not in it. This is a problem
because the default NixOS installation lacks several mandatory standard
POSIX utilities. The command recommended by the system's error message
for a missing command to install a missing package foo is 'nix-env -iA
nixos.foo'. When this is done as root, the corresponding binaries are
installed for all users in /nix/var/nix/profiles/default/bin.

This commit fixes these problems as follows:

pkgs/development/libraries/glibc/fix_path_attribute_in_getconf.patch:
- CS_PATH: Add default profile path '/nix/var/nix/profiles/default/bin'
  at the end.
- Retain /bin:/usr/bin; it is necessary for third-party sytems that use
  nixpkgs, linking against the nixpkgs version of glibc. It is retained
  *before* the profile directory to avoid overriding native system
  utilities on these systems (at least those that in fact store them in
  /bin and /usr/bin).

[*1] https://pubs.opengroup.org/onlinepubs/9799919799/functions/confstr.html
[*2] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/getconf.html

Fixes: NixOS#65512
Failing Hydra build: https://hydra.nixos.org/build/308320851

Upstream bug report: https://bugs.openjdk.org/browse/JDK-8354941
Only patching JDK8, newer versions received backports.
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.