[PATCH 02/54] Don't make failure to -nolisten fatal
daniel at fooishbar.org
Tue Jul 10 05:34:16 PDT 2012
On 10 July 2012 12:43, Michal Suchanek <hramrach at gmail.com> wrote:
> On 10 July 2012 03:02, Daniel Stone <daniel at fooishbar.org> wrote:
>> If failing to disable a protocol specified by -nolisten failed, we'd
>> throw a FatalError and bomb startup entirely. From poking at xtrans, it
>> looks like the only way we can get a failure here is because we've
>> specified a protocol name which doesn't exist, which probably doesn't
>> constitute a security risk.
> It kind of is if the protocol you specified has a typo in it.
A fatal error, though?
>> And it makes it possible to start gdm even though you've built with
> Wouldn't it be better if disabling tcp wotked even in this case?
TCP is pretty effectively disabled if the server does not even know
TCP exists, because the support was never compiled in. Enabling it,
on the other hand, might prove more of a challenge.
More information about the xorg-devel