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. |