Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589084 - dev-python/carbon: bashisms in init scripts
Summary: dev-python/carbon: bashisms in init scripts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-18 15:03 UTC by Dustin C. Hatch
Modified: 2016-10-10 18:10 UTC (History)
0 users

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


Attachments
carbon.initd2-remove-bashisms.patch (carbon.initd2-remove-bashisms.patch,523 bytes, patch)
2016-07-18 15:03 UTC, Dustin C. Hatch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin C. Hatch 2016-07-18 15:03:24 UTC
Created attachment 441014 [details, diff]
carbon.initd2-remove-bashisms.patch

The carbon.initd2 init script contains bashisms. When /bin/sh is not bash, these errors are printed each time OpenRC regenerates the dependency cache

    /lib64/rc/sh/gendepends.sh: 8: /etc/init.d/carbon-aggregator: Bad substitution
    /lib64/rc/sh/gendepends.sh: 8: /etc/init.d/carbon-cache: Bad substitution
    /lib64/rc/sh/gendepends.sh: 8: /etc/init.d/carbon-relay: Bad substitution

The scripts themselves are unusable as well.
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-10-10 18:10:52 UTC
fixed