Gentoo Archives: gentoo-user

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