-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 coul
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
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.
--
"
It looks like cron on Etch isn't working properly in all cases. I've
tried running:
sudo run-parts --verbose /etc/cron.hourly
and nothing happens. Of course, when I run the scripts by hand, all
works well. Cron *is* firing, so why aren't my hourly scripts being run?
--
&
On Thursday 24 June 2004 20:33, R. Hamburg hurled the following on the wire:
[...]
> > Subject: Cron test -e /usr/sbin/anacron || run-parts --
> > report /etc/cron.daily
> >
> > > /etc/cron.daily/logrotate:
> > > grep: writing output: Broken pipe
>
> [
-Oorspronkelijk bericht-
Van: Joost De Cock [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 24 juni 2004 10:36
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Cron test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily
On Thursday 24 June 2004 10:18, Robbert Hamburg hurled the following
ut in the mail was:
>
> Subject: Cron test -e /usr/sbin/anacron || run-parts --
> report /etc/cron.daily
>
> > /etc/cron.daily/logrotate:
> > grep: writing output: Broken pipe
[...]
Run the logratate script manually. (in /etc/cron.daily)
See what happens.
joost
DISCLAI
Hi List,
Today i found this error in my mail from one of our debian machines.
It puzzles me a little since i didnt change anything in the config, and it is
a fresh install. The output in the mail was:
Subject: Cron test -e /usr/sbin/anacron || run-parts --
report /etc/cron.daily
> /
a snippet from my
> /usr/share/kernel-package (My k-pkg version is 7.107 - later
> versions may have this fixed, I don't know )
> (debian-2-4-21 was my addition to make run-parts work)
Please file a bug against kernel-patch-2.4.21. The behaviour
of run-parts and kernel
n 28 08:36 debian-2.4.21*
This file comes from kernel-patch-debian-2.4.21. File a bug against this
package saying that kernel-package uses run-parts, which doesn't pick up
files with dots in the filename.
Cheers,
Mika
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of &q
t; a dash for each dot and bingo! it worked..
> >
> > It seems that run-parts (at least mine (v 1.15 ) ignores any file with
> > a dot in the name..
>
> That's a feature nor a bug. :) See also the manpage:
>
>If the --lsbsysinit option is not given then t
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 seem
While grappling with getting kernel 2.4.21 to compile, I checked to be
sure that the make-kpkg routine was accessing the patch-kernel files..
In the process of attempting various combinations of files, I found that
run-parts was ignoring the proper script
(run-parts /usr/src/kernel-patch/all
Recently, anacron has been hanging on one of my systems. It first
happened over a month ago and I didn't notice until 'locate' warned me
the database was over 7 days old and I saw 'run-parts /etc/cron.daily'
was hung. I killed anacron and ran reran by hand with no proble
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
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
| > >
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
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:
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
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.
>
>
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.
[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]"),
cit
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
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 script doesn't execute. Executing run-parts
However, the script doesn't execute. Executing run-parts --test does not
> show this script.
What is its name?
--
Colin Watson [[EMAIL PROTECTED]]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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 script doesn't execute. Executing run-parts --test does not
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-n
>
> 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 Debia
Why does run-parts not like dots in filenames?
I'm embarrassed to admit I just spent over half an hour wrangling with the
program. Every time I had it run through a directory, it kept skipping a
particular file. The filename contained a dot.
Now, the manpage for run-parts clearly states th
> 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
Hi,
I'm a novice, so please forgive my stupid questions ;-)
I'm using Debian 2.2.17 (Potato). I've placed some scripts in
/etc/ppp/ip-up.d
(they were executed automatically by the /etc/ppp/ip-up script). ip-up
uses run-parts. I want the shell-scripts (and probably some pe
Hello,
I have a few user scripts which run once a day. These are right now
keeping track of their own time stamp, and are run regularly (for
example by cron, or whenever logging in).
Is the following line in /etc/anacrontab
1 5cron.SOMEUSER nice su - SOMEUSER bash -c run-parts
On Wed, 25 Oct 2000 18:21:15 + (UTC), Remco Rijnders said:
> In article <[EMAIL PROTECTED]>, mike wrote:
>
> >> /etc/cron.daily/logrotate:
> >> error: mysql-server:15 duplicate log entry for /var/log/mysql.log
> >> run-parts: /etc/cron.da
In article <[EMAIL PROTECTED]>, mike wrote:
>> /etc/cron.daily/logrotate:
>> error: mysql-server:15 duplicate log entry for /var/log/mysql.log
>> run-parts: /etc/cron.daily/logrotate exited with return code 1
> Look in /etc/logrotate.conf and /etc/logrotate.d/mysq
200 (CEST)
> From: root (Cron Daemon)
> To: root
> Subject: Cron <[EMAIL PROTECTED]> test -e /usr/sbin/anacron || run-parts
> --report /etc/cron.daily
> X-Cron-Env:
> X-Cron-Env:
>
> X-Cron-Env:
> X-Cron-Env:
>
> /etc/cron.daily/logrotate:
>
nacron || run-parts
--report /etc/cron.daily
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
/etc/cron.daily/logrotate:
error: mysql-server:15 duplicate log entry for /var/log/mysql.log
run-parts: /etc/cron.daily/logrotate exited with return code 1
- End forwarded message -
I get thi
le or directory
rm: cannot remove `/var/log/ksymoops/2430003417.ksyms': No such file
or directory
rm: cannot remove `/var/log/ksymoops/2430003424.ksyms': No such file
or directory
rm: cannot remove `/var/log/ksymoops/2430003424.modules': No such
file or directory
rm: cannot
25:04 +0100
> From: root (Cron Daemon)
> To: root
> Subject: Cron <[EMAIL PROTECTED]> run-parts --report /etc/cron.daily
>
> /etc/cron.daily/cracklib:
> 45375 45375
known bug in slink (cracklib-runtime 2.7-5), gone under potato
(cracklib-runtime 2.7-8) ... dry to install the p
On Sat, 6 Nov 1999, Marco Giardini wrote:
> who can please let me know the origin of this and the solution?
> Thanks
>
> marco
> - Forwarded message from Cron Daemon -
>
> Date: Sat, 6 Nov 1999 06:25:03 +0100
> From: root (Cron Daemon)
> To: root
> Subject
who can please let me know the origin of this and the solution?
Thanks
marco
- Forwarded message from Cron Daemon -
Date: Sat, 6 Nov 1999 06:25:03 +0100
From: root (Cron Daemon)
To: root
Subject: Cron <[EMAIL PROTECTED]> run-parts --report /etc/cron.daily
/etc/cron.daily/cr
> - Forwarded message from Cron Daemon -
> how to solve this?
> Thanks
>
>
> .oesse.
>
> Date: Sat, 30 Oct 1999 06:25:02 +0200
> From: root (Cron Daemon)
> To: root
> Subject: Cron <[EMAIL PROTECTED]> run-parts --report /etc/cron.daily
>
&
- Forwarded message from Cron Daemon -
how to solve this?
Thanks
.oesse.
Date: Sat, 30 Oct 1999 06:25:02 +0200
From: root (Cron Daemon)
To: root
Subject: Cron <[EMAIL PROTECTED]> run-parts --report /etc/cron.daily
/etc/cron.daily/cnews:
shell-init: could not get current dir
Many thanks!
ednesday, September 01, 1999 6:26 AM
> Subject: Cron <[EMAIL PROTECTED]> run-parts --report /etc/cron.daily
>
>
> > /etc/cron.daily/suidmanager:
> > File /usr/lib/emacs/20.3/i386-debian-linux-gnu/movemail registered but not
> installed
Edit /etc/suid.conf and remove t
Hi all,
Anyone know how I can stop getting these messages? Thanks in advance.
- Original Message -
From: Cron Daemon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 1999 6:26 AM
Subject: Cron <[EMAIL PROTECTED]> run-parts --report /etc/c
`:" >
/var/log/wtmp.report
And today is 1st of month, not End of month.
TIA
- Forwarded message from Cron Daemon <[EMAIL PROTECTED]> -
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> run-parts --report /etc/cron.monthly
X-
On 21-Apr-99 Jiri Baum wrote:
> Hello,
>
> is there anything like run-parts that would run all the scripts at the same
> time, and then wait for all of them to finish?
>
> I wouldn't mind having most of my ip-up.d run together - I suspect there's
> a lot of time
Hello,
is there anything like run-parts that would run all the scripts at the same
time, and then wait for all of them to finish?
I wouldn't mind having most of my ip-up.d run together - I suspect there's
a lot of time spent idle waiting for protocol negotiation to go through
Thanx for the help ,
but >;0).
Right "pppd" doesnt go down if "ip-up" doesnt which wont unless "run-parts" does
which wont unless
all scripts in "ip-up.d" do. And indeed "ip-down" then does not appear to launch
catch 22
( or
John Leget writes:
> Hmm no help here then im running 2.2.5-ac3, potato, and i see its up to
> version 2.3.7-2.
I installed 2.3.6 from unstable.
> I dont think that alone is the problem "run-parts" ( invoked in both
> ip-up and ip-down ) does of itself not exit until
Hmm no help here then im running 2.2.5-ac3, potato, and i see its up to version
2.3.7-2.
I dont think that alone is the problem "run-parts" ( invoked in both ip-up and
ip-down ) does of itself not exit until all the scripts it is trying to run
finish.
And since i have 3-4 doing various
John Leget writes:
> ip-down does not stop ip-up.d's "run-parts"
Actually, the bug is in pppd: it will start ip-down while ip-up is still
running. This is fixed in pppd-2.3.6, which is in unstable.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
>
> Hi,
>
> ip-down does not stop ip-up.d's "run-parts"
>
WHy not attack this the other way. If the device goes down while
we are still running ip-up scripts, let the scripts fail.
something like:
if ppp0 works || exit 0
do script work
That way, your ip-dow
Hi,
ip-down does not stop ip-up.d's "run-parts"
When "ip-up" runs it runs the scripts in "ip-up.d" using "run-parts".
This isn't working to well with me as i have several scripts in "ip-up"
which run in sequence - one after the other
: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject:Cron <[EMAIL PROTECTED]> run-parts --report
/etc/cron.weekly
/etc/cron.weekly/apcd:
Reopening apcd logfiles
run-parts: /etc/cron.weekly/apcd exited with return code 1
/etc/cron.
Quoting Paolo Pedaletti ([EMAIL PROTECTED]):
> Ciao,
> someone can explain the difference between run-parts and:
>
-8<---
-8<---
>
> I prefer a script rather then a binary file, if they can do the same
> things...
>
> The reason of this is that if
Ciao,
someone can explain the difference between run-parts and:
---8<---
#!/bin/sh
# alternative to run-parts . (?)
USAGE="\
Usage: $0 dirname\n
run all the executable inside the directory
"
if [ "$2" = "test" ] ; then
TEST=1
el
Brandon Mitchell wrote:
>
> > run-parts: /etc/cron.weekly/lpr exited with return code 1
>
> Running by hand causes no problems. Then I piped the output to mail, and
> when it arrives, the lpd restart only echos a ".". Any ideas? This is a
> relatively up to dat
Hmm... I've been getting this for a few weeks:
> run-parts: /etc/cron.weekly/lpr exited with return code 1
Running by hand causes no problems. Then I piped the output to mail, and
when it arrives, the lpd restart only echos a ".". Any ideas? This is a
relatively up to date
> On Mon, 1 Dec 1997, Matt Thompson wrote:
>
> > ...and my ISP would rather that my machine doesn't continue to send out
> > messages to '[EMAIL PROTECTED]'.
> >
>
> Well, even if you fix this particular problem, your machine will still
> generate messages to root from time to time, and they pr
> On Mon, 1 Dec 1997, Matt Thompson wrote:
>
> > I have started getting these messages out of the blue:
> >
> > chgrp: invalid group name `#-1'
> > chgrp: invalid group name `#-1'
> > chgrp: invalid group name `#-1'
> > chgrp: invalid group name `#-1'
> > chgrp: invalid group name `#-1'
> > chgrp
On Mon, 1 Dec 1997, Matt Thompson wrote:
> ...and my ISP would rather that my machine doesn't continue to send out
> messages to '[EMAIL PROTECTED]'.
>
Well, even if you fix this particular problem, your machine will still
generate messages to root from time to time, and they probably shouldn't
On Mon, 1 Dec 1997, Matt Thompson wrote:
> I have started getting these messages out of the blue:
>
> chgrp: invalid group name `#-1'
> chgrp: invalid group name `#-1'
> chgrp: invalid group name `#-1'
> chgrp: invalid group name `#-1'
> chgrp: invalid group name `#-1'
> chgrp: invalid group name
I have started getting these messages out of the blue:
chgrp: invalid group name `#-1'
chgrp: invalid group name `#-1'
chgrp: invalid group name `#-1'
chgrp: invalid group name `#-1'
chgrp: invalid group name `#-1'
chgrp: invalid group name `#-1'
Electric Fence 2.0.5 Copyright (C) 1987-1995 Bru
Ieee! Whats going on here??? I just did the latest update in hamm BTW.
Thanks for the help in advance!
Date: Sat, 29 Nov 1997 06:53:03 -0800
From: Cron Daemon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> run-parts /etc/cron.daily
Electric Fence 2.0
Hi,
What does your /dev/null look like?
__> ls -als /dev/null
0 crw-rw-rw- 1 root root 1, 3 Sep 16 1996 /dev/null
Alternately, try (as root)
/bin/sh -x /usr/lib/smail/checkerr
which should isolate the line on wich the error occurs. (since
I do not use
ed message --
Date: Sun, 31 Aug 1997 06:45:04 -0400 (EDT)
From: Cron Daemon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> run-parts /etc/cron.daily
/usr/lib/smail/checkerr: /dev/null: Permission denied
--
TO UNSUBSCRIBE FROM THIS MAILING
Alexander Koch:
> Quoting Joey Hess ([EMAIL PROTECTED]):
> > Oh no - I think I might know what package is causing this problem, and
> > unfortunatly, I maintain it :-/. Do you have slrn installed? Does
> > /etc/slrnget.conf contain the following lines setting variables =y? This
> > could very well
Randy Edwards:
>I've got a newbie-type question for anyone kind enough to answer. This
> morning I got a message from my cron which told me the following (header cut
> down a bit for brevity):
>
> >> From: root (Cron Daemon)
> >> To: root
> >>
I've got a newbie-type question for anyone kind enough to answer. This
morning I got a message from my cron which told me the following (header cut
down a bit for brevity):
>> From: root (Cron Daemon)
>> To: root
>> Subject: Cron <[EMAIL PROTECTED]&g
70 matches
Mail list logo