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

Bug#2011: very silly messages from rsh



Package: netstd?
Version: netstd 1.22-1 or 1.23-1, netbase 1.20-1 or 1.19-1

I was logged into chiark as ian.  I have permission (according to
.rhosts files) to log into myrddin as iwj10.  root exists on myrddin;
ijackson and nonexistent do not.

The bug involving quoting the remote dpkg -l invocation appears to be
a bizarre interaction between the now-infamous libc GNU getopt bug and
rsh/rshd.

-chiark:~/mail> rsh myrddin -l ijackson echo hi
myrddin.chu.cam.ac.uk: Address already in use
-chiark:~/mail> rsh myrddin -l iwj10 echo hi
hi
-chiark:~/mail> rsh myrddin -l root echo hi
Permission denied.
-chiark:~/mail> rsh myrddin -l nonexistent echo hi
myrddin.chu.cam.ac.uk: Address already in use
-chiark:~/mail> rsh myrddin -l iwj10 dpkg -l '"net*"'
myrddin.chu.cam.ac.uk: Address already in use
-chiark:~/mail> rsh myrddin -l iwj10 'dpkg -l "net*"'
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name         Version   Rev  Description
+++-============-=========-====-===============================================
ii  netbase           1.20 1    Basic TCP/IP networking binaries
un  netpbm                      (no description available)
ii  netstd            1.22 1    Networking binaries and daemons for Linux
-chiark:~/mail> dpkg -l 'net*'
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name         Version   Rev  Description
+++-============-=========-====-===============================================
ii  netbase           1.19 1    Basic TCP/IP networking binaries
un  netpbm                      (no description available)
ii  netstd            1.23 1    Networking binaries and daemons for Linux
-chiark:~/mail>


Reply to: