Just because tags show verification needed. I ran through and validated
the netplan on jammy has right limited perms as root-rw and no warnings
emitted by netplan apply due to permissions
## test logs
csmith@midtown:~$ lxc launch ubuntu-daily:jammy t-j
Creating t-j
Starting t-j
csmith@midtown:~$ lxc exec t-j -- cloud-init status --wait --format=yaml
---
_schema_version: '1'
boot_status_code: enabled-by-generator
datasource: lxd
detail: DataSourceLXD
errors: []
extended_status: done
init:
errors: []
finished: 1714400907.8807135
recoverable_errors: {}
start: 1714400907.4610379
init-local:
errors: []
finished: 1714400906.754673
recoverable_errors: {}
start: 1714400906.4037504
last_update: Mon, 29 Apr 2024 14:28:33 +0000
modules-config:
errors: []
finished: 1714400913.6523855
recoverable_errors: {}
start: 1714400913.5117085
modules-final:
errors: []
finished: 1714400913.9227617
recoverable_errors: {}
start: 1714400913.8417974
recoverable_errors: {}
schemas:
'1':
boot_status_code: enabled-by-generator
datasource: lxd
detail: DataSourceLXD
errors: []
extended_status: done
init:
errors: []
finished: 1714400907.8807135
recoverable_errors: {}
start: 1714400907.4610379
init-local:
errors: []
finished: 1714400906.754673
recoverable_errors: {}
start: 1714400906.4037504
last_update: Mon, 29 Apr 2024 14:28:33 +0000
modules-config:
errors: []
finished: 1714400913.6523855
recoverable_errors: {}
start: 1714400913.5117085
modules-final:
errors: []
finished: 1714400913.9227617
recoverable_errors: {}
start: 1714400913.8417974
recoverable_errors: {}
stage: null
status: done
stage: null
status: done
...
csmith@midtown:~$ echo $?
0
csmith@midtown:~$ lxc exec t-j -- ls -ltr /etc/netplan/50-cloud-init.yaml
-rw------- 1 root root 389 Apr 29 14:28 /etc/netplan/50-cloud-init.yaml
csmith@midtown:~$ lxc exec t-j -- netplan apply
WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running.
csmith@midtown:~$ lxc exec t-j -- cloud-init --version
/usr/bin/cloud-init 24.1.3-0ubuntu1~22.04.1
** Tags removed: verification-needed
** Tags added: verification-done
** Changed in: cloud-init (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2053157
Title:
Jammy: netplan permissions warnings
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2053157/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs