Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#621027: Invalid shell option in start-statd (http://www.linux-archive.org/debian-kernel/510453-bug-621027-invalid-shell-option-start-statd.html)

Jörg Sommer 04-05-2011 12:33 AM

Bug#621027: Invalid shell option in start-statd
 
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.

Bye, Jörg.

Marc Glisse 04-07-2011 12:49 PM

Bug#621027: Invalid shell option in start-statd
 
Hello,

updating to version 1.2.3 of nfs-common froze my system and made it
unbootable (the boot sequence blocked on statd). It still booted in rescue
mode, where I could downgrade nfs-common to 1.2.2 and the system works
again.


I don't know if the problem is the same as the one reported here (didn't
see the report before downgrading so I didn't test removing '-p'), but if
so the severity should be critical.


--
Marc Glisse



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: alpine.DEB.2.02.1104071437040.3318@stedding.saclay .inria.fr">http://lists.debian.org/alpine.DEB.2.02.1104071437040.3318@stedding.saclay .inria.fr

Luk Claes 04-09-2011 09:42 AM

Bug#621027: Invalid shell option in start-statd
 
> updating to version 1.2.3 of nfs-common froze my system and made it
> unbootable (the boot sequence blocked on statd). It still booted in
rescue
> mode, where I could downgrade nfs-common to 1.2.2 and the system works
> again.
>
> I don't know if the problem is the same as the one reported here (didn't
> see the report before downgrading so I didn't test removing '-p'), but if
> so the severity should be critical.

The problem is definitely not related as start-statd is not used in the
init scripts.

Do you have rpcbind installed? Do you still have issues with the latest
upload (1:1.2.3-2)?

Cheers

Luk



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DA029EF.3080204@debian.org">http://lists.debian.org/4DA029EF.3080204@debian.org

Marc Glisse 04-09-2011 10:06 AM

Bug#621027: Invalid shell option in start-statd
 
On Sat, 9 Apr 2011, Luk Claes wrote:


The problem is definitely not related as start-statd is not used in the
init scripts.


Ah, ok, sorry for posting in an unrelated bug then.


Do you have rpcbind installed? Do you still have issues with the latest
upload (1:1.2.3-2)?


No, I appear to have portmap instead. I'll test the new upload (and thus
the switch to rpcbind) when I get back (about 10 days) as I want to be
nearby when I try it.


Thanks for the answer,

--
Marc Glisse



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: alpine.DEB.2.02.1104091201001.2411@laptop-mg.saclay.inria.fr">http://lists.debian.org/alpine.DEB.2.02.1104091201001.2411@laptop-mg.saclay.inria.fr

Ben Hutchings 04-10-2011 03:23 PM

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.

Marc Glisse 04-22-2011 06:08 AM

Bug#621027: Invalid shell option in start-statd
 
On Sat, 9 Apr 2011, Marc Glisse wrote:


On Sat, 9 Apr 2011, Luk Claes wrote:


Do you have rpcbind installed? Do you still have issues with the latest
upload (1:1.2.3-2)?


No, I appear to have portmap instead. I'll test the new upload (and thus the
switch to rpcbind) when I get back


It seems to be working fine, thank you.

--
Marc Glisse



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: alpine.DEB.2.02.1104220808050.2310@laptop-mg.saclay.inria.fr">http://lists.debian.org/alpine.DEB.2.02.1104220808050.2310@laptop-mg.saclay.inria.fr


All times are GMT. The time now is 05:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.