First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 96730
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Cron Team <cron-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kerin Millar <kerframil@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
anacrontab /etc/anacrontab (proposed) text/plain Kerin Millar 2005-06-21 13:39 0000 343 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 96730 depends on: Show dependency tree
Bug 96730 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-21 13:37 0000
Hi folks. I'd like to propose that the default anacrontab invokes run-parts
with the --lsbsysinit parameter. The background for this is covered in this
bug:

  http://bugs.gentoo.org/show_bug.cgi?id=95173

In any case, the crux of the matter is that run-parts will only execute scripts
that fall into the "Debian" namespace which, according to the manpage, must
"consist entirely of upper and lower case letters, digits, underscores, and
hyphens." The main problem is that this vetoes scripts that have a fullstop
(period) in their names such as those ending with the ".cron" suffix. Having
gone through a frustrating debugging session with one user I found at least one
case where this is an issue: the app-admin/logrotate package installs the
/etc/cron.daily/logrotate.cron script which will be ignored by anacron.

------- Comment #1 From Kerin Millar 2005-06-21 13:39:13 0000 -------
Created an attachment (id=61663) [details]
/etc/anacrontab (proposed)

Simple amendment to invoke the run-parts command with the --lsbsysinit
parameter (see man run-parts).

------- Comment #2 From SpanKY 2005-06-21 13:47:44 0000 -------
what a retarded namespace

------- Comment #3 From Aaron Walker (RETIRED) 2005-06-21 18:15:53 0000 -------
Fixed.  Thanks for the bug.

------- Comment #4 From Kerin Millar 2005-07-10 19:29:48 0000 -------
OK, I screwed up on this one. Whilst the resolution for this bug was sensible,
I
was wrong to claim that it resolved the specific issue I described with
logrotate (crossed wires - the script in question had actually been renamed ...
*ahem*). I'll make further and more detailed comments on bug 95173 where they
belong.

------- Comment #5 From Kerin Millar 2005-07-13 08:49:37 0000 -------
This bug has now become a natural inversion of itself! So I'm requesting that
the original resolution to this bug be reverted. That is, the --lsbsysinit
parameter should be removed from the default anacrontab file.

The resolution to bug 95173 explains why. Basically, the default namespace in
debianutils-2.14.1-r1 is now much more tolerant and solves the problem
originally mentioned in this bug. It has not yet been unmasked but, nontheless,
it should be safe to revert the anacrontab change because it didn't correctly
solve the the "dots-in-filenames" issue in the first place (certainly not for
the "*.cron" scripts). I apologise for any inconvenience caused.

------- Comment #6 From Aaron Walker (RETIRED) 2005-07-13 23:45:50 0000 -------
Reverted.

First Last Prev Next    No search results available      Search page      Enter new bug