upstart-file-bridge does not notice maildir delivery

Bug #1211472 reported by Tv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart
New
Undecided
Unassigned

Bug Description

Hi. It seems that upstart "start on FILE=/path/to/maildir/new/" does not detect email delivery to that maildir. I've also tried globbing with .../new/*

Maildir delivery is done by creating a file in tmp/, link(2)ing it to new/, and then removing the temp file. The delivery agent in this case is postfix, but the same behavior can be triggered with touch tmp/foo && ln tmp/foo new/foo

inotifywait reports a CREATE event on new/ when this is done.

strace'ing upstart-file-bridge shows that it sees an event, and stats the /path/to/maildir/new/unique.file.postfix path, but does not send an event to upstart.

# dpkg -l upstart
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-==================-==================-===========================================================
ii upstart 1.8-0ubuntu1 amd64 event-based init daemon
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring

Tv (tv42)
description: updated
Revision history for this message
James Hunt (jamesodhunt) wrote :

Hi Tv - thanks for reporting. I believe this is the same issue as reported on bug 1221466.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.