[18:52] <Guest63> Anyone know the answer to this question?  https://unix.stackexchange.com/q/677368/256581
[19:32] <minimal> Guest63: it seems like the hotplug related issue that was recently fixed
[19:33] <minimal> Guest63: https://github.com/canonical/cloud-init/pull/1069
[19:34] <minimal> Guest63: fixed in cloud-init 21.4
[19:36] <Guest63> OK thanks.  Since this is an image which is under control of the host (Hetzner) and I'm not sure how long it will take to fix, how to I apply the patch "after the event" as it were?
[19:36] <blackboxsw> minimal: thanks for fielding that. correct, fixed in 21.4 to avoid triggering that process when hotplug config is not set in user-data. Expected to publish this version of cloud-init to 18.04 Bionic, 20.04 Focal, 21.04 and 21.10 Monday or Tuesday
[19:38] <blackboxsw> Guest63: you can safely remove /etc/udev/rules.d/10-cloud-init-hook-hotplug.rules and it will immediately stop any hotplug related action on your system
[19:40] <Guest63> blackboxsw there is no such file
[19:41] <minimal> blackboxsw: you're welcome, where do I pick up my cheque? ;-)
[20:15] <Guest63> blackboxsw you still there?
[20:32] <blackboxsw> oops sorry was making lunch.
[20:34] <blackboxsw> Guest63:   so sorry thinko.    /lib/udev/rules.d/10-cloud-init-hook-hotplug.rules can be removed on cloud-init 21.3
[20:34] <blackboxsw> it'll prevent the hotplug hook from firing on all device adds removes.
[20:35] <blackboxsw> I'm wondering for context what general loads are being run on the system that are generating these udev events.
[20:58] <Guest63> blackboxsw so just delete that without rebooting?
[20:59] <Guest63> blackboxsw for example, in the cloud-init script I use when spinning up the server?
[21:00] <blackboxsw> Guest63: rm -f /lib/udev/rules.d/10-cloud-init-hook-hotplug.rules; sudo udevadm control --reload-rules
[21:00] <blackboxsw> this should not be a problem in about three days when cloud-init version 21.4 releases
[21:00] <blackboxsw> but until then you could do that in a #cloud-config  runcmd: 
[21:01] <blackboxsw> I'll test the cloud-config now to be sure
[21:06] <blackboxsw> Guest63: confirmed the following user-data:
[21:06] <blackboxsw> #cloud-config
[21:06] <blackboxsw> runcmd:
[21:06] <blackboxsw>  - rm -f /lib/udev/rules.d/10-cloud-init-hook-hotplug.rules
[21:06] <blackboxsw>  - udevadm control --reload-rules
[21:06] <blackboxsw> lxc launch ubuntu-daily:bionic bbb -c user.user-data="$(cat my.yaml)"
[21:06] <blackboxsw> that removes the udev rules in my container
[21:07] <blackboxsw> ok gotta run
[22:28] <Guest63> blackboxsw thank you so much!