Marc,<br><br>Patch did not apply.<br><br>My /etc/cron.d/aide's line 227 looks like this :<br> < "$ARUNLOG" sed -n '1,/^Detailed information about changes:/p' | \<br><br>other details follow :
<br># md5sum /etc/cron.daily/aide<br>3d2f3e09774bb05d5564a2f2d171777f /etc/cron.daily/aide<br># stat !$<br>stat /etc/cron.daily/aide<br> File: `/etc/cron.daily/aide'<br> Size: 12686 Blocks: 28 IO Block: 4096 regular file
<br>Device: 806h/2054d Inode: 92375 Links: 1<br>Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)<br>Access: 2007-04-18 16:44:50.836752216 +0200<br>Modify: 2007-04-10 22:32:02.000000000 +0200
<br>Change: 2007-04-10 22:32:02.000000000 +0200<br><br>are we trying to patch the same version? (Version: 0.13.1-2) from stable=etch<br><br>Thanks & Regards,<br><br>Guillaume<br><div><span class="gmail_quote"><br>2007/4/17, Marc Haber <
<a href="mailto:mh+debian-packages@zugschlus.de">mh+debian-packages@zugschlus.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
tags #419676 confirmed<br>thanks<br><br>On Tue, Apr 17, 2007 at 01:20:36PM +0200, Guillaume Lécroart wrote:<br>> Package: aide Version: 0.13.1<br><br>This is not a Debian version number. Please consider using the Debian
<br>reportbug tool, which will collect correct version data of package and<br>dependencies.<br><br>> Aide's daily cron script fails with the following message :<br>><br>> /etc/cron.daily/aide:<br>> /etc/cron.daily/aide: line 229: /tmp/aidenpcAqTF: cannot overwrite existing
<br>> file<br>> run-parts: /etc/cron.daily/aide exited with return code 1<br>><br>> line 229 contains a redirection to a file creataed at line 227 using the<br>> 'tempfile' utility. Script sets bash's '-G' flag preventing overwriting an
<br>> existing file.<br><br>Confirmed. Looks like nobody (including me) was actually using the<br>denoise feature. Good catch.<br><br>Please try the following patch against the cronjob of aide 0.13.1-5.<br><br>--- /etc/cron.daily/aide.orig 2007-04-17 14:12:
18.000000000 +0200<br>+++ /etc/cron.daily/aide 2007-04-17 14:13:55.000000000 +0200<br>@@ -277,14 +277,14 @@<br> if [ -n "${ARUNLOG:-}" ] && [ -s "$ARUNLOG" ]; then<br><br> if [ -n "${NOISE:-}" ]; then
<br>- NOISETMP="$(tempfile --directory "/tmp" --prefix "aidenoise")"<br>- NOISETMP2="$(tempfile --directory "/tmp" --prefix "aidenoise")"<br>+ NOISETMP="$(mytempfile aidenoise1)"
<br>+ NOISETMP2="$(mytempfile aidenoise2)"<br> < "$ARUNLOG" sed -n '1,/^Detailed information about changes:/p' | \<br> grep '^\(changed\|removed\|added\):' | \<br>
- grep -v "^added: THERE WERE ALSO [0-9]\+ FILES ADDED UNDER THIS DIRECTORY" > "$NOISETMP2"<br>+ grep -v "^added: THERE WERE ALSO [0-9]\+ FILES ADDED UNDER THIS DIRECTORY" >> "$NOISETMP2"
<br><br> if [ -n "$NOISE" ]; then<br>- < "$NOISETMP2" grep -v "^\(changed\|removed\|added\):$NOISE" > "$NOISETMP"<br>+ < "$NOISETMP2" grep -v "^\(changed\|removed\|added\):$NOISE" >> "$NOISETMP"
<br> printf >> "$MAILFILE" "De-Noised output removes everything matching %s.\n" "$NOISE"<br> fi<br><br><br>Greetings<br>Marc<br><br>--<br>-----------------------------------------------------------------------------
<br>Marc Haber | "I don't trust Computers. They | Mailadresse im Header<br>Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834<br>Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
<br></blockquote></div><br>