cloud init write netrule file may modified permissions of /dev/null
Bug #2011783 reported by
wenao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
cloud init network configure can write udev rule file: etc/udev/
but this file may be exist and link to /dev/null, This means that the user has disabled the rule file,(https:/
modified permissions of /dev/null from 666 to 644, Causes normal(no root) users to have no permission to wirite to /dev/null (eg: echo hello > /dev/null)
so we want cloud init have a check before write rules file (function render_
and cloudinit/
affects: | canonical-identity-provider → cloud-init (Ubuntu) |
To post a comment you must log in.
Are you wanting to disable cloud-init from configuring the network entirely? If so, that can be done following these instructions: /cloudinit. readthedocs. io/en/latest/ reference/ network- config. html#disabling- network- configuration
https:/
Otherwise, you're essentially asking to have cloud-init partially configure the network, but ignore the parts you want to keep separate. Can you explain the use case for such a setup?
Also, please attach the resulting tarball from "cloud-init collects-logs".