Skip to content

%pre script causes the agent not to install on rpm-ostree versions of RHEL #6964

@mrguitar

Description

@mrguitar

I'm testing the install of aziot-edge-1.4.9-1.el8.x86_64.rpm on a RHEL 8 edge image. It's basically a RHEL 8 system, w/ the same rpms but put together with rpm-ostree to make it more resilient in edge environments.

rpm-ostree executes the package install inside a bubblewrap container before it's layered on the underlying host OS.
The %pre script queries for the docker group on the host to serve as a check to ensure a container engine is installed. Unfortunately this causes the install to fail as we cannot view this group from inside the bwrap container.

if ! /usr/bin/getent group docker >/dev/null; then

Is it possible to drop this check and use a regular rpm dependency instead?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions