1 |
On Sat, Mar 1, 2014 at 11:06 AM, William Hubbs <williamh@g.o> wrote: |
2 |
> |
3 |
> No sir, I was not telling a half-truth. |
4 |
> |
5 |
> If the default configuration is stored in /lib/udev/rules.d for example, |
6 |
> and you can override that default by dropping files of the same name in |
7 |
> /etc/udev/rules.d, I don't see what the concern is. |
8 |
> |
9 |
Oh, that's easy. The concern is that, as a sysadmin, I have no idea |
10 |
what the current configuration even is, let alone any idea that the |
11 |
override is even possible or how the override file is formatted. This |
12 |
problem is magnified for every thing that works this way multiplied |
13 |
again by every instance that the configuration needs to be checked or |
14 |
changed (because it likely needs to be looked up again because it's in |
15 |
a non-standard place and we humans don't remember things well if |
16 |
they're not a constant presence in our lives). |
17 |
|
18 |
In short: Making life easier for users is why distros even exist in |
19 |
the first place. This method lacks transparency and makes life harder |
20 |
for users. |
21 |
|
22 |
On Sat, Mar 1, 2014 at 1:31 PM, Alec Warner <antarus@g.o> wrote: |
23 |
> |
24 |
> it is easy for a some users to determine, using existing tools (vim, less, |
25 |
> etc.) to view what the configuration state is. |
26 |
> |
27 |
This point is incredibly important: It should really never require a |
28 |
search engine to even determine what the current config looks like. I |
29 |
don't care if it involves moving the canonical config, or putting a |
30 |
stub config in /etc with a comment to the effect of: |
31 |
# This file is for overrides; please see /lib/foo/bar for the default |
32 |
system configuration. |
33 |
|
34 |
...or throwing a bunch of code at it to invent a better config |
35 |
tracking tool (again), or whatever. |
36 |
|
37 |
Or say "screw it" and this thread dies with no tangible action like so |
38 |
many others; enjoy your papercuts, users. |
39 |
|
40 |
> When the default configs are in /lib/udev/.../ and the over-rides are in |
41 |
> /etc/udev/.../ that is perhaps less clear. Many applications already provide |
42 |
> app specific tools for this. You can run apt-config dump to dump your entire |
43 |
> apt configuration (on debian / ubuntu) for example. I'm unsure if polkit or |
44 |
> dbus have a tool that will read in the configuration and dump what the |
45 |
> daemon thinks the state would be (if it loaded it.) (puppet has |
46 |
> |
47 |
Oh PLEASE don't let this become a trend. I can't fathom any |
48 |
legitimate reason to reinvent cat repeatedly. |
49 |
|
50 |
> gconf, dconf, polkit, dbus, all do stuff like this. I actually find the |
51 |
> solution somewhat elegant from my side as a sysadmin. |
52 |
> |
53 |
I'm curious: how many people have you encountered who even know those |
54 |
can be configured? (Never mind things like "how does this work?" or |
55 |
"what does this even do?"; you've made a very nice list of things |
56 |
hardly anyone understands. :/ ) |
57 |
|
58 |
Cheers, |
59 |
Wyatt |