Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192421 - sys-block/partimage uses non-POSIX /etc/init.d/partimaged
Summary: sys-block/partimage uses non-POSIX /etc/init.d/partimaged
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Christian Zoffoli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-13 12:59 UTC by Martin Väth
Modified: 2008-01-15 12:12 UTC (History)
1 user (show)

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


Attachments
Patch containing the above described trivial fix (partimaged.init.patch,288 bytes, patch)
2007-09-13 13:00 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 2007-09-13 12:59:24 UTC
Although baselayout-2 supports having /bin/sh -> dash, the initscript provided
by partimage will not work with this setting, because the script
${FILESDIR}/partimaged.init uses the non-POSIX syntax "&> /dev/null" which on dash is equivalent to "& > /dev/null" (with space!) which has of course a rather different semantic.
A simple fix is of course to simply use "> /dev/null 2>&1" instead.
Comment 1 Martin Väth 2007-09-13 13:00:43 UTC
Created attachment 130813 [details, diff]
Patch containing the above described trivial fix
Comment 2 Christian Zoffoli (RETIRED) gentoo-dev 2008-01-15 12:12:18 UTC
fixed in cvs (0.6.6)