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

Re: Why do we have to support tmpfs for /var/run (policy changes in 3.8.1)



On 04/04/09 01:22, Steve Langasek wrote:
> On Sat, Apr 04, 2009 at 01:14:51AM +0200, Michael Biebl wrote:
>> I provided a list of cons of tmpfs (you could probably also add, that it
>> breaks selinux). Is there actually a list of pros?
> 
> "Probably"?  In what case does this break selinux?

It doesn't actually break selinux - the init script just needs to include
	[ -x /sbin/restorecon ] && restorecon /var/run/$dir
to ensure that the directory is labelled correctly on selinux systems.

-- 
Martin Orr


Reply to: