- Permissions for /etc/netplan/00-installer-config.yaml are too open.
Netplan configuration should NOT be accessible by others.
# etc/netplan/*.yaml 파일 기본권한 622 -> chmod 600으로 변경.
https://askubuntu.com/questions/1477287/need-help-with-a-netplan-configuration-issue
Need help with a Netplan configuration issue
When I did sudo netplan apply, it shows me permission warnings. Below are the same exact messages shown by the terminal. ** (generate:2496): WARNING **: 05:24:24.943: Permissions for /etc/netplan/00-
askubuntu.com
-'gateway4' has been deprecated, use default routes instead.
# 23.04 netplan gateway4 구문 routes로 변경됨.
gateway4: 192.168.10.1
->
routes:
- to: default
via: 192.168.10.1
- Cannot call openvswitch: ovsdb-server.service is not running.
#OS버전 버그로 확인.
>>apt-get install openvswitch-switch
>>systemctl disable ovsdb-server
>>systemctl mask ovsdb-server
>>netplan apply
참고자료: https://github.com/canonical/netplan/pull/307
apply: Fix crash when OVS is stopped (LP#1995598) by daniloegea · Pull Request #307 · canonical/netplan
If openvswitch is installed but not running, netplan apply will try to call the service anyway and will crash. In this case we probably should ignore the error and log a warning message to the user...
github.com
#2023.09.21 해당 방법 적용 후에도
'Cannot call openvswitch: ovsdb-server.service is not running.'
재발되는 것으로 확인.
추후 개선사항 있을 때 업데이트
'Linux > Ubuntu' 카테고리의 다른 글
Ubuntu 22.04: Network static 설정. (0) | 2023.10.13 |
---|---|
UBUNTU: apt-get 명령어 모음 (0) | 2023.09.12 |
Ubuntu 20.04.6 Netplan static, dhcp 설정. (0) | 2023.09.08 |
UBUNTU server : systemd-networkd-wait-online.service disable/mask (0) | 2023.09.05 |
UBUNTU 18.04 : 자동 업데이트 끄기. (0) | 2022.11.02 |