Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175119 - dm-start.sh (sys-fs/device-mapper) is full of bashisms
Summary: dm-start.sh (sys-fs/device-mapper) is full of bashisms
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-18 16:13 UTC by Benjamin K. Stuhl
Modified: 2007-04-18 19:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin K. Stuhl 2007-04-18 16:13:39 UTC
baselayout-2 permits /bin/sh to not be bash, but dm-start.sh is full of bashisms and therefore won't run with (e.g.) busybox as /bin/sh

Reproducible: Always

Steps to Reproduce:
1. Install baselayout-2.0.0_alpha1
2. make /bin/sh a symlink to busybox


Actual Results:  
dm-start.sh fails on boot with "bad substitution" errors

Expected Results:  
all bootscripts should be sh-compatible and not require bash
Comment 1 Peter Weller (RETIRED) gentoo-dev 2007-04-18 16:37:42 UTC

*** This bug has been marked as a duplicate of bug 174424 ***
Comment 2 Benjamin K. Stuhl 2007-04-18 16:54:02 UTC
Is this really a duplicate? 174424 is about dm-crypt-start.sh, which is provided by the cryptsetup(-luks) packages, not sys-fs/device-mapper... (reopening to get back on the radar, close it again if I'm wrong...)
Comment 3 Peter Weller (RETIRED) gentoo-dev 2007-04-18 17:11:31 UTC
Yeah, sorry - my mistake. I didn't read the summaries properly :( Sorry for the bugspam
/me bangs head on desk
Comment 4 SpanKY gentoo-dev 2007-04-18 19:09:10 UTC
we're not fixing volume addons as they wont be used with baselayout-2

wrt to bashisms, the answer is to post a new version that cleans it up, not make someone else do it