[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#621027: Invalid shell option in start-statd



On Tue, 2011-04-05 at 02:33 +0200, Jörg Sommer wrote:
> Package: nfs-common
> Version: 1:1.2.3-1
> Severity: important
> 
> % head -n1 =start-statd
> #!/bin/sh -p
> % /bin/sh -p -c true
> /bin/sh: Illegal option -p
> % ls -l =sh
> lrwxrwxrwx 1 root root 4 17. Dez 18:49 /bin/sh -> dash
> 
> The option -p is not a valid option for dash, that's the default for sh.

This script is only used if statd is not started (e.g. because we didn't
set correct dependencies!).  If statd is not started then the admin may
not want it to be started automatically.  I think we should remove it.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: