Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netplan produces warnings on Ubuntu 22.04 #296

Open
evgeni opened this issue Mar 1, 2024 · 1 comment
Open

netplan produces warnings on Ubuntu 22.04 #296

evgeni opened this issue Mar 1, 2024 · 1 comment

Comments

@evgeni
Copy link
Contributor

evgeni commented Mar 1, 2024

root@ubuntu2204:~# netplan generate

** (generate:3775): WARNING **: 11:04:25.237: Permissions for /etc/netplan/00-installer-config.yaml are too open. Netplan configuration should NOT be accessible by others.

** (generate:3775): WARNING **: 11:04:25.237: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.
root@ubuntu2204:~# netplan apply

** (generate:3780): WARNING **: 11:04:28.079: Permissions for /etc/netplan/00-installer-config.yaml are too open. Netplan configuration should NOT be accessible by others.

** (generate:3780): WARNING **: 11:04:28.079: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.
WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running.

** (process:3778): WARNING **: 11:04:28.223: Permissions for /etc/netplan/00-installer-config.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:3778): WARNING **: 11:04:28.223: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:3778): WARNING **: 11:04:28.280: Permissions for /etc/netplan/00-installer-config.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:3778): WARNING **: 11:04:28.280: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:3778): WARNING **: 11:04:28.280: Permissions for /etc/netplan/00-installer-config.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:3778): WARNING **: 11:04:28.280: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

At least /etc/netplan/01-netcfg.yaml is produced by the scripts in this repo and should set the permissions correctly.

@mnosenko
Copy link

try to change access mode of all files in /etc/netplan/ to 600
sudo chmod 600 /etc/netplan/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants