Hi!
This seems to be a side effect of fixing that default-editor-package -
the initial nano-default-editor package broke system upgrades. [1]
The current accepted solution seems to let the dnf resolver decide,
which seems to prefer nano-default-editor, if nano is installed.
This was only ever explicitely added in workstation-product,
security-lab and "standard", which is pulled in by some desktop
releases and also fedora server. Some of the desktops seem to explicitely
tilt the decision towards vim, possibly on purpose.
If you keep your installation as close as possible to "minimal", you'll
also end up without any default-editor. (I do choose that method
explicitely, as it triggers the least amount of problems for me.)
Personal opinion:
If this should be hardcoded for fedora server this should stay vi.
Forcing it to nano annoyed a lot of people, especially so as the
initial solution also forced nano on existing installations.
The changes that made dnf choose vim over nano seems to mostly have gone
unnoticed or was seen as good change - also because of that I'd prefer
to keep vi for server.
I do install vim-enhanced on most of my systems, but this is a personal
preference - vi does suffice for a basic server installation, everything
above that is see as user choice.
All the best,
Astra
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=1955884
On Tue, Nov 09, 2021 at 12:11:13AM +0100, Peter Boy wrote:
> Am 08.11.2021 um 23:51 schrieb Neal Gompa
<ngompa13(a)gmail.com>:
>
> On Mon, Nov 8, 2021 at 5:45 PM Peter Boy <pboy(a)uni-bremen.de> wrote:
>>
>>
>>> Am 07.11.2021 um 21:11 schrieb Matthew Miller
<mattdm(a)fedoraproject.org>:
>>>
>>> On Sun, Nov 07, 2021 at 12:16:30PM +0100, Peter Boy wrote:
>>>> In Fedora 34 the default editor was nano, for Workstation and also for
>>>> Server. In my latest default F35 Server installation I noticed
>>>> vim-default-editor was installed.
>>>> Did some good soul take pity and bring vim back to us or did something
go
>>>> wrong with my installation?
>>>
>>> Hmmm, interesting. I don't see anything in the repo with requires or
>>> recommends that package....
>>>
>>> --
>>> Matthew Miller
>>> <mattdm(a)fedoraproject.org>
>>> Fedora Project Leader
>>
>>
>> Just for fun I double checked and did fresh install
>>
>> …
>>
>> So, in F34 there was a default-nano-editor.
>>
>> In F35 no default-nano-editor at all, instead a default-vim-editor that was not
present in F34.
>>
>> I don’t want to complain, in contrary, I appreciate that.
>>
>> There must be a good soul in the Fedora universe who takes pity on server
administrators.
>>
>
> Hardly. This is definitely a bug that should be fixed. Having an
> unfriendly editor by default is a terrible thing.
It’s definitely not a bug nor an unfriendly editor for Server admins and there is no need
to fix it. The vim package contains so many useful things like vimdiff to easily compare
config files after update, as an example. It was a bug to change it for Server, too.
For Workstation people nano may be the better choice, indeed.
_______________________________________________
server mailing list -- server(a)lists.fedoraproject.org
To unsubscribe send an email to server-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/server@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure