udev and net/tun device [BUMP}

sruckh at gemneye.org sruckh at gemneye.org
Sat Jul 19 04:47:04 UTC 2008


On Sun, 29 Jun 2008 15:45:39 -0700 (MST), "Scott Ruckh" <sruckh at gemneye.org> wrote:

>I am trying to make mode, ownership, and permissions persistent between
>reboots on the /dev/net/tun device.
>
>CONFIG_TUN and CONFIG_INET_TUNNEL are both configured as modules in the
>current kernel.
>
>I have tried adding the following to /etc/udev/rules.d/50-udev.rules:
>
>KERNEL="tun", NAME="net/%k", OWNER="root", GROUP="tundev", MODE="0660",
>OPTIONS+="ignore_remove"
>
>I have also tried using KERNEL== with the remaining syntax the same.
>
>I have tried to make a 52-tun.rules file with the above syntax.
>
>I tried adding the following to /etc/udev/permissions.d/50-udev.permissions:
>
># virtual network devices OpenVPN/VirtualBox
>net/tun*:root:tundev:0660
>
>Everything I have tried has netted the same results after a reboot.
>
>crw-------  1 root root 10, 200 Jun 29 12:41 /dev/net/tun
>
>Obviously I am looking for this result:
>
>crw-rw----  1 root tundev 10, 200 Jun 29 12:41 /dev/net/tun
>
>This is on a CentOS 4.6 (x86_64) server.
>
>Anyone have any idea why this is not working?

I never got a response from this and since it has almost been a month I thought I would try again.

Thanks for your suggestions.




More information about the redhat-list mailing list