Bug 1740664 - permissions on /dev/net/tun
Summary: permissions on /dev/net/tun
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-13 12:45 UTC by Daniel Walsh
Modified: 2019-09-24 15:55 UTC (History)
13 users (show)

Fixed In Version: systemd-243-2.gitfab6f01.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-24 15:55:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github systemd systemd issues 13350 0 None closed Permissions on nodes created by systemd-tmpfiles-setup-dev.service don't match udev rules 2020-03-30 06:43:57 UTC

Description Daniel Walsh 2019-08-13 12:45:33 UTC
We are seeing permissions on /dev/net/tun be 600.

In Fedora 30 it is 666.

This is breaking rootless podman.

https://github.com/containers/libpod/issues/3790

Comment 1 Ed Santiago 2019-08-13 13:06:50 UTC
Possibly systemd-udev-243~rc1-2.fc31 (problem not present in 241-2.gita09c170.fc31).

Dan, I've changed component to systemd because udev is orphaned. Hope that's OK.

Comment 2 Zbigniew Jędrzejewski-Szmek 2019-08-18 11:01:33 UTC
Yep, I see the same with a freshly installed F32 Server installation.
$ udevadm info /dev/net/tun
Unknown device "/dev/net/tun": No such device
$ udevadm info /sys/devices/virtual/misc/tun
Unknown device "/sys/devices/virtual/misc/tun": No such device
$ ls -l /dev/net/tun
crw-------. 1 root root 10, 200 Aug 18 12:57 /dev/net/tun

Comment 3 Zbigniew Jędrzejewski-Szmek 2019-08-18 11:29:35 UTC
As a work-around, please load the module with 'modprobe tun'. This will fix the permissions.

Comment 4 Yu Watanabe 2019-09-08 16:33:02 UTC
The following PR should fix this issue.
https://github.com/systemd/systemd/pull/13500

Comment 5 Fedora Update System 2019-09-22 08:05:07 UTC
FEDORA-2019-3d6348341f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3d6348341f

Comment 6 Fedora Update System 2019-09-24 01:23:22 UTC
systemd-243-2.gitfab6f01.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3d6348341f

Comment 7 Fedora Update System 2019-09-24 15:55:28 UTC
systemd-243-2.gitfab6f01.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.