Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 18423
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Seemant Kulleen (RETIRED) <seemant@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jukka Salmi <j+gentoo@salmi.ch>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
run-parts.c.patch patches run-parts to ignore .keep files patch Jukka Salmi 2003-03-29 08:07 0000 396 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 18423 depends on: Show dependency tree
Bug 18423 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: 2003-03-29 08:06 0000
if running run-parts from sys-apps/debianutils for a dir containing a .keep
file, run-parts gives an error msg like 'component $dir/.keep is not an
executable plain file'. sys-apps/anacron for instance runs run-parts for the
directories /etc/cron.{daily,weekly,monthly}, which contain .keep files. this
results in error messages mailed to root.

Reproducible: Always
Steps to Reproduce:
$ run-parts --test /etc/cron.weekly
Actual Results:  
run-parts: component /etc/cron.weekly/.keep is not an executable plain file

Expected Results:  
IMHO no error message for .keep files should be printed.

solution #1: run-parts could be patched to ignore .keep files (i'll submit a patch)
solution #2: .keep files in /etc/cron.{daily,weekly,monthly} could be renamed to
.keep.disabled (run-parts ignores files matching *.disabled by default). for
this to happen, sys-apps/baselayout and sys-apps/cronbase and possibly ebuild.sh
would have to be patched.

------- Comment #1 From Jukka Salmi 2003-03-29 08:07:48 0000 -------
Created an attachment (id=9985) [details]
patches run-parts to ignore .keep files

------- Comment #2 From Jukka Salmi 2003-03-29 08:10:52 0000 -------
solution #3: .keep files could be chmod()ed to 0755...

------- Comment #3 From Seemant Kulleen (RETIRED) 2003-04-01 02:52:09 0000 -------
they're not executable, so I rather prefer the patch method.

------- Comment #4 From Seemant Kulleen (RETIRED) 2003-04-03 19:21:54 0000 -------
fixed in -r1. thanks for that.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug