Dial-a-Prank

2003-07-29 Thread Phone Jokes
=AMAZING PRANKS=

How to use this service:
  
1. Choose a Prank from the list below
2. Make sure you have the telephone number of your chosen target
3. Call 0906 403 8796
4. Listen in as the computer dials out to your victim!


The Pranks:

1. Mr Fury
2. Irate Delivery Driver
3. Invite to no. 10
4. Tax Inspector from Hell
5. Mr Stammer
6. The Detective
7. My Daughter`s Pregnant


Calls  to 0906 no`s cost one pound and fifty pence per minute and last a few  
minutes. Service provider: C Fry: Tel:  0871 872 3731. To be excluded from 
future promotions please call 0871 872 3731. Data ticket 368. Message ID: hylw
 



Bug#203305: /etc/init.d/distributed-net fails to stop dnetc if run from non-interactive shell

2003-07-29 Thread Matthew Exley

Colin Watson wrote:

I think /sbin should go on the end, to allow a sysadmin to call that
script from a shell with PATH=/usr/local/sbin:... and have tools in
/usr/local/sbin override the system ones. ssh's init script does this:

  export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"



That sounds very reasonable. I'm only ashamed I didn't think of that myself.

--
Matthew Exley[EMAIL PROTECTED]
Marriages are made in Heaven. So are Thunder and Lightning




Bug#203305: /etc/init.d/distributed-net fails to stop dnetc if run from non-interactive shell

2003-07-29 Thread Colin Watson
On Tue, Jul 29, 2003 at 10:35:34AM +0100, Matthew Exley wrote:
> Package: distributed-net
> Version: 2.9001.478-2
> Severity: minor
> Tags: patch
> 
> /etc/init.d/distributed-net fails to stop the client if run from a
> non-interactive shell, e.g. if run from a cron job (where the client
> is only scheduled to run overnight, for example), then the output of:
> "/etc/init.d/distributed-net stop" will be "not running".
> 
> This appears to be because the test for running command uses
> stop-start-daemon to check, which resides in /sbin which isn't in the
> path for non-interactive shells.
> 
> So, a fix is to add:
>   PATH=/sbin:$PATH
> ...before the "case" statement in /etc/init.d/distributed-net

I think /sbin should go on the end, to allow a sysadmin to call that
script from a shell with PATH=/usr/local/sbin:... and have tools in
/usr/local/sbin override the system ones. ssh's init script does this:

  export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]



Bug#203305: /etc/init.d/distributed-net fails to stop dnetc if run from non-interactive shell

2003-07-29 Thread Matthew Exley
Package: distributed-net
Version: 2.9001.478-2
Severity: minor
Tags: patch

/etc/init.d/distributed-net fails to stop the client if run from a
non-interactive shell, e.g. if run from a cron job (where the client is
only scheduled to run overnight, for example), then the output of:
"/etc/init.d/distributed-net stop" will be "not running".

This appears to be because the test for running command uses stop-start-daemon
to check, which resides in /sbin which isn't in the path for
non-interactive shells.

So, a fix is to add:
PATH=/sbin:$PATH
...before the "case" statement in /etc/init.d/distributed-net

and a non-intrusive work-around is to change all calls to the script in
cron or at jobs to:
PATH=/sbin:$PATH /etc/init.d/distributed-net [start|stop]

I'd have thought that the first option would be less intrusive for all
debian users (since it doesn't require any special operation from
anyone) but I'm not sure of any security / policy implications. 


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux Apu 2.4.21.dsc-u10.apu2.120703 #1 Sun Jul 13 01:06:55 BST 2003 
i686
Locale: LANG=en_GB, LC_CTYPE=en_GB (ignored: LC_ALL set)

Versions of packages distributed-net depends on:
ii  host  2331-9 utility for querying DNS servers
ii  libc6 2.3.1-17   GNU C Library: Shared libraries an

-- no debconf information