The warning indicates that the file `/run/systemd/system/netplan-ovs-
cleanup.service` is marked as world-inaccessible, meaning its
permissions restrict access to all users. However, systemd points out
that this has no practical effect because its configuration data is
accessible through systemd APIs, which do not enforce these file-level
permissions.

This warning appears to be related to the update of the `netplan.io`
package. The service file `netplan-ovs-cleanup.service` is generated
dynamically during system runtime by the netplan package, and its
permissions or handling might have been modified in the updated version.

### Steps to Address or Silence the Warning:

#### 1. **Verify Permissions of the File**
Check the file's permissions:
```bash
ls -l /run/systemd/system/netplan-ovs-cleanup.service
```
If the file is indeed world-inaccessible (e.g., `0600` or similar), you can 
adjust the permissions:
```bash
sudo chmod 644 /run/systemd/system/netplan-ovs-cleanup.service
```
This sets the file to be world-readable, which may prevent the warning.

#### 2. **Review the Service File Source**
The file is generated dynamically by netplan, and changes made directly to 
`/run/systemd/system/` may not persist across reboots. Review the script or 
mechanism that creates it:
```bash
grep -r "netplan-ovs-cleanup.service" /etc/netplan /lib/systemd/system/
```

#### 3. **Mask the Service**
If the service is not necessary for your setup (e.g., if you are not using Open 
vSwitch), you can mask it to prevent it from being loaded:
```bash
sudo systemctl mask netplan-ovs-cleanup.service
```

#### 4. **Consult Netplan Documentation or Community**
Check the `netplan.io` release notes or community forums for discussions about 
this warning. If this behavior is unintended, there might already be a fix or 
workaround available.

#### 5. **Ignore the Warning**
If the warning does not cause any functional issues, you can safely ignore it. 
Systemd logs warnings for potential configuration concerns but continues to 
function.

#### 6. **Report the Issue**
If the warning persists and you believe it should be addressed upstream, 
consider filing a bug report with the Ubuntu or Netplan development teams:
- Ubuntu: [https://bugs.launchpad.net/ubuntu](https://bugs.launchpad.net/ubuntu)
- Netplan: 
[https://github.com/canonical/netplan](https://github.com/canonical/netplan)

### Root Cause
The behavior likely stems from a stricter configuration in the updated 
`netplan.io` package, where the dynamically created service file has 
permissions that do not align with systemd's expectations. Adjusting the 
permissions or masking the service should resolve the warning in most cases.

** Attachment added: "https://crunchyrollapkdl.com/";
   https://crunchyrollapkdl.com/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072486

Title:
  netplan-ovs-cleanup.service is marked world-inaccessible

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2072486/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to