1 |
On Fri, Sep 6, 2013 at 11:45 AM, Jarry <mr.jarry@×××××.com> wrote: |
2 |
> On 06-Sep-13 18:29, Canek Peláez Valdés wrote: |
3 |
>> |
4 |
>> On Fri, Sep 6, 2013 at 11:22 AM, Jarry <mr.jarry@×××××.com> wrote: |
5 |
>>> |
6 |
>>> On 06-Sep-13 18:14, Canek Peláez Valdés wrote: |
7 |
>>>> |
8 |
>>>> |
9 |
>>>> On Fri, Sep 6, 2013 at 10:51 AM, Jarry <mr.jarry@×××××.com> wrote: |
10 |
>>>>> |
11 |
>>>>> |
12 |
>>>>> On 06-Sep-13 17:32, Michael Orlitzky wrote: |
13 |
>>>>>> |
14 |
>>>>>> |
15 |
>>>>>> |
16 |
>>>>>> On 09/06/2013 11:23 AM, Jarry wrote: |
17 |
>>>>>>>> |
18 |
>>>>>>>> |
19 |
>>>>>>>> |
20 |
>>>>>>>> |
21 |
>>>>>>>> It wasn't part of @system before, you just removed the thing that |
22 |
>>>>>>>> pulled |
23 |
>>>>>>>> it in. |
24 |
>>>>>>> |
25 |
>>>>>>> |
26 |
>>>>>>> |
27 |
>>>>>>> |
28 |
>>>>>>> No I did not. mail-mta/ssmtp was part of stage3. And I did not |
29 |
>>>>>>> remove now any "thing" that pulled it in. All I did was |
30 |
>>>>>>> "emerge --ask --update --deep --newuse world". |
31 |
>>>>>>> |
32 |
>>>>>>> As a result, python-exec, python-argparse and libxml2 were |
33 |
>>>>>>> reinstalled and automake-wrapper, gtk-doc-am, eselect and |
34 |
>>>>>>> linux-header updated. Nothing else. |
35 |
>>>>>>> |
36 |
>>>>>>> After that I did "emerge --depclean" and the above mentioned |
37 |
>>>>>>> packages were suddenly removed... |
38 |
>>>>>>> |
39 |
>>>>>> |
40 |
>>>>>> It could be that a package's deps were updated to no longer include |
41 |
>>>>>> virtual/mta. But it was never part of @system, you can check for |
42 |
>>>>>> yourself: |
43 |
>>>>>> |
44 |
>>>>>> |
45 |
>>>>>> |
46 |
>>>>>> |
47 |
>>>>>> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/profiles/base/packages?view=log |
48 |
>>>>> |
49 |
>>>>> |
50 |
>>>>> |
51 |
>>>>> |
52 |
>>>>> Then something got broken because I have packages installed |
53 |
>>>>> that need mailer (i.e. app-admin/monit or sys-fs/mdadm are |
54 |
>>>>> configured to send emails). And these packages do not have |
55 |
>>>>> "mail" use-flag, because their maintainers apparently expect |
56 |
>>>>> standard *nix mailer (/usr/bin/sendmail) exists on the system... |
57 |
>>>>> |
58 |
>>>>> So now I have "stable" system, updated to the latest level, |
59 |
>>>>> where a lot of things suddenly do not work. This should *never* |
60 |
>>>>> happen! If it was some package's dep that caused it, it's clear |
61 |
>>>>> this change was premature... |
62 |
>>>> |
63 |
>>>> |
64 |
>>>> |
65 |
>>>> I think is a bug in the packages. In my system the only package that |
66 |
>>>> pulls vitual/mta (and therefore ssmtp) is vixie-cron. |
67 |
>>> |
68 |
>>> |
69 |
>>> |
70 |
>>> That is strange. I have sys-process/vixie-cron-4.1-r12 and yet |
71 |
>>> revdep-rebuild does not want to pull virtual/mta. But It should, |
72 |
>>> as cron can be configured to send emails too. |
73 |
>> |
74 |
>> |
75 |
>> Read my last mail; they changed the RDEPEND for the cron eclass. |
76 |
>> |
77 |
>>> As I wrote: there are *many* packages that expect standard |
78 |
>>> *nix mailer exists! If it does not, a lot of packages must |
79 |
>>> be fixed to include mailer as dependency. |
80 |
>> |
81 |
>> |
82 |
>> The devs disagree. I think I'm with them; the packages in question |
83 |
>> actually work, it just happens that they can't send mails anymore. If |
84 |
>> you need/want them to send mails, install an MTA. |
85 |
>> |
86 |
> |
87 |
> "Just" can't send mails. So if mdadm detects failed drive in raid1 |
88 |
> and I do not get mail about it, I will discover it at least when |
89 |
> the 2nd drive fails. That's a relief... |
90 |
|
91 |
I believe we can trust Gentoo users to know when they have (or not) an MTA. |
92 |
|
93 |
> Why is there no global use-variable "mta"? Why not even local |
94 |
> for packages that might use mailer? This goes completely against |
95 |
> Gentoo-principles, if user has to search which other packages are |
96 |
> required and install them manually. Is it not what we have |
97 |
> use-flags for? |
98 |
|
99 |
The problem with USE flags is that they trigger a recompile when they |
100 |
change. In this case a recompile is completely unnecessary, since the |
101 |
package *works* with and without an MTA. As I said, the only |
102 |
difference is that you can (or not) send mails. |
103 |
|
104 |
I don't see a problem with that; if you need an MTA, install an MTA. |
105 |
If you think is a problem, file a bug. |
106 |
|
107 |
But I think it will be closed as WONTFIX. |
108 |
|
109 |
Regards. |
110 |
-- |
111 |
Canek Peláez Valdés |
112 |
Posgrado en Ciencia e Ingeniería de la Computación |
113 |
Universidad Nacional Autónoma de México |