nginx.pid location changed for Ubuntu releases 11.04 and up

Bug #1050516 reported by Rahul
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nginx
Fix Released
Wishlist
Michael Lustfield
nginx (Ubuntu)
Fix Released
Wishlist
Michael Lustfield

Bug Description

In Ubuntu 11.04, /var/run is migrated to /run

See - http://askubuntu.com/questions/57297/why-has-var-run-been-migrated-to-run

So... in /etc/nginx/nginx.conf

Following line:

pid /var/run/nginx.pid;

must be changed to:

pid /run/nginx.pid;

Tags: performance
Revision history for this message
Thomas Ward (teward) wrote :

Added:

affects: nginx (Ubuntu)

Since this refers to Ubuntu, any upstream changes to the Nginx project will impact either directly or indirectly the Ubuntu packages.

Revision history for this message
Rahul (rahul286) wrote :

Actually /var/run is symlinked to /run

Just noticed...

ls -l /var/run
lrwxrwxrwx 1 root root 4 Sep 12 14:27 /var/run -> /run

I am not sure if Ubuntu will maintain this symlink forever.

Revision history for this message
Michael Lustfield (michaellustfield) wrote :

This is an extremely old transitional thing. I've been keeping my eye on it. The legacy /var/run will be maintained for an extremely long time. When the time comes, I'll make the change in Debian first. Right now, I'd prefer hold off. It's for legacy reasons that I want to hold off too. :P

There are still Ubuntu releases that are using /var/run. As you pointed out - 11.04 and up are where this change took place. I want to hold off first because of backports, and secondly because some older systems use the newer PPA.

In short... When all currently maintained Ubuntu or Debian releases have /run available, I will make this switch.

Also, this change will not take placed for released versions of Ubuntu. It would have to go through the entire SRU process for a change that doesn't really need to take place.

Thomas: Could you set this to Triaged and Wishlist in nginx (Ubuntu)? Please and thanks!

Changed in nginx:
status: New → Triaged
importance: Undecided → Wishlist
assignee: nobody → Michael Lustfield (michaellustfield)
Changed in nginx (Ubuntu):
assignee: nobody → Michael Lustfield (michaellustfield)
summary: - nginx.pid location should change for Ubuntu 11.04 & above
+ nginx.pid location changed for Ubuntu releases 11.04 and up
Revision history for this message
Thomas Ward (teward) wrote :

Triaged / Wishlist set at the request of Michael Lustfield.

Changed in nginx (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Changed in nginx (Ubuntu):
status: Triaged → Fix Committed
Changed in nginx:
status: Triaged → Fix Committed
Changed in nginx:
status: Fix Committed → Fix Released
Revision history for this message
Michael Lustfield (michaellustfield) wrote :

This change has been been in Debian. It will land in 13.04 and up. I have no intentions of trying to get this into anything prior as the transitional symlink exists and no benefit comes from it. I can't imagine how hard that would be to push through an SRU...

Changed in nginx (Ubuntu):
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.