Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] No mailer for Gentoo??? Jarry <mr.jarry@×××××.com>