Bug 514276 - anacron segfaults on F11 ppc64
Summary: anacron segfaults on F11 ppc64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anacron
Version: 11
Hardware: ppc64
OS: Linux
low
high
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-28 16:41 UTC by Rocco Iannacci
Modified: 2009-08-12 20:56 UTC (History)
1 user (show)

Fixed In Version: 2.3-78.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-12 20:56:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
one line patch to solve segfault of anacron on ppc64 (579 bytes, patch)
2009-07-28 16:41 UTC, Rocco Iannacci
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.