sHAKaJaada Given that /etc/sudoers
was managed by the package manager your changes to it were always going to be blown away if there was a package update. The new update is stateless in that the default config file is moved to /usr/share/defaults/etc/sudo/sudoers
which should make it more obvious that the file is managed by the package manager. We did however add an include statement so that any files in /etc/sudoers.d
will be read and appended to the sudo config and this is the recommended way to add additional statements.
I'm going to add a patch to ensure that visudo defaults to creating files under that directory.
zmaint: @sHAKaJaada is reporting a new issue, the one you're referring to is already fixed and that fix has been synced to stable.