Bug 514276

Summary: anacron segfaults on F11 ppc64
Product: [Fedora] Fedora Reporter: Rocco Iannacci <rocian>
Component: anacronAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 11CC: mmaslano
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3-78.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-12 20:56:29 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
one line patch to solve segfault of anacron on ppc64 none

Description Rocco Iannacci 2009-07-28 16:41:57 UTC
Created attachment 355438 [details]
one line patch to solve segfault of anacron on ppc64

Description of problem:

The anacron program segfault on PPC64 (F11). The cause is the line:

  readtab.c: r = match_rx("^([[:digit:]]+)$", value, 1);

should be 

  r = match_rx("^([[:digit:]]+)$", value, 0);


Version-Release number of selected component (if applicable):
anacron-2.3-75.fc11.ppc

How reproducible:
Always

Steps to Reproduce:
1. run anacron -s -d
  
Actual results:
Anacron 2.3 started on 2009-07-28
Segmentation fault

Workaround:
- comment the line containing RANDOM_DELAY in /etc/anacrontab
- or apply the attached patch.

Comment 1 Marcela Mašláňová 2009-07-29 06:21:36 UTC
Thank you for your patch.

Comment 2 Fedora Update System 2009-07-29 06:48:27 UTC
anacron-2.3-78.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/anacron-2.3-78.fc11

Comment 3 Fedora Update System 2009-07-29 21:36:08 UTC
anacron-2.3-78.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update anacron'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8117

Comment 4 Fedora Update System 2009-08-12 20:56:20 UTC
anacron-2.3-78.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.