Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Want to make /tmp non executable but X crashes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dman777
l33t
l33t


Joined: 10 Jan 2007
Posts: 997

PostPosted: Thu Sep 01, 2011 2:27 pm    Post subject: Want to make /tmp non executable but X crashes Reply with quote

Using noexec in fstab, I Want to make /tmp non executable but X crashes when I do. I see in /tmp/.X11-unix/XO is a socket file. Does this file need to be executable? Is this why X crashes when I set /tmp to noexec? If so, anyway around this so I can mark /tmp noexec and still run X?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16008

PostPosted: Fri Sep 02, 2011 2:21 am    Post subject: Reply with quote

I have /tmp as noexec and have no problems running X. What error message(s) does X print to explain why it crashes?
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 418
Location: San Diego, California USA

PostPosted: Fri Sep 02, 2011 10:11 pm    Post subject: Reply with quote

I have my /tmp marked as nosuid,nodev,noatime.
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 519
Location: münchen.de

PostPosted: Mon Sep 05, 2011 1:52 pm    Post subject: Reply with quote

dman777: do you use nvidia-drivers-275? There is a nvidia bug giving segfaults when running a 32 bit opengl application with /tmp mounted noexec.
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum