Why does x2goserver on CentOS6 require vim? I delete vim and install
nvi because I detest the former and prefer the latter. Then x2goserver re-installs vim, ARGH.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
Why does x2goserver on CentOS6 require vim? I delete vim and install
nvi because I detest the former and prefer the latter. Then x2goserver re-installs vim, ARGH.
Our (upstream) x2goserver packages do not depend upon vim.
I've also checked the version packaged in EPEL 6 directly, and this likewise does not depend upon vim.
Whatever is happening, it's not due to the x2goserver packages.
Investigate further, I guess?
Mihai
On CentOS6, if I remove vim, it removes x2goserver and
x2goserver-xsession. If I re-install these, it install vim-minimal.
Yum tells me it requires sudo and vim-minimal.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 17 Nov 2017, Mihai Moldovan wrote:
Date: Fri, 17 Nov 2017 02:51:34 +0100 From: Mihai Moldovan <ionic@ionic.de> To: Robert Dinse <nanook@eskimo.com>, "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Vim
- On 11/17/2017 02:44 AM, Robert Dinse wrote:
Why does x2goserver on CentOS6 require vim? I delete vim and install
nvi because I detest the former and prefer the latter. Then x2goserver re-installs vim, ARGH.
Our (upstream) x2goserver packages do not depend upon vim.
I've also checked the version packaged in EPEL 6 directly, and this likewise does not depend upon vim.
Whatever is happening, it's not due to the x2goserver packages.
Investigate further, I guess?
Mihai
On CentOS6, if I remove vim, it removes x2goserver and
x2goserver-xsession. If I re-install these, it install vim-minimal.
Yum tells me it requires sudo and vim-minimal.
That makes sense. x2goserver does indeed depend upon sudo, but certainly not on vim itself.
sudo depending on vim sounds like a bug in EPEL 6/CentOS 6 instead. It should be editor-agnostic.
Mihai
Should be but centos6 is an ancient kludge. I really should move this
stuff to a modern ubuntu installation.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 17 Nov 2017, Mihai Moldovan wrote:
Date: Fri, 17 Nov 2017 03:14:35 +0100 From: Mihai Moldovan <ionic@ionic.de> To: Robert Dinse <nanook@eskimo.com> Cc: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Vim
- On 11/17/2017 03:13 AM, Robert Dinse wrote:
On CentOS6, if I remove vim, it removes x2goserver and
x2goserver-xsession. If I re-install these, it install vim-minimal.
Yum tells me it requires sudo and vim-minimal.
That makes sense. x2goserver does indeed depend upon sudo, but certainly not on vim itself.
sudo depending on vim sounds like a bug in EPEL 6/CentOS 6 instead. It should be editor-agnostic.
Mihai
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
I have EDITOR set to /bin/ex and VISUAL set to /bin/vi but apparently
that is not sufficient in Centos6.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 17 Nov 2017, Mihai Moldovan wrote:
Date: Fri, 17 Nov 2017 03:25:57 +0100 From: Mihai Moldovan <ionic@ionic.de> To: Robert Dinse <nanook@eskimo.com> Cc: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Vim
- 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
On Fri, Nov 17, 2017 at 3:53 AM, Mihai Moldovan <ionic@ionic.de> wrote:
- On 11/17/2017 03:52 AM, Robert Dinse wrote:
I have EDITOR set to /bin/ex and VISUAL set to /bin/vi but apparently
that is not sufficient in Centos6.
No, because, like I said, both CentOS 6's and 7's sudo packages hard-depend upon vim-minimal currently.
Well, having vim on the hdd is not really hurting, it is ~1MB in size.
nvi from EPEL does not conflict with vim-minimal:
$ rpm -qlp ./x86_64/Packages/n/nvi-1.81.6-2.el6.x86_64.rpm
/usr/bin/nex /usr/bin/nvi /usr/bin/nvi.recover /usr/bin/nview ...
$ rpm -ql vim-minimal /bin/ex /bin/rvi /bin/rview /bin/vi /bin/view /etc/virc
So where's the problem? Just install vim and ignore it (I don't like it myself).
Uli
I prefer ex / vi to be nvi rather than vim but easy enough to rm links
and re-create them.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 17 Nov 2017, Ulrich Sibiller wrote:
Date: Fri, 17 Nov 2017 08:57:03 +0100 From: Ulrich Sibiller <uli42@gmx.de> To: Mihai Moldovan <ionic@ionic.de> Cc: Robert Dinse <nanook@eskimo.com>, "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Vim
On Fri, Nov 17, 2017 at 3:53 AM, Mihai Moldovan <ionic@ionic.de> wrote:
- On 11/17/2017 03:52 AM, Robert Dinse wrote:
I have EDITOR set to /bin/ex and VISUAL set to /bin/vi but apparently
that is not sufficient in Centos6.
No, because, like I said, both CentOS 6's and 7's sudo packages hard-depend upon vim-minimal currently.
Well, having vim on the hdd is not really hurting, it is ~1MB in size.
nvi from EPEL does not conflict with vim-minimal:
$ rpm -qlp ./x86_64/Packages/n/nvi-1.81.6-2.el6.x86_64.rpm
/usr/bin/nex /usr/bin/nvi /usr/bin/nvi.recover /usr/bin/nview ...
$ rpm -ql vim-minimal /bin/ex /bin/rvi /bin/rview /bin/vi /bin/view /etc/virc
So where's the problem? Just install vim and ignore it (I don't like it myself).
Uli
There is no entry in there for either ex or vi.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 17 Nov 2017, Ulrich Sibiller wrote:
Date: Fri, 17 Nov 2017 10:24:04 +0100 From: Ulrich Sibiller <uli42@gmx.de> To: Robert Dinse <nanook@eskimo.com> Cc: Mihai Moldovan <ionic@ionic.de>, "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Vim
On Fri, Nov 17, 2017 at 9:04 AM, Robert Dinse <nanook@eskimo.com> wrote:
I prefer ex / vi to be nvi rather than vim but easy enough to rm links
and re-create them.
Check the /etc/alternatives system.
Uli
Late to the party here, but Debian sudo does not depend on any editor packages: https://packages.debian.org/stretch/sudo Neither does Ubuntu: https://packages.ubuntu.com/artful/sudo
Seth
On 11/16/2017 08:25 PM, Mihai Moldovan wrote:
- 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
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
-- Seth Galitzer Systems Coordinator Computer Science Department Kansas State University http://www.cs.ksu.edu/~sgsax sgsax@ksu.edu 785-532-7790
On 17 November 2017 at 13:14, Mihai Moldovan <ionic@ionic.de> wrote:
sudo depending on vim sounds like a bug in EPEL 6/CentOS 6 instead. It should be editor-agnostic.
If it's anything like Debian, sudo might depend on an editor (*any* editor) so that sudoedit works, and vim is just the first one in a dependency OR condition. Do you have another console editor installed (like Pico, Micro, Emacs)?
If it's anything like Debian, sudo might depend on an editor (*any* editor) so that sudoedit works, and vim is just the first one in a dependency OR condition. Do you have another console editor installed (like Pico, Micro, Emacs)?
Yes, in theory. Though see my previous mail.
They currently hard-depend upon vim-minimal.
Maybe Debian and derivatives solved this in a better way through their alternatives subsystem.
Mihai
Yes in ubuntu it seems fine with nvi.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 17 Nov 2017, Mihai Moldovan wrote:
Date: Fri, 17 Nov 2017 03:27:11 +0100 From: Mihai Moldovan <ionic@ionic.de> To: Jason Heeris <jason.heeris@gmail.com> Cc: Robert Dinse <nanook@eskimo.com>, "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Vim
- On 11/17/2017 03:24 AM, Jason Heeris wrote:
If it's anything like Debian, sudo might depend on an editor (*any* editor) so that sudoedit works, and vim is just the first one in a dependency OR condition. Do you have another console editor installed (like Pico, Micro, Emacs)?
Yes, in theory. Though see my previous mail.
They currently hard-depend upon vim-minimal.
Maybe Debian and derivatives solved this in a better way through their alternatives subsystem.
Mihai
Yes, I have NVI installed, but it seems not happy with that. When I use
the depends on function within add/remove software, it specifically lists vim-minimal as required by sudo.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 17 Nov 2017, Jason Heeris wrote:
Date: Fri, 17 Nov 2017 13:24:52 +1100 From: Jason Heeris <jason.heeris@gmail.com> To: Mihai Moldovan <ionic@ionic.de> Cc: Robert Dinse <nanook@eskimo.com>, "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Vim
On 17 November 2017 at 13:14, Mihai Moldovan <ionic@ionic.de> wrote:
sudo depending on vim sounds like a bug in EPEL 6/CentOS 6 instead. It should be editor-agnostic.
If it's anything like Debian, sudo might depend on an editor (*any* editor) so that sudoedit works, and vim is just the first one in a dependency OR condition. Do you have another console editor installed (like Pico, Micro, Emacs)?
- Jason