hi Jamie

On 16/12/13 19:03, Jameson Graef Rollins wrote:
> Hi, Stuart.  /tmp is frequently mounted with the "nodev" option, which
> prevents the creation of device nodes.

I thought that my problem might be linked to tmpfs that is why I mentioned that 
most of my tests were on tmpfs.

My /tmp is not mounted nodev.

:; grep " /tmp " /proc/self/mounts
tmpfs /tmp tmpfs rw,relatime 0 0

> Can you try building on some other mount that does not use the "nodev"
> option?

I already have.  I mentioned in my original bug report that I'd also had the 
same error on /var/tmp which is a btrfs filesystem.

:; grep " /tmp " /proc/self/mounts
tmpfs /tmp tmpfs rw,relatime 0 0

In /var/tmp I get the same error but root can create special devices in /var/tmp

Setting up module-init-tools (9-3) ...
generating modules.dep...
run-parts: executing minimal/modules/network
run-parts: executing minimal/modules/root-bashrc
run-parts: executing minimal/modules/serial-terminal
mknod: 'dev/ttyS0': Permission denied
run-parts: minimal/modules/serial-terminal exited with return code 1
:; sudo mknod ttyS0 c 4 64
:; ls -l ttyS0
crw-r--r-- 1 root root 4, 64 Dec 17 10:51 ttyS0

In any case I'm confused. No non-root user can create special devices no matter 
what the value on nodev is. Fakeroot needs to simulate the create of special 
devices I think.

thanks for your help
Stuart


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to