Skip to content

moby-containerd rpm 2.2.1-1.el9, incorrect scriptlets #272

@ReLehmann

Description

@ReLehmann

Hello everyone,

since the update, Post has been attempting to start the service directly, but it should only enable it. If it wants to start it, it should check the current environment or use the appropriate macros that handle this.

%post -p /bin/sh
if [ $1 -eq 1 ]; then
  # initial installation
  systemctl enable --now containerd.service
fi

Automatic installations via Kickstart now fail:

The installation was stopped due to an error which occurred
while running in non-interactive
any questions in cdline mode, edit your kickstart file and retry installation.
cmdline mode. Since there cannot be
The exact error message is:
Non interactl
e installation failed: DNF error: Error in POSTIN
scriptlet in rpm package moby-containerd.

I'm not sure who exactly is packaging here either... Am I even in the right place? ;-)

Vendor: Microsoft Corporation
Packager: Azure Container Upstream
Best regards,
Rene

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions