Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194814 - net-fs/nfs-utils init script does not work on dash
Summary: net-fs/nfs-utils init script does not work on dash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-05 15:12 UTC by Davide Pesavento
Modified: 2007-10-09 20:14 UTC (History)
0 users

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


Attachments
nfs.initd.patch (nfs.initd.patch,755 bytes, patch)
2007-10-05 15:13 UTC, Davide Pesavento (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Pesavento (RETIRED) gentoo-dev 2007-10-05 15:12:55 UTC
nfs init script does not work when /bin/sh is a symlink to dash (with baselayout-2) because of syntax errors in a couple of arithmetic expressions.
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2007-10-05 15:13:46 UTC
Created attachment 132667 [details, diff]
nfs.initd.patch

Patch that fixes the issues with dash.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-05 17:23:39 UTC

*** This bug has been marked as a duplicate of bug 170087 ***
Comment 3 SpanKY gentoo-dev 2007-10-08 01:25:07 UTC
i dont really care if it works in dash or not ... the script is POSIX compliant and that is all that matters
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-10-08 10:42:04 UTC
dash-0.5.4-r1 has a patch that makes its arithmetic POSIX compliant.
Comment 5 SpanKY gentoo-dev 2007-10-08 11:36:32 UTC
thanks for the heads up
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2007-10-09 20:11:36 UTC
Not a dupe.
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2007-10-09 20:14:08 UTC
Fixed by dash-0.5.4.1-r2. Thank you very much!