Package: sudo
Version: 1.6.9p9-1
Severity: wishlist

>From the changelog:
> * make default editor be /usr/bin/vi instead of /usr/bin/editor, so that
>   the command 'visudo' invokes a vi variant by default as documented,
>   closes: #388659

And as a result, non-vi-users who upgrade from Etch and then run
"sudo -e /etc/fstab" will get a hideous surprise: instead of opening
it in their favourite text-editor (the one that worked yesterday),
instead it'll chuck it into something so notoriously unintuitive
that they'll be lucky if they can even get vi to let go of it. 

If there are vi users out there who don't have the /usr/bin/editor
symlink configured to point at their preferred sourcecode-mungeing
utility, that's not something to punish everybody else for.

The reporter of bug #388659 should have been informed that there are
already several similarly named commands in Debian (vidir, vipw,
vigr...) that don't default to vi in this rude fashion, which
demonstrates that it isn't reasonable to expect such behaviour from
one named "visudo".

It's true that the option of using the alternatives system wasn't
available for the authors of the upstream documentation, and is
therefore not mentioned in the man page; but extra distro-specific
integration features like this are exactly why I installed the
packaged version of sudo instead of using upstream tarballs in the
first place.

Besides, "man visudo" still doesn't actually tell Debian users how
the visudo binary on their system is going to behave, since they
don't know whether it was compiled --with-env-editor.  For that they
have to read the documentation in /usr/share/doc/sudo/.

Please, please revert this change and amend README.Debian to
document it as an extra Debian-specific feature, along with the 
others it already covers.  If you want help with that, I'm happy to
volunteer some assistance as long as I don't have to edit it in vi!

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i586)

Kernel: Linux 2.6.24.custom
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sudo depends on:
ii  libc6                         2.7-6      GNU C Library: Shared libraries
ii  libpam-modules                0.99.7.1-6 Pluggable Authentication Modules f
ii  libpam0g                      0.99.7.1-6 Pluggable Authentication Modules l

sudo recommends no packages.

-- no debconf information
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to