Re: SElinux relabeling in /var

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 15 Feb 2005, Pete Zaitcev wrote:

> Hi, Guys:
> 
> I have FC3 here. I've rebooted once with a kernel without SELinux once by
> mistake, and ever since then I'm getting this:
> 
> [root@localhost USBMon]# logrotate -f /etc/logrotate.conf
> error: error getting file context /var/log/cups/access_log: No data available
> .....
> 
> The strace output looks like this:
> 
> getxattr("/var/log/cups/access_log", "security.selinux", 0x8054cc8, 255) = -1 ENODATA (No data available)
> write(2, "error: ", 7)                  = 7
> write(2, "error getting file context /var/"..., 71) = 71
> 
> So, obviously I blew away some attributes. How do I recover them?

restorecon -R 


- James
-- 
James Morris
<jmorris@xxxxxxxxxx>



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux