diff -Nru update-notifier-0.154.1/debian/changelog update-notifier-0.154.1ubuntu1/debian/changelog --- update-notifier-0.154.1/debian/changelog 2014-04-09 19:36:13.000000000 +0000 +++ update-notifier-0.154.1ubuntu1/debian/changelog 2014-10-06 23:43:27.000000000 +0000 @@ -1,3 +1,11 @@ +update-notifier (0.154.1ubuntu1) trusty-proposed; urgency=medium + + * debian/update-notifier-crash.conf: avoid race condition where the crash + report may not yet be writable when the inotify create event happens. + (LP: #1378134) + + -- Brian Murray Mon, 06 Oct 2014 16:42:19 -0700 + update-notifier (0.154.1) trusty; urgency=low * data/package-data-downloader: diff -Nru update-notifier-0.154.1/debian/update-notifier-crash.conf update-notifier-0.154.1ubuntu1/debian/update-notifier-crash.conf --- update-notifier-0.154.1/debian/update-notifier-crash.conf 2014-04-09 18:51:22.000000000 +0000 +++ update-notifier-0.154.1ubuntu1/debian/update-notifier-crash.conf 2014-10-06 23:41:57.000000000 +0000 @@ -2,7 +2,8 @@ author "Brian Murray " start on ( - file FILE=/var/crash/*.crash EVENT=create + file FILE=/var/crash/*.crash EVENT=create or + file FILE=/var/crash/*.crash EVENT=modify ) env MATCH=NULL @@ -15,7 +16,7 @@ echo "$DATE autoreporting enabled exiting" exit 0 fi -if [ -w $MATCH ]; then +if [ -O $MATCH ]; then /usr/share/apport/apport-gtk else SYSTEMCRASH=0