Skip to content

Conversation

@jacobweinstock
Copy link
Member

Description

This is needed so that the Tink agent has access to the Host's disks. Tink agent uses https://github.com/jaypipes/ghw. And in Hook the agent runs in a container and for ghw be able to identify everything about the disk devices these mount points are required.

From ghw's README:

NOTE: ghw looks in the udev runtime database for some information.
If you are using ghw in a container, remember to bind mount /dev/disk and /run into your container,
otherwise ghw won't be able to query the udev DB or sysfs paths for information.

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

This is needed so that the Tink agent
has access to the Host's disks.
Tink agent uses https://github.com/jaypipes/ghw.
And in Hook the agent runs in a container and
for ghw be able to identify everything about
the disk devices these mount points are required.

From ghw's README:

NOTE: ghw looks in the udev runtime database for
some information. If you are using ghw in a container,
remember to bind mount /dev/disk and /run into your
container, otherwise ghw won't be able to query the
udev DB or sysfs paths for information.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
@jacobweinstock jacobweinstock changed the title Add /dev and /run mounts: [hook-bootkit] Add /dev and /run mounts: Jan 30, 2026
@jacobweinstock jacobweinstock added kind/enhancement ready-to-merge Signal to Mergify to merge the PR. labels Jan 30, 2026
@mergify mergify bot added the queued label Jan 30, 2026
@mergify mergify bot merged commit 406fbb3 into tinkerbell:main Jan 30, 2026
30 of 31 checks passed
@mergify
Copy link
Contributor

mergify bot commented Jan 30, 2026

Merge Queue Status

✅ The pull request has been merged at 415a727

This pull request spent 8 seconds in the queue, with no time running CI.
The checks were run in-place.

Required conditions to merge

@mergify mergify bot removed the queued label Jan 30, 2026
@jacobweinstock jacobweinstock deleted the hook-bootkit-extra-mounts branch January 30, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement ready-to-merge Signal to Mergify to merge the PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant