FS#1408 - new xorg forces some changes in rc.sysinit perhaps

Attached to Project: Arch Linux
Opened by Tobias Powalowski (tpowa) - Friday, 10 September 2004, 16:58 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

hi according to xorg maillinglist
the new xorg introduces some new security features
affected is kde where you cannot login
my suggestion is to add this to rc.sysinit or to an other system file to avoid other strange errors
http://freedesktop.org/pipermail/xorg/2004-September/002970.html

the text is from alan cox (don't know if it's the real one):

On Llu, 2004-09-06 at 23:33, Sérgio Monteiro Basto wrote:
> Hi,
> Well, since begging of August, I had this problem for starting one kde
> session with one local user, from kdm, (before first I have to login
> with root to can login with one local user).

The new Xorg enforces security. This fixes a potential hole on systems
that don't maintain /tmp/.ICE-unix and /tmp/.X11-unix etc as root owned
from boot up.

> So, to work around, this problem on my fedora core 1 with kde 3.1.4-5. I
> had to add to /etc/rc.local this:
> cd /tmp
> mkdir .ICE-unix/
> chmod 777 .ICE-unix/
> chmod +t .ICE-unix/

Thats the right fix yes

This task depends upon

Closed by  Judd Vinet (judd)
Sunday, 12 September 2004, 19:40 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Friday, 10 September 2004, 17:07 GMT
added this to my rc.sysinit at the end:
# xorg fix
mkdir /tmp/.ICE-unix/
chmod 777 /tmp/.ICE-unix/
chmod +t /tmp/.ICE-unix/

works for me wihtout a problem :-)
Comment by Kevin Piche (kpiche) - Saturday, 11 September 2004, 00:53 GMT
"chmod 1777" amalgates both chmods above :)
Comment by Judd Vinet (judd) - Sunday, 12 September 2004, 19:39 GMT
Added to initscripts 0.7-6

Loading...