Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203451 - net-misc/nxserver-freenx: init-script uses non-POSIX redirection &>
Summary: net-misc/nxserver-freenx: init-script uses non-POSIX redirection &>
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: NX Server Herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-27 12:33 UTC by Martin Väth
Modified: 2008-01-03 10:41 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 Martin Väth 2007-12-27 12:33:35 UTC
The init-script of net-misc/nxserver-freenx (files/nxserver.init) will cause trouble if /bin/sh is a symlink to dash, because it uses three times the bashism &>/dev/null (which in POSIX is interpreted as & >/dev/null).
A simple solution is to replace this sequence by the POSIX-conformal
  >/dev/null 2>&1
Comment 1 Bernard Cafarelli gentoo-dev 2008-01-03 10:41:48 UTC
Fixed in CVS, thanks!