On 3/31/22 02:35, Carmelo Sarta wrote:
Hello there!
I've never seen this error before
`error: Plugin selinux: hook fsm_file_prepare failed`
but I would try
`dnf reinstall container-selinux`
and maybe
`dnf reinstall podman`
There seems to be an error appening when people are installing container-selinux, that I have not pinned down.  It does not happen on my system.
Hope this helps

On Thu, Mar 31, 2022 at 4:27 AM Nathanael D. Noblet <nathan...@gnat.ca> wrote:

    Hello,

      Just wondering if this is a bug and what to report against. I
    upgraded from F35 to F36Beta last night. Today I ran `sudo dnf update`
    and saw some odd output. Not sure if its a bug with dnf or selinux or
    the packages being installed. Let me know if its a known issue or if I
    need to file a bug and where.

    Running transaction
      Preparing        :
    1/1
      Upgrading        : crun-1.4.4-1.fc36.x86_64
    1/16
    error: lsetfilecon: (/usr/bin/crun;62451078,
    system_u:object_r:container_runtime_exec_t:s0) Invalid argument
    error: Plugin selinux: hook fsm_file_prepare failed

    Error unpacking rpm package crun-1.4.4-1.fc36.x86_64
      Upgrading        : containers-common-4:1-53.fc36.noarch
    2/16
    error: unpacking of archive failed on file /usr/bin/crun;62451078:
    cpio: (error 0x2)
    error: crun-1.4.4-1.fc36.x86_64: install failed
    error: lsetfilecon: (/var/lib/containers/sigstore,
    system_u:object_r:container_var_lib_t:s0) Invalid argument
    error: Plugin selinux: hook fsm_file_prepare failed

    Error unpacking rpm package containers-common-4:1-53.fc36.noarch
      Upgrading        : conmon-2:2.1.0-2.fc36.x86_64
    3/16
    error: unpacking of archive failed on file
    /var/lib/containers/sigstore: cpio: (error 0x2)
    error: containers-common-4:1-53.fc36.noarch: install failed
    error: lsetfilecon: (/usr/bin/conmon;62451078,
    system_u:object_r:conmon_exec_t:s0) Invalid argument
    error: Plugin selinux: hook fsm_file_prepare failed

    Error unpacking rpm package conmon-2:2.1.0-2.fc36.x86_64
      Upgrading        : podman-3:4.0.2-1.fc36.x86_64
    4/16
    error: unpacking of archive failed on file /usr/bin/conmon;62451078:
    cpio: (error 0x2)
    error: conmon-2:2.1.0-2.fc36.x86_64: install failed
    error: lsetfilecon: (/usr/bin/podman;62451078,
    system_u:object_r:container_runtime_exec_t:s0) Invalid argument
    error: Plugin selinux: hook fsm_file_prepare failed

    Error unpacking rpm package podman-3:4.0.2-1.fc36.x86_64
      Upgrading        : runc-2:1.1.1-1.fc36.x86_64
    5/16
    error: unpacking of archive failed on file /usr/bin/podman;62451078:
    cpio: (error 0x2)
    error: podman-3:4.0.2-1.fc36.x86_64: install failed
    error: lsetfilecon: (/usr/bin/runc;62451078,
    system_u:object_r:container_runtime_exec_t:s0) Invalid argument
    error: Plugin selinux: hook fsm_file_prepare failed

    Error unpacking rpm package runc-2:1.1.1-1.fc36.x86_64
      Upgrading        : swtpm-0.7.2-1.20220307git21c90c1.fc36.x86_64
    6/16
    error: unpacking of archive failed on file /usr/bin/runc;62451078:
    cpio: (error 0x2)
    error: runc-2:1.1.1-1.fc36.x86_64: install failed
    error: lsetfilecon: (/usr/bin/swtpm;62451078,
    system_u:object_r:swtpm_exec_t:s0) Invalid argument
    error: Plugin selinux: hook fsm_file_prepare failed

    Error unpacking rpm package swtpm-0.7.2-
    1.20220307git21c90c1.fc36.x86_64
      Upgrading        : snapd-2.54.4-1.fc36.x86_64
    7/16
    error: unpacking of archive failed on file /usr/bin/swtpm;62451078:
    cpio: (error 0x2)
    error: swtpm-0.7.2-1.20220307git21c90c1.fc36.x86_64: install failed
    error: lsetfilecon: (/etc/sysconfig/snapd;62451078,
    system_u:object_r:snappy_config_t:s0) Invalid argument
    error: Plugin selinux: hook fsm_file_prepare failed

    Error unpacking rpm package snapd-2.54.4-1.fc36.x86_64
      Running scriptlet: flatpak-1.12.7-1.fc36.x86_64
    8/16
    error: unpacking of archive failed on file
    /etc/sysconfig/snapd;62451078: cpio: (error 0x2)
    error: snapd-2.54.4-1.fc36.x86_64: install failed

      Upgrading        : flatpak-1.12.7-1.fc36.x86_64
    8/16
    error: lsetfilecon: (/usr/libexec/flatpak-system-helper;62451078,
    system_u:object_r:flatpak_helper_exec_t:s0) Invalid argument
    error: Plugin selinux: hook fsm_file_prepare failed

    Error unpacking rpm package flatpak-1.12.7-1.fc36.x86_64
    _______________________________________________
    devel mailing list -- devel@lists.fedoraproject.org
    To unsubscribe send an email to devel-le...@lists.fedoraproject.org
    Fedora Code of Conduct:
    https://docs.fedoraproject.org/en-US/project/code-of-conduct/
    List Guidelines:
    https://fedoraproject.org/wiki/Mailing_list_guidelines
    List Archives:
    https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
    Do not reply to spam on the list, report it:
    https://pagure.io/fedora-infrastructure



--

and thanks for all the fish,

Carmelo Sarta

Red Hat<https://www.redhat.com/>

csa...@redhat.com

@RedHat <https://twitter.com/redhat> Red Hat <https://www.linkedin.com/company/red-hat> Red Hat <https://www.facebook.com/RedHatInc>
<https://www.redhat.com/>


_______________________________________________
devel mailing list --devel@lists.fedoraproject.org
To unsubscribe send an email todevel-le...@lists.fedoraproject.org
Fedora Code of 
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
List 
Archives:https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report 
it:https://pagure.io/fedora-infrastructure

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to