RHBA-2015:0477

Type: Bug fix
Severity: None
Published: 2015-03-05
Red Hat Enterprise Linux 7

The policycoreutils packages contain the core utilities that are required for the basic operation of a Security-Enhanced Linux (SELinux) system and its policies. This update fixes the following bugs: * Due to a bug in the policycoreutils code, the selinux-policy package failed to build on ARM 64-bit architectures. The policycoreutils code has been patched, and selinux-policy now builds on ARM 64-bit architectures successfully. (BZ#1061950) * Previously, the "sepolicy interface" command missed support for the selinux_genbool interface. Consequently, an attempt to compile selinux_genbool failed. With this update, the "selinux interface" command has been modified to support selinux_genbool so that compiling of this interface no longer fails. (BZ#1075023) * The /etc/selinux/fixfiles_exclude_dirs file contains a list of directories that are supposed to be excluded when relabeling the system. However, when a substitution file for a directory was specified in fixfiles_exclude_dirs, the "fixfiles restore" command did not work correctly. As a consequence, many files had incorrect SELinux context assigned. This update provides a patch to fix this bug, and "fixfiles restore" now applies correct labels on files. (BZ#1082676) * Previously, when the user attempted to use the restorecon utility to restore the SELinux context on a file that did not exist, the restorecond daemon logged an unnecessary message. With this update, restorecond does not report the aforementioned scenario as an error, and the unnecessary messages are no longer logged. (BZ#1082956) * The sepolicy.search() function printed the same output as the command that was executed immediately before instead of a list of the dontaudit files. As a consequence, an error message was returned. The underlying source code has been modified, and sepolicy.search() now works correctly. (BZ#1092356) * Due to a missing variable, the "sepolicy manpage" command generated files with names that included only a suffix, for example ".html". Also, the /tmp/RHEL7/ directory was not created as expected. This update provides a patch to fix this bug, and "sepolicy manpage" now works as intended. (BZ#1103292) Users of policycoreutils are advised to upgrade to these updated packages, which fix these bugs.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:03:15.203Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T23:03:15.203Z UTC. Last updated 2026-10-07T09:08:50.371Z UTC.

Upstream Advisory

Affected Packages

  • policycoreutils 2.2.5-15.el7

  • policycoreutils-devel 2.2.5-15.el7

  • policycoreutils-gui 2.2.5-15.el7

  • policycoreutils-newrole 2.2.5-15.el7

  • policycoreutils-python 2.2.5-15.el7

  • policycoreutils-restorecond 2.2.5-15.el7

  • policycoreutils-sandbox 2.2.5-15.el7

Interested in being alerted when there are new versions of policycoreutils and the other packages? Set up an alert.
RHBA-2015:0477: policycoreutils bug fix update | Package Alert