Bug 979382
| Summary: | sudo packages requires vim-minimal | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin M. S. Pedersen <martin> |
| Component: | sudo | Assignee: | Daniel Kopeček <dkopecek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dkopecek, hdaniel, jacob.e.keller, karsten, kzak, lnie, martin, mk.43.ecko |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | sudo-1.8.12-1.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-23 23:24:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Martin M. S. Pedersen
2013-06-28 11:39:00 UTC
This needs to be fixed in sudo, not in vim as visudo is part of the sudo package Yes, I've had this problem on my machine. There is a work around by first removing sudo and vim-minimal, then installing vim-enhanced, and then sudo, which re-installs vim-minimal (even though we shouldn't need it, since visudo can use any editor!) The other alternative is to install vim-enhanced with --force... Neither of these is a great solution. Instead, there should be a "vim" abstract package which both vim-minimal and vim-enhanced can supply, so that an install of vim-enhanced will simply remove vim-minimal with no issues. Note this is still a bug in sudo-1.8.8, and can easily be fixed by changing the Requires: vim-minimal to be "Requires: /usr/bin/vim" It can also be changed to Requires: vim as long as both vim-minimal and vim-enhanced add virtual Provides: vim to their package files. This is a trivial fix which should not take long. I am willing to do this, but I am not sure how to submit a change to package spec files. Another possible solution is to have vim-enhanced provide the vim-minimal package which should resolve the issue. sudo-1.8.11-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/sudo-1.8.11-1.fc20 Package sudo-1.8.11-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing sudo-1.8.11-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-11928/sudo-1.8.11-1.fc20 then log in and leave karma (feedback). sudo-1.8.11p2-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/sudo-1.8.11p2-1.fc20 sudo-1.8.11p2-1.fc20 works sudo-1.8.12-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/sudo-1.8.12-1.fc20 sudo-1.8.12-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. Problem still persists if fc22: [hdaniel@hdaniel-x1 neutron (master)]$ rpm -qR sudo /bin/chmod /bin/sh /etc/pam.d/system-auth /usr/bin/vi config(sudo) = 1.8.14p3-1.fc22 libaudit.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.8)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libselinux.so.1()(64bit) libsudo_util.so.0()(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.2.5)(64bit) libz.so.1()(64bit) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 rtld(GNU_HASH) Reopen this bug, please. Still reproducible with fedora 25: λ sudo dnf remove vim-minimal [sudo] password for ecko: Dependencies resolved. ====================================================================================== Package Arch Version Repository Size ====================================================================================== Removing: sudo x86_64 1.8.18p1-1.fc25 @updates 2.5 M vim-minimal x86_64 2:8.0.502-1.fc25 @updates 1.0 M Transaction Summary ====================================================================================== Remove 2 Packages Installed size: 3.6 M Is this ok [y/N]: n Operation aborted. |