FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 04-01-2011, 09:05 PM
Julien Cristau
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

On Sat, Apr 2, 2011 at 07:00:11 +1100, Ben Finney wrote:

> The ‘/etc/init.d/nfs-kernel-server’ script has a new dependency on a
> non-existent directory:
>
It's not supposed to be a directory, it's a bash feature for
redirections to tcp sockets.

Cheers,
Julien



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110401210534.GL3159@radis.liafa.jussieu.fr">http ://lists.debian.org/20110401210534.GL3159@radis.liafa.jussieu.fr
 
Old 04-01-2011, 09:42 PM
Ben Finney
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

On 01-Apr-2011, Julien Cristau wrote:
> On Sat, Apr 2, 2011 at 07:00:11 +1100, Ben Finney wrote:
>
> > The ‘/etc/init.d/nfs-kernel-server’ script has a new dependency on
> > a non-existent directory:
>
> It's not supposed to be a directory, it's a bash feature for
> redirections to tcp sockets.

Okay. It's not working on this machine; the ‘rpcinfo -t localhost
portmapper’ test does work.

--
“If you don't know what your program is supposed to do, you'd |
` better not start writing it.” —Edsger W. Dijkstra |
_o__) |
Ben Finney <ben@benfinney.id.au>
 
Old 04-02-2011, 12:34 AM
Ben Hutchings
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

On Sat, Apr 02, 2011 at 08:42:09AM +1100, Ben Finney wrote:
> On 01-Apr-2011, Julien Cristau wrote:
> > On Sat, Apr 2, 2011 at 07:00:11 +1100, Ben Finney wrote:
> >
> > > The ‘/etc/init.d/nfs-kernel-server’ script has a new dependency on
> > > a non-existent directory:
> >
> > It's not supposed to be a directory, it's a bash feature for
> > redirections to tcp sockets.
>
> Okay. It's not working on this machine; the ‘rpcinfo -t localhost
> portmapper’ test does work.

Which version of bash is installed?

Ben.

--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110402003433.GE2268@decadent.org.uk">http://lists.debian.org/20110402003433.GE2268@decadent.org.uk
 
Old 04-02-2011, 12:54 AM
Ben Finney
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

On 02-Apr-2011, Ben Hutchings wrote:
> Which version of bash is installed?

$ aptitude show bash | grep '^Version:'
Version: 4.1-3
$ /bin/bash --version
GNU bash, version 4.1.5(1)-release (powerpc-unknown-linux-gnu)

--
“There are no significant bugs in our released software that |
` any significant number of users want fixed.” —Bill Gates, |
_o__) 1995-10-23 |
Ben Finney <ben@benfinney.id.au>
 
Old 04-03-2011, 03:19 AM
Ben Hutchings
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

On Sat, 2011-04-02 at 11:54 +1100, Ben Finney wrote:
> On 02-Apr-2011, Ben Hutchings wrote:
> > Which version of bash is installed?
>
> $ aptitude show bash | grep '^Version:'
> Version: 4.1-3
> $ /bin/bash --version
> GNU bash, version 4.1.5(1)-release (powerpc-unknown-linux-gnu)

So in what sense does the test 'not work'?

Does 'cat </dev/null >/dev/tcp/localhost/111' produce any error message?

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
 
Old 04-03-2011, 03:43 AM
Ben Finney
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

On 03-Apr-2011, Ben Hutchings wrote:
> So in what sense does the test 'not work'?

It fails (exits with a non-zero status), even though the ‘portmapper’
service is running.

> Does 'cat </dev/null >/dev/tcp/localhost/111' produce any error
> message?

No.

--
“It is the integrity of each individual human that is in final |
` examination. On personal integrity hangs humanity's fate.” |
_o__) —Richard Buckminster Fuller, _Critical Path_, 1981 |
Ben Finney <ben@benfinney.id.au>
 
Old 04-03-2011, 03:55 AM
Ben Hutchings
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

On Sun, 2011-04-03 at 13:43 +1000, Ben Finney wrote:
> On 03-Apr-2011, Ben Hutchings wrote:
> > So in what sense does the test 'not work'?
>
> It fails (exits with a non-zero status), even though the ‘portmapper’
> service is running.
>
> > Does 'cat </dev/null >/dev/tcp/localhost/111' produce any error
> > message?
>
> No.

So you're saying that on your system, the 'cat' command can silently
fail?

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
 
Old 04-03-2011, 04:20 AM
Ben Finney
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

On 03-Apr-2011, Ben Hutchings wrote:
> So you're saying that on your system, the 'cat' command can silently
> fail?

I'm describing (actually, repeating) what was in the initial bug
report for that test, modulo my misunderstanding about Bash's special
treatment of that path.

For now, I've worked around the problem and am unable to reproduce it
(the test now passes). Possibly that's because of a kernel upgrade; I
don't know.

--
“It is forbidden to steal hotel towels. Please if you are not |
` person to do such is please not to read notice.” —hotel, |
_o__) Kowloon, Hong Kong |
Ben Finney <ben@benfinney.id.au>
 
Old 04-13-2011, 07:36 PM
"Andrew O. Shadoura"
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

reopen 620421
thanks

Hello,

On Sun, 03 Apr 2011 05:29:12 +0100
Ben Hutchings <ben@decadent.org.uk> wrote:

> > I'm describing (actually, repeating) what was in the initial bug
> > report for that test, modulo my misunderstanding about Bash's
> > special treatment of that path.
>
> The initial bug report contained the output from the upgrade and the
> init script. The init script redirects errors from the test command
> to /dev/null because the error message is not expected to be
> meaningful in context. That's why I asked to run the test command
> directly.

I confirm the bug.

# cat </dev/null >/dev/tcp/localhost/111
-su: /dev/tcp/localhost/111: No such file or directory

--
WBR, Andrew
 
Old 04-13-2011, 07:57 PM
Ben Hutchings
 
Default Bug#620421: nfs-kernel-server: init script depends on non-existent ‘/dev/tcp/’

On Wed, Apr 13, 2011 at 10:36:04PM +0300, Andrew O. Shadoura wrote:
> reopen 620421
> thanks
>
> Hello,
>
> On Sun, 03 Apr 2011 05:29:12 +0100
> Ben Hutchings <ben@decadent.org.uk> wrote:
>
> > > I'm describing (actually, repeating) what was in the initial bug
> > > report for that test, modulo my misunderstanding about Bash's
> > > special treatment of that path.
> >
> > The initial bug report contained the output from the upgrade and the
> > init script. The init script redirects errors from the test command
> > to /dev/null because the error message is not expected to be
> > meaningful in context. That's why I asked to run the test command
> > directly.
>
> I confirm the bug.
>
> # cat </dev/null >/dev/tcp/localhost/111
> -su: /dev/tcp/localhost/111: No such file or directory

Let me guess, you're using bash from 'lenny'?

Ben.

--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus



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

Thread Tools




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

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org