본문 바로가기
Linux/Ubuntu

Ubuntu 23.04 : netplan apply시 발생한 에러문구

by ccclog 2023. 9. 11.
반응형



- 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.' 

재발되는 것으로 확인.

추후 개선사항 있을 때 업데이트

반응형