When ssmtp attempts to execute, it is crashed: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/sbin/ssmtp[sendmail:175700] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/fcron[fcron:364687] uid/euid:0/0 gid/egid:0/0
Created attachment 107136 [details] emerge --info
The version is: mail-mta/ssmtp-2.61-r2
Reopen with exact ebuild version and a backtrace: http://www.gentoo.org/proj/en/qa/backtraces.xml
The exact ebuild version did not change and is still the same as reported originally: mail-mta/ssmtp-2.61-r2. Unfortunately, it is not currently possible to go through all the motions outlined in http://www.gentoo.org/proj/en/qa/backtraces.xml on the motion where this bug was observered, and I don't have another Gentoo machine at my disposal. So if the goal is to keep the bug count down, please go ahead and close this bug. It will certainly help that cause - or at least until someone else opens it. If on the other hand, the goal is to have software with no bugs, all that is needed to do to reproduce this bug, is to install on any of 2.6.19 hardened kernels and try to send an e-mail. Thanks
Well, reopen when you have time to provide the required info. Thanks.
Please find the required information below and attached. localhost ~ # equery u mail-mta/ssmtp [ Searching for packages matching mail-mta/ssmtp... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for mail-mta/ssmtp-2.61-r2 ] U I - - ipv6 : Adds support for IP version 6 - - mailwrapper : Adds mailwrapper support to allow multiple MTAs to be installed + + md5sum : Enables MD5 summing for ssmtp + + ssl : Adds support for Secure Socket Layer connections localhost ~ # mail -vs Test jakub@gentoo.org <test.txt [<-] 220 mx.google.com ESMTP h19sm17861265wxd [->] EHLO falke.info@gmail.com [<-] 250 ENHANCEDSTATUSCODES [->] STARTTLS [<-] 220 2.0.0 Ready to start TLS [->] EHLO falke.info@gmail.com [<-] 250 ENHANCEDSTATUSCODES Can't send mail: sendmail process failed localhost ~ # gdb mail --core core GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". warning: core file may not match specified executable file. (no debugging symbols found) Core was generated by `send-mail -i -v -- jakub@gentoo.org'. Program terminated with signal 11, Segmentation fault. #0 0x000037453b52515b in _start () from /lib64/ld-linux-x86-64.so.2 (gdb) bt full #0 0x000037453b52515b in _start () from /lib64/ld-linux-x86-64.so.2 No symbol table info available. #1 0x000000000040403d in ?? () No symbol table info available. #2 0x0000000000405bc0 in ?? () No symbol table info available. #3 0x0000000000000000 in ?? () No symbol table info available. (gdb) quit
Well, then re-read the howto again and try to produce something more useful; backtraces without any debugging symbols really won't help.
Created attachment 110928 [details] emerge --info
Created attachment 110929 [details] test.txt
Created attachment 110930 [details] /etc/ssmtp/ssmtp.conf
Created attachment 110931 [details] /etc/ssmtp/revaliases
Record in /var/log/grsec.log: Feb 21 13:34:59 localhost grsec: From 199.33.159.173: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/sbin/ssmtp[sendmail:948442] uid/euid:0/0 gid/egid:0/0, parent /bin/mail[mail:948439] uid/euid:0/0 gid/egid:0/0
please test with ssmtp-2.62 and reopen this bug if the problem still exists.