Bug#308911: Vá: Re: Bug#308911: run-parts does not execute links/binaries containing periods in the name

2007-02-16 Thread Csaba Lack
Hi Adam,

I am not sure, that this would be more clear for others, but my
suggesttion is like this:

DESCRIPTION
   run-parts  runs  almost  all  executable  files  without
extensions, found in 
   directory directory.
   Exact constraints are described below, other files and 
directories 
   are silently ignored.


Regards:
Csaba Lack
 
 Clint Adams [EMAIL PROTECTED] 2007.02.15. 19:39 
 What if run-parts checks .dpkg* and .disable* and .whatever 
 extensions and it will prevented from running this types of
extensions
 after dot.
 Maybe also can be a solution that after . only 3 characters
[a-zA-Z]
 are allowed. (.php .pl .cgi .sh .py ... etc)
 
 But the most important thing I think to update the manual of
run-parts,
 because there is no word about filename.ext is prohibited. What is
more
 that there is nothing in the syslog about it (e.g warning:
 /etc/cron.hourly/script.sh not executed, wrong filename).
 
 (I have used Debian Etch, when I faced with this issue)

What wording would you add to the DESCRIPTION section of the man page
to clarify this for you?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#308911: run-parts does not execute links/binaries containing periods in the name

2007-02-15 Thread Csaba Lack
Hi!

What if run-parts checks .dpkg* and .disable* and .whatever 
extensions and it will prevented from running this types of extensions
after dot.
Maybe also can be a solution that after . only 3 characters [a-zA-Z]
are allowed. (.php .pl .cgi .sh .py ... etc)

But the most important thing I think to update the manual of run-parts,
because there is no word about filename.ext is prohibited. What is more
that there is nothing in the syslog about it (e.g warning:
/etc/cron.hourly/script.sh not executed, wrong filename).

(I have used Debian Etch, when I faced with this issue)

Regards:
Csaba Lack




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#308911: run-parts does not execute links/binaries containing periods in the name

2007-02-15 Thread Clint Adams
 What if run-parts checks .dpkg* and .disable* and .whatever 
 extensions and it will prevented from running this types of extensions
 after dot.
 Maybe also can be a solution that after . only 3 characters [a-zA-Z]
 are allowed. (.php .pl .cgi .sh .py ... etc)
 
 But the most important thing I think to update the manual of run-parts,
 because there is no word about filename.ext is prohibited. What is more
 that there is nothing in the syslog about it (e.g warning:
 /etc/cron.hourly/script.sh not executed, wrong filename).
 
 (I have used Debian Etch, when I faced with this issue)

What wording would you add to the DESCRIPTION section of the man page
to clarify this for you?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#308911: run-parts does not execute links/binaries containing periods in the name

2006-12-05 Thread Erich Minderlein
Hello

As I learnt recently ,
run-parts executes cron and this is intended behaviour
see man cron
not a BUG.

best regards
Erich




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#308911: run-parts does not execute links/binaries containing periods in the name

2006-12-05 Thread Julian Mehnle
Erich Minderlein wrote:
 As I learnt recently ,
 run-parts executes cron and this is intended behaviour
 see man cron
 not a BUG.

Well, so what?  Why can't a command-line option be introduced that allows 
the dots?  That wouldn't be incompatible with cron.


pgpG45VQFWF2X.pgp
Description: PGP signature


Bug#308911: run-parts does not execute links/binaries containing periods in the name

2005-12-06 Thread Julian Mehnle
Clint Adams [EMAIL PROTECTED] wrote:
 Luke Schierer [EMAIL PROTECTED] wrote:
  Okay, even with the --lsbsysinit option, it is still skipping a
  file.sh type name.  I used
  run-parts --lsbsysinit --test /etc/cron.daily
  to test.
 
 You would need to use the LSB hierarchical namespace, for example
 
 schierer.org-file.sh-blah

And the filename would have to start with an underscore, like the manpage 
explains.

Now, couldn't at least a new --relaxed or --syntax=dots,foo,bar option 
be added that allows the dots, while still ignoring all those .dpkg-* 
files?

(I have files called postgresql-7.4 and postgresql-8.0, and it would be 
really awful having to rename them postgresql-7_4 or something.)


pgp06Ndx2HxT1.pgp
Description: PGP signature


Bug#308911: run-parts does not execute links/binaries containing periods in the name

2005-05-13 Thread guenther . mair
Package: debianutils
Version: 1.16.2woody1

Links or binaries inside a directory handled by run-pars (like
/etc/cron.daily) will not run if a period is part of their name. I'm not
sure if this is intended to be so or not. Please follow the simple test
attached to this email to reproduce what I belive to be a bug.

Regards,


Günther

# run-parts --test /etc/cron.daily
/etc/cron.daily/calendar
/etc/cron.daily/exim
/etc/cron.daily/find
/etc/cron.daily/logrotate
/etc/cron.daily/man-db
/etc/cron.daily/modutils
/etc/cron.daily/netkit-inetd
/etc/cron.daily/ntp-simple
/etc/cron.daily/standard
/etc/cron.daily/sysklogd

# ln -s /bin/ls /etc/cron.daily/dosomething.now
# run-parts --test /etc/cron.daily
/etc/cron.daily/calendar
/etc/cron.daily/exim
/etc/cron.daily/find
/etc/cron.daily/logrotate
/etc/cron.daily/man-db
/etc/cron.daily/modutils
/etc/cron.daily/netkit-inetd
/etc/cron.daily/ntp-simple
/etc/cron.daily/standard
/etc/cron.daily/sysklogd

# rm /etc/cron.daily/dosomething.now
# ln -s /bin/ls /etc/cron.daily/dosomething-now
# run-parts --test /etc/cron.daily
/etc/cron.daily/calendar
/etc/cron.daily/dosomething-now
/etc/cron.daily/exim
/etc/cron.daily/find
/etc/cron.daily/logrotate
/etc/cron.daily/man-db
/etc/cron.daily/modutils
/etc/cron.daily/netkit-inetd
/etc/cron.daily/ntp-simple
/etc/cron.daily/standard
/etc/cron.daily/sysklogd

# rm /etc/cron.daily/dosomething-now