Bug#349465: vim: Vim makes bad assumptions about the presence of $HOME; problematic with sudo DSA-946-1

Stefano Zacchiroli zack at debian.org
Mon Jan 23 10:14:17 UTC 2006

tags 349465 + unreproducible

On Mon, Jan 23, 2006 at 06:00:52PM +1000, David Young wrote:
> Since the recent patch of sudo (DSA-946-1) started filtering the HOME
> environment variable (leaving it unset), Vim:

Could you please provide more info on this?

On a sid box I already have the version of sudo including the fix
(1.6.8p12-1), but I'm unable to reproduce the behaviour you are
reporting, thus I'm tagging the bug as "unreproducible".  Details of my
tests follow.

I tried both running "sudo -s" (as root) and "sudo vim" (as a user who
has the permission to run "/usr/bin/vim" via sudo). In the former case
"$HOME" is set correctly to "/root", in the latter case vim starts
properly without exhibiting any of the problems you reported.

Thanks for the bug report.

Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060123/453be89b/attachment.pgp

More information about the pkg-vim-maintainers mailing list