Skip to content

modulesync 10.5.0#229

Merged
traylenator merged 5 commits into
masterfrom
modulesync
Feb 3, 2026
Merged

modulesync 10.5.0#229
traylenator merged 5 commits into
masterfrom
modulesync

Conversation

@pccibot

@pccibot pccibot commented Oct 17, 2025

Copy link
Copy Markdown
Contributor

modulesync 10.4.0

@pccibot pccibot added the modulesync PR related to modulesync label Oct 17, 2025
@traylenator

Copy link
Copy Markdown
Contributor

Relevant change - voxpupuli/gha-puppet#82

Now running on container_podman rather than docker.

@traylenator

Copy link
Copy Markdown
Contributor
podman run   --tmpfs /run --tmpfs /run/lock --cap-add=SYS_ADMIN  --security-opt seccomp=unconfined --security-opt label=disable  --userns=host debian:13 /bin/bash -c   "apt update ; apt install -y  autofs ; /usr/sbin/automount"

fails with the same error

/usr/sbin/automount: test mount forbidden or incorrect kernel protocol version, kernel protocol version 5.00 or above required.

where as

podman run  --privileged debian:13 /bin/bash -c   "apt update ; apt install -y  autofs ; /usr/sbin/automount"

works. This somewhat implies that we are not running podman with --privileged ...

@traylenator

Copy link
Copy Markdown
Contributor

Understood probably:

  bundle exec rake beaker
  shell: /usr/bin/bash -e {0}
  env:
    BEAKER_HYPERVISOR: container_podman
    BUNDLE_WITHOUT: development:test:release
    BEAKER_HCLOUD_TOKEN: 
    DOCKER_HOST: unix:///run/user/1001/podman/podman.sock

So with that DOCKER_HOST we are running rootless podman - that is doomed even with --priviledged.

  • Either get access to the system podman socket or
  • Change the tests use the mount_method => mount and forget about autofs.

@TheMeier

Copy link
Copy Markdown
Contributor

I was chasing that in the autofs module,if you do podman inspect it reports that privilieged mode and subsequentailly a nearly all capabilities are enabled.
So you are saying both are irrelevant due to DOCKER_HOST being set? Why is it set in the first place, is that actually a thing from using docker in the past?

@traylenator

Copy link
Copy Markdown
Contributor

We are running both docker and podman as a user.
In this case docker still defaults to the root owned socket where as a podman defaults to the user owned socket... So in reality we probably do not need to set it for either case. Not setting it will change nothing however.

I've got a MR on gha-puppet to use the root owned socket with podman however while it works on my laptop it is not in CI :-( See the MR.

Even if it did work it's a bit dirty. Think solution is to switch to vagrant hypervisor for this and autofs, have not got around to trying yet.

pccibot and others added 2 commits December 29, 2025 18:49
There is a problem loading the autofs module with rootless podman.

Switch back to `container_docker`.

Investigate this again after github runners upgrade to newer than 24.04
when podman will no longer be version 4.
@traylenator traylenator changed the title modulesync 10.4.0 modulesync 10.5.0 Jan 28, 2026
Fedora 42 tests only started actually running recently and were wrong.
Use container_docker for beaker tests
@traylenator
traylenator merged commit baeb07b into master Feb 3, 2026
15 checks passed
@traylenator
traylenator deleted the modulesync branch February 3, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modulesync PR related to modulesync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants