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

Bug 218043

Summary: sys-block/vblade initscript broken with baselayout-2
Product: Gentoo Linux Reporter: Norberto Bensa <nbensa>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: alexxy, andreis.vinogradovs, ming_zym, tobias.pal
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 278045    
Attachments: Fixed vblade-14-r1 init script
fixed script
fixed script
fixed script

Description Norberto Bensa 2008-04-17 00:57:46 UTC
nbensa@zeddmore /etc/init.d $ sudo /etc/init.d/vblade.vblade0 start
 * Caching service dependencies ...
/etc/init.d/vblade.vblade0: line 12: add_suffix: command not found                                                     [ ok ]
/etc/init.d/vblade.vblade0: line 12: add_suffix: command not found
 * vblade configuration not specified for
 * ERROR: vblade.vblade0 failed to start


Reproducible: Always

Steps to Reproduce:
0. emerge vblade
1. Upgrade to baselayout-2 & openrc-0.2.2
2. /etc/init.d/vblade.vblade0 start
3. see bug/feature :)

Actual Results:  
See description :)

Expected Results:  
Err.. maybe start vblade?
Comment 1 zym 2008-04-23 05:32:10 UTC
I have make changes on init file to :
conf="/etc/conf.d/vblade"
[[ -e "${conf}" ]] && source "${conf}"
vblade_name=${RC_SVCNAME#*.}

this will make it startup without problem, but may still need to do some tweak.

Comment 2 vmv4 2008-09-10 12:47:10 UTC
(In reply to comment #1)

Thanks! It worked for me too.
Comment 3 DrChandra the Gentoo Person 2008-09-29 21:11:00 UTC
Created attachment 166783 [details]
Fixed vblade-14-r1 init script

Full file with the work-around pre-applied.
Comment 4 Andreis Vinogradovs ( slepnoga ) 2009-07-16 12:43:56 UTC
Created attachment 198170 [details]
fixed script 

This script checks for the presence of openrc.
Comment 5 Andreis Vinogradovs ( slepnoga ) 2009-07-16 12:44:41 UTC
Created attachment 198171 [details]
fixed script 

This script checks for the presence of openrc.
Comment 6 Andreis Vinogradovs ( slepnoga ) 2009-07-16 12:45:09 UTC
Created attachment 198172 [details]
fixed script 

This script checks for the presence of openrc.
Comment 7 Alexey Shvetsov archtester gentoo-dev 2009-07-23 17:54:50 UTC
Fixed!