Skip to content

Package optional container settings and rootless ONCE - #369

Open
acrogenesis wants to merge 13 commits into
omacom:masterfrom
acrogenesis:feature/podman
Open

acrogenesis wants to merge 13 commits into
omacom:masterfrom
acrogenesis:feature/podman

Conversation

@acrogenesis

@acrogenesis acrogenesis commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Package optional container settings without retiring configuration while a real Docker provider remains installed. Both stable and dev settings recipes support the Podman and rootless Docker source proposals conditionally, while older sources retain their existing payload.

Changes

  • Ship source-provided Podman API environment and local restart defaults, rootless Docker environment and authenticated system socket defaults, and the optional ONCE user unit. Installing settings alone enables none of these engines.
  • Normalize ownership and modes for protected rootless Docker helpers copied from developer checkouts, so privileged validation accepts the installed package.
  • Retire Docker defaults only when no provider remains or the installed provider is podman-docker. Preserve alternate providers such as docker-git, custom configuration and failed package-database queries; propagate archive/removal failures.
  • Preserve the current upstream passwordless-package revocation and etc-overrides lifecycle, including failure status.
  • Include the existing checksum-pinned ONCE v0.3.2 rootless build and Podman TUI 2.0.0 recipe with podman>=6. Record the TUI's AUR provenance separately and watch containers/podman-tui releases directly with the current metadata schema.

Validation

Both real settings package() functions pass against both current container source proposals, verifying optional payload bytes and protected helper ownership/modes. Boot, runtime-profile, etc-overrides, metadata and package-name checks pass. The existing passwordless lifecycle tests pass, and CI at 6b5f270 passed self-tests and build isolation, including real Docker-retirement package transactions in its disposable Arch container. Direct upstream discovery confirms Podman TUI 2.0.0 is current.

Earlier ONCE application and ISO/guest screenshots below are historical feature evidence. They do not constitute a fresh ISO acceptance run for the current settings recipes. Current native CI intentionally checks the official package base and remains blocked until these conditional settings are integrated. This PR does not add the separate docker-rootless-extras runtime package required by the rootless source proposal.

Companion source proposals: omacom/omarchy#16173 and omacom/omarchy#11386. Podman ISO builder and migration scenario: omacom/omarchy-iso#171.

Podman Desktop in the fresh ISO during the successful socket and Docker API lifecycle test

Writebook content restored through rootless Podman and ONCE in Omarchy Lab

@acrogenesis acrogenesis changed the title Remove Docker settings backups for the Podman migration Ship Podman API defaults in settings packages Sep 10, 2026
@ErikMelton

Copy link
Copy Markdown
Member

One thing I noticed. The configuration for alternate Docker providers can be clobbered here: pacman -Qq docker != docker (omarchy-settings-dev/omarchy-settings-dev.install#L63) which assumes only the package literally named docker can be the real engine. Pacman resolves virtual packages to their installed provider; for example, docker-git provides docker so the query would return docker-git. The scriptlet then deletes stock configuration or archives custom configuration while the real Docker engine remains installed, violating the pending-migration safeguard. We should treat only an empty result or podman-docker as retired, mirror the fix in both install files, and add an alternate-provider fixture.

This isn't relevent though if we intentionally only support Arch's official docker package and explictly exclude other providers. Then this can be ignored!

@acrogenesis

Copy link
Copy Markdown
Member Author

@ErikMelton Fixed in both settings variants: alternate Docker providers now retain their configuration. Added a docker-git regression fixture; real pacman tests and CI pass. Thanks!

@acrogenesis acrogenesis changed the title Ship Podman API defaults in settings packages Package Podman TUI and Podman API defaults Sep 12, 2026
@acrogenesis acrogenesis changed the title Package Podman TUI and Podman API defaults Package Podman defaults and rootless ONCE Sep 14, 2026
@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; the previous finding is fixed and no new actionable issues were found.

Summary

Packages Podman defaults and a patched rootless ONCE build while preserving Docker settings until migration.

  • Docker settings stay available until a Podman migration retires them.
  • ONCE now runs its app proxy and backups with rootless Podman.
  • Settings packages add source-provided Podman tools and fixed helper permissions.
  • Podman users can manage containers from a terminal.

Reviews (2) · Last reviewed commit: "Track Podman TUI releases with a direct ..." · Reviewed by Greptile

@acrogenesis acrogenesis changed the title Package Podman defaults and rootless ONCE Package optional container settings and rootless ONCE Nov 3, 2026

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants