Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 527102

Summary: sys-process/vixie-cron - + symbol in MAILTO causes segfaults
Product: Gentoo Linux Reporter: Mattias Merilai <jah>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mattias Merilai 2014-10-27 16:58:08 UTC
I'm trying to send mail from system services to addresses in the format of root+machine@domain.tld for easy filtering. But this crashes vixie:

IIRC with MAILTO=root+machine@domain.tld vixie service dies outright.
With MAILTO="root+machine@domain.tld" the tasks seem to run but no mail.
 
Oct 25 08:00:01 [kernel] [203222.029206] cron[1187]: segfault at 0 ip 000002ce85f4b791 sp 0000039364af98e0 error 4 in libc-2.19.so[2ce85ed4000+19e000]
Oct 25 08:00:01 [kernel] [203222.029232] grsec: Segmentation fault occurred at            (nil) in /usr/sbin/cron[cron:1187] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/cron[cron:2220] uid/euid:0/0 gid/egid:0/0
Oct 25 08:00:01 [kernel] [203222.029246] grsec: bruteforce prevention initiated for the next 30 minutes or until service restarted, stalling each fork 30 seconds.  Please investigate the crash report for /usr/sbin/cron[cron:1187] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/cron[cron:2220] uid/euid:0/0 gid/egid:0/0
Oct 25 08:00:01 [kernel] [203222.029259] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/sbin/cron[cron:1187] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/cron[cron:2220] uid/euid:0/0 gid/egid:0/0
Oct 25 18:00:01 [kernel] [239217.477837] cron[2076]: segfault at 0 ip 000002ce85f4b791 sp 0000039364af98e0 error 4 in libc-2.19.so[2ce85ed4000+19e000]
Oct 25 18:00:01 [kernel] [239217.477854] grsec: Segmentation fault occurred at            (nil) in /usr/sbin/cron[cron:2076] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/cron[cron:2220] uid/euid:0/0 gid/egid:0/0
Oct 25 18:00:01 [kernel] [239217.477864] grsec: bruteforce prevention initiated for the next 30 minutes or until service restarted, stalling each fork 30 seconds.  Please investigate the crash report for /usr/sbin/cron[cron:2076] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/cron[cron:2220] uid/euid:0/0 gid/egid:0/0
Oct 25 18:00:01 [kernel] [239217.477877] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/sbin/cron[cron:2076] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/cron[cron:2220] uid/euid:0/0 gid/egid:0/0

Dunno if related to hardened, i have no non-hardened system to test. Using a mail address with no + in it works around the issue.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-27 17:01:55 UTC

*** This bug has been marked as a duplicate of bug 197625 ***
Comment 2 Mattias Merilai 2014-10-27 20:58:14 UTC
cool, went cronie, tyfyt