Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236857 - net-misc/tor-0.2.0.30-r1 uses non-POSIX &> in initrd
Summary: net-misc/tor-0.2.0.30-r1 uses non-POSIX &> in initrd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-06 12:49 UTC by Martin Väth
Modified: 2008-09-06 19:33 UTC (History)
1 user (show)

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


Attachments
Patch for tor.initd-r4 to make it POSIX conformal (tor.initd-r4.patch,719 bytes, patch)
2008-09-06 12:51 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2008-09-06 12:49:48 UTC
The summary says all: files/tor.initd-r4 contains twice the bashism "&> ..."
If one uses "> ... 2>&1" instead, the init-file will be usable if e.g. /bin/sh
is a symlink to dash. I attach a corresponding patch.

The same problem is also in files/tor.initd-r3, but I do not attach an
analogous patch for that file.
Comment 1 Martin Väth 2008-09-06 12:51:04 UTC
Created attachment 164717 [details, diff]
Patch for tor.initd-r4 to make it POSIX conformal
Comment 2 Wormo (RETIRED) gentoo-dev 2008-09-06 17:58:17 UTC
Thanks for the patch, assigning to maintainers
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-06 19:33:47 UTC
Thanks for the report, fixed in CVS without revbump so remerge to get the change.