Bug 1122041 - "restorecon -Rv /" produces erroneous warnings
Summary: "restorecon -Rv /" produces erroneous warnings
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-22 12:17 UTC by Stef Walter
Modified: 2014-07-22 12:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-22 12:37:04 UTC


Attachments (Terms of Use)

Description Stef Walter 2014-07-22 12:17:00 UTC
Description of problem:

"restorecon -Rv /" produces erroneous warnings:

restorecon:  Warning no default label for /var/lib/nfs/rpc_pipefs
restorecon:  Warning no default label for /var/tmp/system-upgrade.state
restorecon:  Warning no default label for /mnt/sysimage/home
restorecon:  Warning no default label for /tmp/ssh-zyWyRllybo
restorecon:  Warning no default label for /tmp/ssh-zyWyRllybo/agent.1231
restorecon:  Warning no default label for /tmp/ssh-uZUQI9y6yG
restorecon:  Warning no default label for /tmp/ssh-uZUQI9y6yG/agent.870
restorecon:  Warning no default label for /tmp/.Test-unix
restorecon:  Warning no default label for /tmp/.XIM-unix
restorecon:  Warning no default label for /run/lvmetad.pid
restorecon:  Warning no default label for /run/lock/subsys
restorecon:  Warning no default label for /run/initramfs
restorecon:  Warning no default label for /run/initramfs/rwtab
restorecon:  Warning no default label for /run/initramfs/state
restorecon:  Warning no default label for /run/initramfs/state/var
restorecon:  Warning no default label for /run/initramfs/state/var/lib
restorecon:  Warning no default label for /run/initramfs/state/var/lib/dhclient
restorecon:  Warning no default label for /run/initramfs/state/etc
restorecon:  Warning no default label for /run/initramfs/state/etc/sysconfig
restorecon:  Warning no default label for /run/initramfs/state/etc/sysconfig/network-scripts
restorecon:  Warning no default label for /dev/hugepages/libvirt
restorecon:  Warning no default label for /dev/hugepages/libvirt/qemu
restorecon:  Warning no default label for /dev/mqueue
restorecon:  Warning no default label for /dev/pts/1
restorecon:  Warning no default label for /dev/pts/0
restorecon:  Warning no default label for /dev/pts/ptmx
restorecon reset /sys/fs/cgroup context system_u:object_r:tmpfs_t:s0->system_u:object_r:cgroup_t:s0
restorecon set context /sys/fs/cgroup->system_u:object_r:cgroup_t:s0 failed:'Read-only file system'

Version-Release number of selected component (if applicable):

selinux-policy-targeted-3.13.1-65.fc21.noarch

How reproducible:

Every time.

Steps to Reproduce:
1. restorecon -Rv /

Comment 1 Miroslav Grepl 2014-07-22 12:37:04 UTC
Use it without "-v" option.


Note You need to log in before you can comment on or make changes to this bug.