Skip to content

[selinux] postinstall and postuninstall scripts should not contain restorecon -Rv / #424

Description

@dahorak

Postinstallation and postuninstallation scripts from following packages tendrl-collectd-selinux, tendrl-node-selinux should not contain command restorecon -Rv /. Rrestoring SELinux security contexts on whole filesystem will take very long time and might broke something else.

The target path should be more precisely specified just to relevant/affected files, not widely to whole filesystem.

# rpm -qp --scripts tendrl-collectd-selinux-1.5.2-1.el7.centos.noarch.rpm
# rpm -qp --scripts tendrl-node-selinux-1.5.2-1.el7.centos.noarch.rpm

Activity

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

Metadata

Metadata

Assignees

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