[X2Go-User] Vim

Mihai Moldovan ionic at ionic.de
Fri Nov 17 03:25:57 CET 2017


* On 11/17/2017 03:17 AM, Robert Dinse wrote:
>       Should be but centos6 is an ancient kludge.  I really should move this
> stuff to a modern ubuntu installation.

I've just looked it up. sudo on CentOS 7 depends upon vim-minimal, although a
comment in the ChangeLog mentions "visudo requires vim-minimal or setting EDITOR
to something useful (#68605)"

The bug report referenced is https://bugzilla.redhat.com/show_bug.cgi?id=68605 -
and it looks like this is where vim-minimal was added as a dependency.


So it looks like even CentOS 7 has this bug.

Working around it is difficult, though, since without a proper EDITOR
environment variable set, depending on vim-minimal makes sense to get visudo
working.

The alternative would be defaulting to nano for the EDITOR variable and
depending upon nano, but this will just shift the problem to users who hate nano.


Just to be clear - this issue is present on both CentOS 6 and 7... and I figure
Debian (or Ubuntu) don't fare better, but I haven't tested these systems.



Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20171117/1c0a6e1b/attachment-0001.sig>


More information about the x2go-user mailing list