x11 /tmp preparation rc.d script
Jose M Rodriguez
josemi at freebsd.jazztel.es
Mon Jan 10 11:35:39 PST 2005
Eric Anholt escribió:
>On Mon, 2005-01-10 at 09:40 +0100, Jose M Rodriguez wrote:
>
>
>>Jose M Rodriguez escribió:
>>
>>
>>
>>>Eric Anholt escribió:
>>>
>>>
>>>
>>>>Attached are my proposed patches to deal with the X11 ICE issue. To
>>>>review, it's required because having .ICE not owned by root is a
>>>>security issue, one that's been papered over with a printed warning and
>>>>sleep(5) in libICE for years, and has recently been changed into an
>>>>actual error by the X.Org folks.
>>>>
>>>>
>>>>
>>...
>>
>>As a latter think about this, consider take also periodic related fixes
>>(We clear this directories by default) and try to get a OS_VERSION bump
>>closest to this.
>>
>>
>
>I'm sorry, I'm not sure what exactly you're talking about here. Are you
>saying that /etc/periodic contains something that will wipe out X's
>files in /tmp? That would be rather broken.
>
>
>
take a look into /etc/periodic/daily/110.clean-tmps and
/etc/defaults/periodic.conf.
This is not me, I read this recently on lists/PRs, but the stock
definition of daily_clean_tmps_ignore doesn't protect X11 directories,
only X11 locks files.
I don't think that this may be a real thread (I Have some Xterminal
servers and I can't see /tmp/.ICE-unix vanished).
It only may become a thread if files under /tmp/.ICE-unix are not
accesed often, but I think that adding .X11-unix, .ICE-unix and
.font-unix to daily_clean_tmps_ignore in the stock
/etc/defaults/periodic may not hurt.
--
josemi
More information about the freebsd-x11
mailing list