Files in /proc/net/vlan are being set to 0600 permissions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
A fresh install of Ubuntu 20.04. Installed MAAS regiond controller. Here's Netplan config:
```
network:
ethernets:
enp4s0f0: {}
vlans:
vlan3:
id: 3
link: enp4s0f0
addresses: [10.3.9.24/16]
gateway4: 10.3.0.1
mtu: 9000
nameservers:
version: 2
```
Here's permissions for files created in `/proc/net/vlan`
```
root@d9-33u-a:~# ls -lh /proc/net/vlan/
total 0
-rw------- 1 root root 0 May 25 04:33 config
-rw------- 1 root root 0 May 25 04:33 vlan3
```
This is causing issues with MAAS v3.0 beta:
```
2021-05-24 23:27:36 provisioningser
Traceback (most recent call last):
File "/usr/lib/
result = g.send(result)
File "/usr/lib/
File "/usr/lib/
return _cancellableInl
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
File "/usr/lib/
result = g.send(result)
File "/usr/lib/
File "/usr/lib/
for name, ipaddr in get_ip_
File "/usr/lib/
output = call_and_
File "/usr/lib/
raise ExternalProcess
ERROR: open /proc/net/
```
I can modify the permissions manually, which fixes things; but a reboot will set permissions back to 0600.
Status changed to 'Confirmed' because the bug affects multiple users.