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