1 |
Thomas de Grenier de Latour wrote: |
2 |
> On Sat, 28 Jan 2006 18:58:52 -0800 |
3 |
> Donnie Berkholz <spyderous@g.o> wrote: |
4 |
> |
5 |
>> You want people to recompile the whole package to get another |
6 |
>> text file installed? |
7 |
> |
8 |
> When would one recompile a package just for that? Only case i can |
9 |
> think of is when someone who already has setup his apache / ftp / |
10 |
> database / whatever server suddenly discover what "logrotate" is |
11 |
> and thus decide to start using it, whereas until then he didn't |
12 |
> payed any attention to the flag each time it was listed by "emerge |
13 |
> -pv". That sounds rather unlikely, and i would say "too bad, be |
14 |
> more careful next time..." to such a sysadmin. |
15 |
|
16 |
Oh, that's really friendly. Too bad, so sad, you just have to spend 10 |
17 |
hours recompiling all your logrotate-using packages. |
18 |
|
19 |
> And anyway, this |
20 |
> user doesn't really have to recompile anything to fix his mistake: |
21 |
> he can still have a look on the ebuild to see that if the file he |
22 |
> is missing is available in $FILESDIR, or use "ebuild unpack" and |
23 |
> get it from the sources tree when it comes from upstream. |
24 |
|
25 |
I don't expect users to know ebuild syntax to install a package. That's |
26 |
a terrible assumption to make. |
27 |
|
28 |
If it's something in filesdir and you really insist on a USE flag, my |
29 |
preference would be that it's a separate package pulled in by a USE flag |
30 |
instead of requiring a recompilation. |
31 |
|
32 |
>> People who don't want it can set INSTALL_MASK. It should be |
33 |
>> installed by default and not switchable with a USE flag. |
34 |
> |
35 |
> USE flag is the only way to indicate that a package has logrotate |
36 |
> support, and that's important. Remember that files added to an |
37 |
> /etc/something.d/ directory are chunks of configuration merged |
38 |
> with the user's one. First time they are installed, they are just |
39 |
> like bypassing the etc-update protection. |
40 |
> I remember that, maybe 2 years ago, syslog-ng suddenly started to |
41 |
> install a logrotate.d file, with no USE flag. Sure i didn't |
42 |
> noticed it, until i saw that what i had already configured by hand |
43 |
> in a different file was not working has expected anymore. Ok, |
44 |
> that's just logs rotation, it doesn't hurt that much, but still, i |
45 |
> would have prefer it to be introduced along with a USE flag, so |
46 |
> that i can notice the change and decide whether i accept it and |
47 |
> adapt my configuration. |
48 |
|
49 |
And any other "new" file in /etc you also want a USE flag introduced |
50 |
for? Sounds real scalable. Or is this just an exception from the rule? |
51 |
|
52 |
Thanks, |
53 |
Donnie |