Skip to content

restraint and restraint-rhts do not work with image mode/ostree system #326

@henrywang

Description

@henrywang

The restraint and restraint-rhts should be install with rpm-ostree install.

The restraint-rhts should fix /mnt issue.

The restraint should be built into bootc image, but it reports a lot of selinux error:

Installing       : restraint-0.4.5-1.el9.x86_64                           3/3 
  Running scriptlet: restraint-0.4.5-1.el9.x86_64                           3/3 
Could not set context for /etc/selinux/targeted/tmp/booleans.local:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/commit_num:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/file_contexts:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/file_contexts.homedirs:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/homedir_template:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/modules/100/abrt/cil:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/modules/100/abrt/hll:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/modules/100/abrt/lang_ext:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/modules/100/abrt:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/modules/100/accountsd/cil:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/modules/100/accountsd/hll:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/modules/100/accountsd/lang_ext:  Operation not supported
Could not set context for /etc/selinux/targeted/tmp/modules/100/accountsd:  Operation not supported

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