[PPA Regression] Update caused a regression of lucid init scripts trying to place a pid file in /run; Regression causing logrotate to break in lucid

Bug #1131394 reported by Thomas Ward
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nginx
Fix Released
High
Thomas Ward

Bug Description

This is a regression of https://bugs.launchpad.net/nginx/+bug/1072641 caused by the PPA update (in which the fix for that bug may not have been included in the update). This regression only affects the Lucid packages in the stable PPA (https://launchpad.net/~nginx/+archive/stable/).

Thomas Ward (teward)
Changed in nginx:
importance: Undecided → High
description: updated
Revision history for this message
Thomas Ward (teward) wrote :

A fix has been uploaded to the PPA for Lucid to repair this issue. This fix will need verification, if someone can verify that this regression no longer exists with the fix that I uploaded, I will mark this Fix Confirmed.

Changed in nginx:
status: In Progress → Fix Committed
Revision history for this message
Rowan Wookey (rwky) wrote :

I've tested with 1.2.7-0ubuntu0ppa2~lucid and it's still broken.

The problem is the init scripts are looking for the pid in /var/run
Nginx is creating the pid in /run
On lucid /run isn't symlinked to /var/run

So the init scripts for lucid need to use /run or nginx needs to use /var/run for it's pid.

Note the logrotate script also checks /var/run so if you change the init scripts logrotate will need updating too.

Thomas Ward (teward)
Changed in nginx:
status: Fix Committed → In Progress
Revision history for this message
Thomas Ward (teward) wrote :

Oops i missed a line from my initial diff... my bad, fix committed, please test it once it builds (I forgot to change the nginx.conf file to update where it creates the pid)

Thomas Ward (teward)
Changed in nginx:
status: In Progress → Fix Committed
Revision history for this message
Rowan Wookey (rwky) wrote :

OK it's fixed!

Thomas Ward (teward)
Changed in nginx:
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.