Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 236857

Summary: net-misc/tor-0.2.0.30-r1 uses non-POSIX &> in initrd
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: New packagesAssignee: Christian Faulhammer (RETIRED) <fauli>
Status: RESOLVED FIXED    
Severity: normal CC: humpback
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for tor.initd-r4 to make it POSIX conformal

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.