Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218043 - sys-block/vblade initscript broken with baselayout-2
Summary: sys-block/vblade initscript broken with baselayout-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 278045
  Show dependency tree
 
Reported: 2008-04-17 00:57 UTC by Norberto Bensa
Modified: 2009-07-23 17:54 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed vblade-14-r1 init script (init.d-vblade.vblade0-14-r1,2.67 KB, text/plain)
2008-09-29 21:11 UTC, DrChandra the Gentoo Person
Details
fixed script (init.d-vblade.vblade0-14,2.83 KB, text/plain)
2009-07-16 12:43 UTC, Andreis Vinogradovs ( slepnoga )
Details
fixed script (init.d-vblade.vblade0-14-r1,2.80 KB, text/plain)
2009-07-16 12:44 UTC, Andreis Vinogradovs ( slepnoga )
Details
fixed script (init.d-vblade.vblade0,2.78 KB, text/plain)
2009-07-16 12:45 UTC, Andreis Vinogradovs ( slepnoga )
Details

Note You need to log in before you can comment on or make changes to this bug.
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!