Re: run-parts not running cron.daily?

2007-12-31 Thread W Paul Mills
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Todd A. Jacobs wrote: > It turns out that this is caused by moving a shell script (with a .sh > extension) into the run-parts directory. Run-parts won't run filenames > with dots in them. If this is documented clearly anywhere, I couldn't > find it, bu

Re: run-parts not running cron.daily?

2007-12-31 Thread Douglas A. Tutty
On Mon, Dec 31, 2007 at 11:58:28AM -0800, Todd A. Jacobs wrote: > It turns out that this is caused by moving a shell script (with a .sh > extension) into the run-parts directory. Run-parts won't run filenames > with dots in them. If this is documented clearly anywhere, I couldn't > find it, but rem

Re: run-parts not running cron.daily?

2007-12-31 Thread Todd A. Jacobs
It turns out that this is caused by moving a shell script (with a .sh extension) into the run-parts directory. Run-parts won't run filenames with dots in them. If this is documented clearly anywhere, I couldn't find it, but removing the filename extensions fixed the problem. -- "Oh, look: rocks!"

Re: run-parts bug (maybe)

2003-07-01 Thread Manoj Srivastava
On Mon, 30 Jun 2003 19:09:39 -0500, David <[EMAIL PROTECTED]> said: >> >> > Is this a bug or something about my particular system? >> > Apparently the maintainer of the kernel-patch package expected it >> > to work, because the name of the file to be run was >> > debian-2.4.21. >> >> If there is

Re: run-parts bug (maybe)

2003-07-01 Thread Mika Fischer
Hi, David! * David <[EMAIL PROTECTED]> [2003-07-01 16:09]: > [EMAIL PROTECTED]:~$ ls -l /usr/src/kernel-patches/all/apply/ > total 4 > lrwxrwxrwx1 dlb dlb13 Jun 28 20:40 debian-2-4-21 -> > debian-2.4.21* > -rwxrwxr-x1 root src 689 Jun 28 08:36 debian-2.4.21*

Re: run-parts bug (maybe)

2003-07-01 Thread David
On Monday 30 June 2003 12:17 am, Mika Fischer wrote: > * David <[EMAIL PROTECTED]> [2003-06-30 06:45]: > > After running various tests - even editing a copy of the file to where > > it only contained "#!/bin/bash" I finally renamed the file substituting > > a dash for each dot and bingo! it worke

Re: run-parts bug (maybe)

2003-06-30 Thread Mika Fischer
Hi, David! * David <[EMAIL PROTECTED]> [2003-06-30 06:45]: > After running various tests - even editing a copy of the file to where > it only contained "#!/bin/bash" I finally renamed the file substituting > a dash for each dot and bingo! it worked.. > > It seems that run-parts (at least mine (v

Re: run-parts

2002-12-30 Thread Gerald Livingston
On Mon, 30 Dec 2002 15:21:18 -0500 Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote: > On Mon, Dec 30, 2002 at 01:11:01PM -0600, Russ Cook wrote: > | On Mon, 30 Dec 2002, Jamin W. Collins wrote: > | > On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote: > | > > | > Why not use a dynamic DNS s

Re: run-parts

2002-12-30 Thread Derrick 'dman' Hudson
On Mon, Dec 30, 2002 at 01:11:01PM -0600, Russ Cook wrote: | On Mon, 30 Dec 2002, Jamin W. Collins wrote: | > On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote: | > | > > I named the script mail_ppp. It's purpose is to email | > > my dynamic address to a specific email address after | > >

Re: run-parts

2002-12-30 Thread John Hasler
Russ Cook wites: > I named the script mail_ppp. It's purpose is to email my dynamic address > to a specific email address after dial up, so I can access my network > from remote locations. Is the first line '#!/bin/sh' ? Post the script. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing H

Re: run-parts

2002-12-30 Thread Russ Cook
Thanks Brian. I'll keep this for reference. BTW, the script /etc/ppp/ip-up exports the dynamic address as PPP_LOCAL. Should I not be able to use that in my script? export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM Thanks again, Russ On 30 Dec 2002, Brian P. Flaherty wrote:

Re: run-parts

2002-12-30 Thread Russ Cook
I knew nothing about such a service. On Mon, 30 Dec 2002, Jamin W. Collins wrote: > On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote: > > > I named the script mail_ppp. It's purpose is to email > > my dynamic address to a specific email address after > > dial up, so I can access my netw

Re: run-parts

2002-12-30 Thread Russ Cook
Thanks, I didn't know that. I renamed the file, and it fixed my problem. Thanks again. On Mon, 30 Dec 2002, Colin Watson wrote: > [Please don't cc me on replies.] > > On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote: > > I named the script mail_ppp. > > At least newer versions of run-pa

Re: run-parts

2002-12-30 Thread Brian P. Flaherty
Russ Cook <[EMAIL PROTECTED]> writes: > I named the script mail_ppp. It's purpose is to email > my dynamic address to a specific email address after > dial up, so I can access my network from remote locations. I did this with the following script. The IP address part may be ugly, but it works.

Re: run-parts

2002-12-30 Thread Colin Watson
[Please don't cc me on replies.] On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote: > I named the script mail_ppp. At least newer versions of run-parts only allow underscores in the so-called "hierarchical namespace" (i.e. "[hier1]-[hier2]-...-[name]"), citing the Linux Standards Base spe

Re: run-parts

2002-12-30 Thread Jamin W. Collins
On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote: > I named the script mail_ppp. It's purpose is to email > my dynamic address to a specific email address after > dial up, so I can access my network from remote locations. Why not use a dynamic DNS service, such as DynDNS.org? -- Jamin

Re: run-parts

2002-12-30 Thread Russ Cook
I named the script mail_ppp. It's purpose is to email my dynamic address to a specific email address after dial up, so I can access my network from remote locations. On Mon, 30 Dec 2002, Colin Watson wrote: > On Mon, Dec 30, 2002 at 12:18:41PM -0600, Russ Cook wrote: > > Please help. I have mad

Re: run-parts

2002-12-30 Thread Colin Watson
On Mon, Dec 30, 2002 at 12:18:41PM -0600, Russ Cook wrote: > Please help. I have made an executable script to be run when my ppp link > comes up. I placed this script in the directory /etc/ppp/ip-up.d and > gave it the same owner and flags as the other scripts in that directory. > However, the sc

Re: run-parts and valid filenames

2001-10-28 Thread Joey Hess
Aaron Hall wrote: > So, having done that, I'm curious: why does run-parts have such a narrow > view of a "valid filename". It's there for a reason, else why write the > validation code? Because it's very bad to have it run files like: foo.dpkg-old foo.dpkg-new foo~ .foo.swp All of which may easi

Re: run-parts and valid filenames

2001-10-26 Thread Sean 'Shaleh' Perry
> > So, having done that, I'm curious: why does run-parts have such a narrow > view of a "valid filename". It's there for a reason, else why write the > validation code? > > I'm just curious, but it would be nice to know. > my guess is that Debian calls the directories to be run by run-parts fo

RE: run-parts and syslog

2001-03-29 Thread Wojciech Milek
> 1. is there an undocumented flag in run-parts, which I can use for this >purpose? I don't thing so > 2. is there an easy way to get messages from shell and perl scripts into >the syslog? man logger NAME logger - make entries in the system log SYNOPSIS logger [-is] [-f fil