Package: sudo
Version: 1.7.4p6-1
Severity: important
When testing upgrade of a clean installation of Debian/Squeeze to
Wheezy (testing), sudo failed to install because it claimed the
untouched (by me) /etc/sudoers file had changed. This was the error:
Setting up sudo (1.7.4p6-1) ...
Configuration file `/etc/sudoers'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** sudoers (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing sudo
(--configure)
:
EOF on stdin at conffile prompt
Note that the test was done by a script, first bootstrapping a Squeeze
install, next installing the KDE desktop task, finally upgrading it to
Wheezy. Nothing was changed in the installed chroot during this
process.
This was the change reported by dpkg when I later verified this
problem:
--- /etc/sudoers 2011-07-30 11:38:17.000000000 +0000
+++ /etc/sudoers.dpkg-new 2011-02-09 18:47:23.000000000 +0000
@@ -1,10 +1,11 @@
-# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
+# Please consider adding local content in /etc/sudoers.d/ instead of
+# directly modifying this file.
+#
# See the man page for details on how to write a sudoers file.
#
-
Defaults env_reset
# Host alias specification
@@ -14,11 +15,9 @@
# Cmnd alias specification
# User privilege specification
-root ALL=(ALL) ALL
+root ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
-# (Note that later entries override this, so you might need to move
-# it further down)
-%sudo ALL=(ALL) ALL
-#
+%sudo ALL=(ALL:ALL) ALL
+
#includedir /etc/sudoers.d
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]