Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No mailer for Gentoo???
Date: Fri, 06 Sep 2013 16:21:43
Message-Id: CADPrc829YfYD3B_sQaw5MjRLWb7Cn7ibX=FgW+PH3YESBJn_tQ@mail.gmail.com
In Reply to: Re: [gentoo-user] No mailer for Gentoo??? by "Canek Peláez Valdés"
1 On Fri, Sep 6, 2013 at 11:14 AM, Canek Peláez Valdés <caneko@×××××.com> wrote:
2 > On Fri, Sep 6, 2013 at 10:51 AM, Jarry <mr.jarry@×××××.com> wrote:
3 >> On 06-Sep-13 17:32, Michael Orlitzky wrote:
4 >>>
5 >>> On 09/06/2013 11:23 AM, Jarry wrote:
6 >>>>>
7 >>>>>
8 >>>>> It wasn't part of @system before, you just removed the thing that pulled
9 >>>>> it in.
10 >>>>
11 >>>>
12 >>>> No I did not. mail-mta/ssmtp was part of stage3. And I did not
13 >>>> remove now any "thing" that pulled it in. All I did was
14 >>>> "emerge --ask --update --deep --newuse world".
15 >>>>
16 >>>> As a result, python-exec, python-argparse and libxml2 were
17 >>>> reinstalled and automake-wrapper, gtk-doc-am, eselect and
18 >>>> linux-header updated. Nothing else.
19 >>>>
20 >>>> After that I did "emerge --depclean" and the above mentioned
21 >>>> packages were suddenly removed...
22 >>>>
23 >>>
24 >>> It could be that a package's deps were updated to no longer include
25 >>> virtual/mta. But it was never part of @system, you can check for yourself:
26 >>>
27 >>>
28 >>> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/profiles/base/packages?view=log
29 >>
30 >>
31 >> Then something got broken because I have packages installed
32 >> that need mailer (i.e. app-admin/monit or sys-fs/mdadm are
33 >> configured to send emails). And these packages do not have
34 >> "mail" use-flag, because their maintainers apparently expect
35 >> standard *nix mailer (/usr/bin/sendmail) exists on the system...
36 >>
37 >> So now I have "stable" system, updated to the latest level,
38 >> where a lot of things suddenly do not work. This should *never*
39 >> happen! If it was some package's dep that caused it, it's clear
40 >> this change was premature...
41 >
42 > I think is a bug in the packages. In my system the only package that
43 > pulls vitual/mta (and therefore ssmtp) is vixie-cron.
44
45 The change happened in the cron eclass:
46
47 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/cron.eclass?r1=1.15&r2=1.16
48
49 From the commit log: "Per extensive discussion with zmedico about
50 removing the need for package.provided, several packages have been
51 changed, like sudo, to not explicitly require an mta. Cron will
52 follow, leaving mta support optional."
53
54 The rationale (I suppose) is that the programs in question still work,
55 just the sending of emails fails.
56
57 Good riddance, if you ask me. If you need/want an MTA, just install
58 ssmtp by hand.
59
60 Regards.
61 --
62 Canek Peláez Valdés
63 Posgrado en Ciencia e Ingeniería de la Computación
64 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] No mailer for Gentoo??? Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] No mailer for Gentoo??? Pavel Volkov <negaipub@×××××.com>