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

Bug 4952

Summary: Calling rc-update from within an ebuild
Product: Gentoo Linux Reporter: Greg <gb006k>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Greg 2002-07-13 11:28:15 UTC
I am trying to create a new ebuild. My computer has rc-update from   
baselayout-1.7.9-r1. I find that when I try to call rc-update from within the   
ebuild, I get the error "cat: write error: Broken pipe" even though rc-update   
appears to otherwise succeed. (This may have something to do with config-file   
protection? A problem in depscan.sh)   
   
Here is what I get:   
 * venus.init added to runlevel default...   
 * Caching service dependencies...   
cat: write error: Broken pipe   
cat: write error: Broken pipe   
cat: write error: Broken pipe                                [ ok ]   
 * rc-update complete.   
   
Also, should I be calling rc-update or should I leave it to the user to figure   
that out?
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-01 04:49:03 UTC
Err, I fixed this somewhere, but cannot remember when.  It test fine with
baselayout-1.8.5 anyhow.