Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241172 - start-stop-daemon from baselayout-1.12.11.1 ignores multiply --env options
Summary: start-stop-daemon from baselayout-1.12.11.1 ignores multiply --env options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-10 20:44 UTC by Leonid Evdokimov
Modified: 2009-02-09 02:22 UTC (History)
0 users

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


Attachments
trivial patch (start-stop-daemon-env.patch,941 bytes, patch)
2008-10-10 20:45 UTC, Leonid Evdokimov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Evdokimov 2008-10-10 20:44:41 UTC
start-stop-daemon from baselayout-1.12.11.1 ignores every --env option but the last one without any notification. It does not look like right thing to do.

E.g.
start-stop-daemon -S --env FOO=base --env BAR=baz -x /usr/bin/env
will not have "FOO=base" in environment.

start-stop-daemon from openrc-0.3 (that is required by baselayout-2.0) is complete rewrite and is not affected.
Comment 1 Leonid Evdokimov 2008-10-10 20:45:40 UTC
Created attachment 167922 [details, diff]
trivial patch

Here is trivial patch that forbids using two --env options and suggests to use /usr/bin/env instead.
Comment 2 SpanKY gentoo-dev 2009-02-09 02:22:48 UTC
thanks, added to svn