Summary: | net/cloud-init: fails when attempting to use write_files | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | ewan.nisbet | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | andrey, fernape, freebsd | ||||
Priority: | --- | Keywords: | needs-qa, patch | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(andrey) |
||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Bug Depends on: | 265975 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
ewan.nisbet
2022-07-12 17:34:44 UTC
> I've been using py38-cloud-init, and now py39-cloud-init in conjunction with Xen Orchestra
Perhaps to clarify: This means the hypervisor host is xen with cloud-init provided via xen orchestra, but the issue I'm reporting occurs in a FreeBSD13 vm on that platform.
Confirm, i'm see this error message in log, my host system FreeBSD bhyve cloud-init. But file created in guest system. We have 2 way, add patch in port, and need report upstream, #cloud-init IRC channel on Libera or https://bugs.launchpad.net/cloud-init/+filebug Created attachment 235227 [details]
reformat makepatch for current port
In irc cloud-init have hardcoded root:root https://github.com/canonical/cloud-init/blob/e0416cd67b423b9ae28e5edcd0db7aecdde4ecbe/cloudinit/config/cc_write_files.py#L18 need set owner: root:wheel in write_files upstream pull request https://github.com/canonical/cloud-init/pull/1587 Comment on attachment 235227 [details]
reformat makepatch for current port
this wrong way, upstream have more complex patch. Testing
this was fixed upstream and released in 22.3 |