Skip to content

Third party dev/lib package updates#972

Open
jpculp wants to merge 10 commits into
bottlerocket-os:developfrom
jpculp:20260629-bump-dev-pkgs
Open

Third party dev/lib package updates#972
jpculp wants to merge 10 commits into
bottlerocket-os:developfrom
jpculp:20260629-bump-dev-pkgs

Conversation

@jpculp

@jpculp jpculp commented Jul 8, 2026

Copy link
Copy Markdown
Member

Description of changes:

  • Update coreutils to v9.11
  • Update ethtool to v7.0
  • Update iproute to v7.1.0
  • Update makedumpfile to v1.7.9
  • Update strace to v7.1
  • Update bash to v5.3.15
  • Update xfsprogs to v7.0.1
  • Update util-linux to v2.42.2
  • Update open-vm-tools to v13.1.0
  • Update libglib to v2.88.2

Testing done:

  • coreutils - sha256sum
  • ethtool - ethtool
  • iproute - ip addr
  • makedumpfile - echo 'c' > /proc/sysrq-trigger
  • strace - strace ls
  • bash - used the shell on a VMware variant
  • xfsprogs - mkfs.xfs
  • util-linux - lsblk and findmnt
  • open-vm-tools/libglib - powered on/off a VM via govc

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

jpculp added 5 commits July 8, 2026 11:01
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
@jpculp jpculp requested review from piyush-jena and vigh-m July 8, 2026 23:57
Str_Snprintf(cmsg, sizeof(cmsg), "%s: %s command \"%s\"",
__func__, reboot ? "reboot" : "shutdown", cmd);

- if (status == -1) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we leaving this condition out?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually catch our status with if (!success), making this one redundant.

--enable-editline=no \
--enable-scrub=no
--enable-scrub=no \
--enable-healer=no

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this the default option earlier?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There wasn't one. xfs_healer is a new binary and I believe it requires kernel 7.0+ to function properly.

Comment thread packages/bash/bash.spec Outdated
Name: %{_cross_os}bash
Version: 5.3
Release: 1%{?dist}
Release: 2%{?dist}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we increasing the release version?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels strange to add patches without changing the versioning at all. I'd actually prefer we do 15 and just going forward we bump the release to match the patches.

+ fprintf(stderr, "Command %s failed with exit %d\n", cmd, exit_status);
+ Warning("%s: %s command \"%s\": failed to execute\n",
+ __func__, reboot ? "reboot" : "shutdown", cmd);
+ return -1;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we add a return -1; here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returning -1 ensures the caller's fallback path (SystemUninhibitedShutdown) triggers when the command couldn't execute, matching the != 0 check upstream already uses.

jpculp added 5 commits July 8, 2026 18:05
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
Signed-off-by: Patrick J.P. Culp <jpculp@amazon.com>
@jpculp jpculp force-pushed the 20260629-bump-dev-pkgs branch from 3d46bc9 to 7fc1bd0 Compare July 9, 2026 01:15
@jpculp

jpculp commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

Adjusted how we do versioning in bash to be more similar to our util-linux package.

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.

3 participants