Gentoo Archives: gentoo-dev

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Resolve build time default editor dependency. (was: How get ebuild provider virtual/category.)
Date: Sun, 12 Nov 2006 13:27:37
Message-Id: 1163337681.10331.171.camel@localhost
In Reply to: Re: [gentoo-dev] Resolve build time default editor dependency. (was: How get ebuild provider virtual/category.) by Tavis Ormandy
1 On Sun, 2006-11-12 at 12:15 +0000, Tavis Ormandy wrote:
2 > The only `hardcoded` editor is the fallback editor for
3 > visudo
4
5 And this is the problem I'm talking about. I do not see any reasons to
6 keep this not working fallback. There are parts of code that just do not
7 work in Gentoo.
8
9 > which can be set with the editor default in sudoers.
10
11 That's good. But some packages (I'm talking about practically *all*
12 crontab, vipw, vigr and may be other applications) do not have such
13 configuration file to configure that default editor.
14
15 And IMO configuration file should change *sane* defaults but I do not
16 think nano is sane default ;)
17
18 Thus I suggested either remove non working fallback in packages
19 (patching sources) or fix unpredictable and non-working fallback by
20 adding some sane default (that was /usr/bin/editor in my initial mail).
21 In other cases current behavior is a bug (some part of program is not
22 working as intended by upstream). And note suggested trivial fix as a
23 side effect makes virtual/editor conform glep 37 (also good).
24
25 Hope I've made points a bit clearer.
26
27 Peter.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies