Bug 207046

Summary: bad call to restorecon in rc.sysinit
Product: [Fedora] Fedora Reporter: Garrett Mitchener <garrett.mitchener>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 8.41-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-19 01:48:25 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:

Description Garrett Mitchener 2006-09-18 22:58:39 UTC
Description of problem:

I have no idea if this is serious or not, but I get a segfault from the
restorecon command at line 678 in /etc/rc.d/rc.sysinit every time I boot up.
This is from initscripts-8.39-1.

The problem seems to be that /etc/blkid.tab does not exist.  I changed mine to
pass in /etc/blkid/blkid.tab and that at least doesn't segfault.

Here's the output of diff:

diff /etc/rc.d/rc.sysinit /etc/rc.d/rc.sysinit~

678c678
<    restorecon /etc/mtab /etc/ld.so.cache /etc/blkid/blkid.tab /etc/resolv.conf
>/dev/null 2>&1
---
>    restorecon /etc/mtab /etc/ld.so.cache /etc/blkid.tab /etc/resolv.conf
>/dev/null 2>&1

Comment 1 Bill Nottingham 2006-09-19 01:48:25 UTC
Well, restorecon obviously shouldn't be segfaulting (already filed); aside from
that, path fixed in CVS, will be in 8.41-1. Thanks!