4

the package sudo-1.8.15-2.fc23.x86_64 in fedora 23 depends on vi, as attested by:

$ rpm -qR sudo | grep vi /usr/bin/vi

Why? Is it a mistake on the side of the package maintainer? This dependency causes at least one bug in fedora 23.

I'm running fedora 23, as attested by:

uname -a Linux localhost.localdomain 4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

2
  • 2
    Probably because visudo and sudoedit by default uses vi. I am not sure how the bug report you linked is relevant though, since vi != vim.
    – Tom Yan
    Jun 14, 2016 at 15:42
  • @TomYan dnf removes sudo when user executes sudo dnf remove vim-minimal. That's probably a bug with dnf. Jun 14, 2016 at 16:21

1 Answer 1

5

Because visudo is using vi as a default editor.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .