cloud-init sudoers bug?

churnd

Active Member
Aug 11, 2013
43
2
28
When using cloud-init with a Debian 10 VM, there seems to be a bug or glitch in the sudoers file:

>>> /etc/sudoers.d/90-cloud-init-users: syntax error near line 11 <<<

Opening it with visudo looks like the attachment. If I remove line 11, it's fine. Just wondering where that file comes from & how to fix this from popping up? Also, why the repeated entries for debian user?

Screen Shot 2019-12-18 at 2.43.24 PM.png
 
Hi, this file gets auto-generated by cloud-init, seems the write was aborted or the file corrupted in another way.

This is a issue for the cloudinit package from Debian 10, so maybe it would be good to report a bug there or to the cloud init project upstream. https://bugs.launchpad.net/cloud-init/+filebug

We cannot support all client implementations of cloud init directly, I'm afraid.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!