Gentoo Archives: gentoo-user

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

Replies

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