Bug 742225
Summary: | missing dependency to vi | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> |
Component: | shadow-utils | Assignee: | Peter Vrabec <pvrabec> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | pvrabec, tmraz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-11-10 16:10:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mads Kiilerich
2011-09-29 12:47:16 UTC
Surely, I do not think that adding dependency to vi is desirable on shadow-utils. And adding a special subpackage for vipw seems to me like an overkill as well. However vipw should fail gracefully with a proper error message suggesting to install the vi. sh: vi: command not found vipw: vi: No such file or directory vipw: vi: No such file or directory vipw: /etc/passwd is unchanged I hope these messages are OK. Well ... yes ... the messages are Ok. They show that the package is missing a requirement ;-) IIRC debian patches _every_ application with their own editor scheme. I don't like their way of doing it, but I think Fedora should have some kind of solution to the problem. Wouldn't a simple but working scheme be to let all editors drop a (prioritized) snippet in /etc/profile.d setting EDITOR and/or VISUAL and provide "editor". That would allow shadow-utils (and sudo and crontab and...) to grow a dependency to "editor" without forcing users to install a particular editor. |