You are not logged in.

#1 2012-10-11 12:11:25

Gendalph
Member
Registered: 2011-10-15
Posts: 14

Xorg and /run on tmpfs

Today I wanted to try putting /run back onto tmpfs (just because I thought it would be nice for it to be mouned with noexec and clean upon boot).
I went and added to my fstab

tmpfs  /run  tmpfs  nodev,nosuid,noexec,rw,size=8m 0 0

So result is - I boot up to init5 and Xorg does not react to any keypresses or touchpad, power button works fine.
Reboot, boot into init3, console works fine, boot init3 -> init5 - no keyboard, touchpad.
Reboot, comment out the line abouve, reboot... Everything works fine again.
No errors in dmesg, messages.log. Xorg logs. Running on EeePC 1001HA w/latest arch-kernel.

Any ideas why this is happening?

Offline

#2 2012-10-11 12:52:46

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Xorg and /run on tmpfs

I have:

$ ll /run/udev/control 
srwxr-xr-x 1 root root 0 Oct 11 06:04 /run/udev/control

Edit: Oops, got confused between a socket file and suid - ignore me sad

Last edited by brebs (2012-10-11 12:57:59)

Offline

#3 2012-10-11 13:01:32

Gendalph
Member
Registered: 2011-10-15
Posts: 14

Re: Xorg and /run on tmpfs

It means the file is a socket

PS: too late

Last edited by Gendalph (2012-10-11 13:01:59)

Offline

#4 2012-10-11 14:13:25

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Xorg and /run on tmpfs

Gendalph wrote:

Today I wanted to try putting /run back onto tmpfs

/run is always on tmpfs:

run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)

Offline

#5 2012-10-11 14:23:12

Gendalph
Member
Registered: 2011-10-15
Posts: 14

Re: Xorg and /run on tmpfs

Thanks, my bad for not noticing it before.

Offline

Board footer

Powered by FluxBB