Bug 241499

Summary: weekly cron segfault after firstboot of f7-rc2
Product: [Fedora] Fedora Reporter: Darwin H. Webb <thethirddoorontheleft>
Component: anacronAssignee: Ivana Varekova <varekova>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mmaslano
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-06 12:53:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
debug version of makewhatis command
none
output of makewhatis none

Description Darwin H. Webb 2007-05-26 20:28:28 UTC
Description of problem:
normal sendmail activity for root (passed to user alias)

sh: line 1:  8158 Segmentation fault      zcat
"/usr/share/man/man3/mkfifoat.3.gz" 2> /dev/null

Version-Release number of selected component (if applicable):
anacron-2.3-47.fc7

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ivana Varekova 2007-05-28 10:37:30 UTC
Please could you put here the list of services which you have on your cron
weekly list. And could you copy/attach here the whole mail generated by cron.
Thanks.

Comment 2 Darwin H. Webb 2007-05-28 22:43:15 UTC
That is the whole mail except for the to and from

From: 	Anacron <root>
To: 	root
Subject: 	Anacron job for 'Ruthie-07' cron.weekly
Date: 	Fri, 25 May 2007 11:10:33 -0700


sh: line 1:  8158 Segmentation fault      zcat
"/usr/share/man/man3/mkfifoat.3.gz" 2> /dev/null



###

The services are the default of F7-rc2 i386

Comment 3 Ivana Varekova 2007-05-29 09:29:48 UTC
Created attachment 155579 [details]
debug version of makewhatis command

This seems for me to be makewhatis problem.
Could you please change /usr/sbin/makewhatis file with the attached file (it
has more verbose output), and attach the next anacron email here.

Comment 4 Darwin H. Webb 2007-05-29 17:01:40 UTC
ok, file in place.

Comment 5 Darwin H. Webb 2007-05-31 01:14:10 UTC
Created attachment 155761 [details]
output of makewhatis 

Attached dailt cron e-mail that used the /usr/sbin/mkwhatis file you supplied.

Do you still need the weekly (it will run on Friday.)

Darwin

Comment 6 Ivana Varekova 2007-05-31 08:37:11 UTC
This output is too simple "makewhatis -u" have not found any new man-page so
there  is no segfault. 
The weekly makewhatis output does not use -u option se there should happen the
segfault. So weekly output is necessary.
Thanks for your help.

Comment 7 Darwin H. Webb 2007-06-04 18:26:37 UTC
Something happened to the mail or logwatch?

All I am getting now is

Unable to retrieve message
Summary and folder mismatch, even after a sync.

I didn't touch it. :)

Darwin


Comment 8 Darwin H. Webb 2007-06-04 20:10:42 UTC
OK after installing the f8-3200 kernel to stabilize the system,
the evolution e-mail for the daily-cron using the file you sent to me
generated 1,363,175 LINES.

It crashed evolution, gedit, and the kernel

After the new f8-3200 kernel rebooted 
I used the display as unformated text in the 
"Evolution cannot render this email as it is too large to handle. You can view
it unformatted or with an external text editor." message and it took about 7
minutes to finish displaying then another 7 to copy into gedit.

It is just shy of 50MB. 
So what now because I have several more dailys and weekly may be bigger?

Darwin

Comment 9 Darwin H. Webb 2007-06-04 20:23:26 UTC
This is from the logwatch about the cron

--------------------- sendmail-largeboxes (large mail spool files) Begin
------------------------ 

 Large Mailbox threshold: 40MB (41943040 bytes)
  Warning: Large mailbox: darwinhwebb (100856267)
 
 ---------------------- sendmail-largeboxes (large mail spool files) End

We need different approach to fix the original bug..

Darwin

Comment 10 Ivana Varekova 2007-06-06 07:26:43 UTC
Hello, 
could you please attach here the part of cron mail which consists of the message
"Segmentation fault      zcat"?
If it is not possible (you remove these mail), then if you can redirect the
output of makewhatis command to some auxiliary temporary file
(/tmp/your_favourite_name). Then there will be no limit for the size of this
file and you can grep it and attach here the part of this file containing error
message  "Segmentation fault      zcat"
You can redirect the makewhatis command output if you change
/etc/cron.weekly/makewhatis.cron script.
You have to change command
 makewhatis -w
to
 makewhatis -w 2> /tmp/your_favourite_name


Comment 11 Darwin H. Webb 2007-06-06 17:56:59 UTC
ok, I chaged the daily and the weekly to sppol to /tmp/somefilename.txt

The weekly has never run again yet.
They have all been daily so far.

Does this take into account SELinux?

Darwin

Comment 12 Ivana Varekova 2007-09-06 07:34:24 UTC
Is there any change? What is the status of this bug - do you have any output
from cron weekly log?
Thanks