[Xorg] Current blocker bug list

Alan Cox alan at lxorguk.ukuu.org.uk
Fri Aug 13 04:39:47 PDT 2004


On Gwe, 2004-08-13 at 06:27, Kevin E Martin wrote:
> * Bug #1029: Hard failure if socket directories cannot be chowned to root
>   - This solution breaks on systems that do not have setuid
>   - xfs uses xtrans also and since it is not setuid root, it cannot
>     chown to root and bails
>   - Proposed solutions:
>     1. Create a helper program that is setuid root to create dir, or
>     2. Revert the change back to X11R6.7 version

#1 doesn't help on fundamentally non setuid using systems (or AFS)
#2 doesn't fix the problem

A combination of #1 and a .cf configured policy is needed. The suid 
helper itself is pretty trivial

	#define FIXED_PATH	wherever

	int main(int argc, char *argv[])
	{
		exit(chown(FIXED_PATH, 0, 0) ? errno: 0);
	}

(Avoid things like error messages because then you get into all
 the close(1); close(2) type tricks with older systems)

Alan




More information about the xorg mailing list