upstart file bridge: "unable to write pid file"

Bug #1163103 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart
Fix Released
Undecided
James Hunt
upstart (Ubuntu)
Fix Released
Medium
James Hunt

Bug Description

I discovered the following in ~/.cache/upstart/upstart-file-bridge.log:

Job got added /com/ubuntu/Upstart/jobs/unicast_2dlocal_2davahi
upstart-file-bridge: Unable to write pid file: Permission denied

The contents of my job file located in /usr/share/upstart/sessions/ follow:

description "Notification regarding avahi being disabled to due local domain"
author "Brian Murray <email address hidden>"

start on (
    file FILE=/var/run/avahi-daemon/disabled-for-unicast-local EVENT=created
)

script
echo $(date)
echo "avahi disabled"
sleep 5
/usr/lib/update-notifier/local-avahi-notification
end script

Revision history for this message
Brian Murray (brian-murray) wrote :

 $ apt-cache policy upstart
upstart:
  Installed: 1.8-0ubuntu1

Revision history for this message
James Hunt (jamesodhunt) wrote :

Hi Brian,

Thanks for reporting. I actually fixed this issue in upstream last week:

https://code.launchpad.net/~jamesodhunt/upstart/file-bridge-pidfile+syslog/+merge/156024

Changed in upstart:
assignee: nobody → James Hunt (jamesodhunt)
Changed in upstart (Ubuntu):
assignee: nobody → James Hunt (jamesodhunt)
Changed in upstart:
status: New → Fix Committed
Changed in upstart (Ubuntu):
status: New → Triaged
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Just a nitpick, why use /var/run/* instead of /run/* ?

James Hunt (jamesodhunt)
summary: - unable to use upstart file bridge
+ upstart file bridge: "unable to write pid file"
Changed in upstart (Ubuntu):
importance: Undecided → Medium
James Hunt (jamesodhunt)
Changed in upstart (Ubuntu):
status: Triaged → Fix Released
Changed in upstart:
status: Fix Committed → Fix Released
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.