| View previous topic :: View next topic |
| Author |
Message |
servermonk Apprentice


Joined: 07 Nov 2003 Posts: 182 Location: MI
|
Posted: Thu Mar 31, 2005 5:37 am Post subject: run-parts not working anymore :/ |
|
|
last week run-parts stopped working at some point. I was using it for my mrtg stuff and noticed it stopped updating. When I run it with --test there is no output.
| Code: | ls /etc/cron.mrtg/
cpu.sh load.sh ping.sh traffic.sh |
yet:
| Code: | | /bin/run-parts --list /etc/cron.mrtg/ |
gives me NO output.
What on earth is going on? _________________ Gentoo makes me wanna shoop. |
|
| Back to top |
|
 |
zeroclip n00b

Joined: 02 Apr 2004 Posts: 38
|
Posted: Wed Apr 06, 2005 12:27 pm Post subject: |
|
|
I have the exact same problem. Started right after last emerge as far as i can tell.
| Code: |
# /bin/run-parts --list /etc/mrtg
#
|
|
|
| Back to top |
|
 |
Tobbi n00b

Joined: 16 May 2002 Posts: 25 Location: Karmøy, Norway
|
Posted: Fri Apr 08, 2005 5:38 pm Post subject: |
|
|
After my last emerge -uD world on my server, I noticed my mrtg-graphs didn't update any longer.
Running run-parts --test /etc/cron.mrtg didn't return anything for me either.
When I downgraded with 'emerge =debianutils-1.16.7-r4', it worked again though. |
|
| Back to top |
|
 |
Daath n00b


Joined: 06 Aug 2003 Posts: 21
|
Posted: Mon Apr 11, 2005 2:28 pm Post subject: |
|
|
Same problem here... I'm gonna try downgrading debianutils too... _________________ Any technology distinguishable from magic, is insufficiently advanced. |
|
| Back to top |
|
 |
servermonk Apprentice


Joined: 07 Nov 2003 Posts: 182 Location: MI
|
Posted: Mon Apr 11, 2005 5:04 pm Post subject: |
|
|
Downgrading debianutils worked for me as well. _________________ Gentoo makes me wanna shoop. |
|
| Back to top |
|
 |
FLYLM n00b

Joined: 25 Mar 2004 Posts: 62 Location: France
|
Posted: Fri May 27, 2005 1:55 pm Post subject: |
|
|
I've got the same pb since upgrade debianutils-2.13.1-r1.
/bin/run-part doesn't work.
Downgrading worked for me, i've masking the package "=sys-apps/debianutils-2.13.1-r1"
--- Sorry for me english --- |
|
| Back to top |
|
 |
servermonk Apprentice


Joined: 07 Nov 2003 Posts: 182 Location: MI
|
Posted: Fri May 27, 2005 2:13 pm Post subject: |
|
|
I sure wish I knew WHY this was happening though. It doesn't make much sense to me. :/ _________________ Gentoo makes me wanna shoop. |
|
| Back to top |
|
 |
junnuh n00b


Joined: 15 Aug 2002 Posts: 9 Location: Hamburg, Germany
|
Posted: Tue May 31, 2005 3:44 pm Post subject: I just wanted to post.. |
|
|
..a "me too".
Suddenly it stopped working.. |
|
| Back to top |
|
 |
amoebapr n00b


Joined: 25 Nov 2003 Posts: 11 Location: Minneapolis, MN
|
Posted: Fri Jun 03, 2005 2:52 pm Post subject: |
|
|
| also a me too. I'm going to downgrade as well. |
|
| Back to top |
|
 |
shawv n00b

Joined: 11 Jan 2005 Posts: 9
|
Posted: Mon Jun 06, 2005 4:43 am Post subject: run-parts not working |
|
|
Downgrading worked for me as well- mask in /etc/portage/package.mask and then re-emerge.
I couldn't find a bug in the gentoo bugzilla, so I opened one. It's bug 95173. |
|
| Back to top |
|
 |
KayJay n00b

Joined: 13 May 2005 Posts: 2
|
Posted: Wed Jun 15, 2005 9:17 am Post subject: |
|
|
I've noticed it on mine too. It appears that any script with a '.' in it will fail, as logrotate.cron also fails on mine! Downgrading debianutils as we speak.
Initally noticed mrtg graphs failed to update
cpu.sh
mem.sh
swap.sh
traffic.sh
 |
|
| Back to top |
|
 |
SpanKY Developer


Joined: 18 Apr 2002 Posts: 321 Location: Worcester, MA
|
|
| Back to top |
|
 |
tam Guru


Joined: 04 Mar 2003 Posts: 569 Location: freiburg.de
|
Posted: Mon Jun 20, 2005 12:59 pm Post subject: |
|
|
Ahhh, I just wondered why my apm scripts didn't run anymore.  |
|
| Back to top |
|
 |
kerframil l33t


Joined: 19 Apr 2002 Posts: 700 Location: London, UK
|
Posted: Tue Jun 21, 2005 9:11 pm Post subject: |
|
|
Another solution is to use the --lsbsysinit parameter, for example:
| Code: | | /bin/run-parts --lsbsysinit --list /etc/cron.mrtg/ |
The background for this rather annoying issue is covered in detail in bugs #95173 and #96730. |
|
| Back to top |
|
 |
heutger n00b

Joined: 13 Apr 2004 Posts: 9
|
Posted: Fri Jul 08, 2005 10:50 pm Post subject: |
|
|
| kerframil wrote: | Another solution is to use the --lsbsysinit parameter, for example:
| Code: | | /bin/run-parts --lsbsysinit --list /etc/cron.mrtg/ |
The background for this rather annoying issue is covered in detail in bugs #95173 and #96730. |
Thanks for this help, but --lsbsysinit doesn't change anything for me? I tried with and without, no difference at all?! |
|
| Back to top |
|
 |
kerframil l33t


Joined: 19 Apr 2002 Posts: 700 Location: London, UK
|
Posted: Mon Jul 11, 2005 2:22 am Post subject: |
|
|
| heutger wrote: | | Thanks for this help, but --lsbsysinit doesn't change anything for me? I tried with and without, no difference at all?! |
Hmm ... I apologise as I interpreted this issue incorrectly. You are quite right, that parameter will not help. Fullstops (periods) are allowed in the filename when using this parameter but unfortunately not in the way that is discussed in this thread. In LSB-compliant mode, debianutils now employs three regular expressions which indicate valid "namespaces" for scripts to be executed. The one which I had not scrutinised properly is as follows: | Code: | | (^_?([a-z0-9_.]+-)+[a-z0-9]+$) |
The above expression enforces a naming convention for scripts that adhere to the LSB heirarchical/reserved namespace. The use of a fullstop is quite particular then - for example this is valid:
whereas this is not:
Unfortunately, the two alternate namespaces do not allow for fullstops to be used at all. For more background on this see man run-parts and the LSB blurb. I'll be updating the bug(s) about this issue soon. In the meantime, I'm afraid that you either have to continue to stick to the old series of debianutils, use an alternate run-parts implementation (such as the trivial method employed by RHEL/Fedora) or simply avoid using fullstops in the filenames for your scripts.  |
|
| Back to top |
|
 |
kerframil l33t


Joined: 19 Apr 2002 Posts: 700 Location: London, UK
|
Posted: Wed Jul 13, 2005 4:12 pm Post subject: Resolved ... |
|
|
| The problem is now resolved as of debianutils-2.14.1-r1. |
|
| Back to top |
|
 |
|