This has been fixed in the latest commit in Debian.
Index: nginx-common.preinst
===================================================================
--- nginx-common.preinst (revision 19547)
+++ nginx-common.preinst (working copy)
@@ -11,9 +11,17 @@
rm -f /etc/logrotate.d/nginx-common
;;
- upgrade|abort-upgrade)
+ upgrade)
+ # If this is an upgrade, then they might have the UFW profile in the wrong
spot.
+ if [ -d /etc/ufw/applications.d/nginx ]; then
+ rm -f /etc/ufw/applications.d/nginx/ufw.profile
+ rmdir /etc/ufw/applications.d/nginx
+ fi
;;
+ abort-upgrade)
+ ;;
+
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
Index: changelog
===================================================================
--- changelog (revision 19547)
+++ changelog (working copy)
@@ -1,3 +1,13 @@
+nginx (1.1.8-1ubuntu1) precise; urgency=low
+
+ * debian/nginx-common.install:
+ + Changed ufw profile installation (LP: #825349)
+ - debian/ufw.profile -> debian/ufw/nginx
+ * debian/nginx-common.preinst:
+ + Cleanup of moved nginx profile.
+
+ -- Michael Lustfield <[email protected]> Tue, 15 Nov 2011 01:51:17 +0000
+
nginx (1.1.8-1) UNRELEASED; urgency=low
[Cyril Lavier]
Index: ufw.profile
===================================================================
--- ufw.profile (revision 19547)
+++ ufw.profile (working copy)
@@ -1,14 +0,0 @@
-[Nginx HTTP]
-title=Web Server (Nginx, HTTP)
-description=Small, but very powerful and efficient web server
-ports=80/tcp
-
-[Nginx HTTPS]
-title=Web Server (Nginx, HTTPS)
-description=Small, but very powerful and efficient web server
-ports=443/tcp
-
-[Nginx Full]
-title=Web Server (Nginx, HTTP + HTTPS)
-description=Small, but very powerful and efficient web server
-ports=80,443/tcp
Index: nginx-common.install
===================================================================
--- nginx-common.install (revision 19547)
+++ nginx-common.install (working copy)
@@ -1,3 +1,3 @@
debian/conf/* etc/nginx
-debian/ufw.profile etc/ufw/applications.d/nginx
+debian/ufw/nginx etc/ufw/applications.d
html/* usr/share/nginx/www/
Sending debian/changelog
Sending debian/nginx-common.install
Sending debian/nginx-common.preinst
Adding debian/ufw
Adding debian/ufw/nginx
Deleting debian/ufw.profile
If I have time, I'll see about creating a debdiff for the ubuntu guys to check
out. Otherwise, you can feel free to do it. :)
** Changed in: nginx (Ubuntu)
Status: New => Confirmed
** Changed in: nginx (Ubuntu)
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/825349
Title:
ufw rules not available
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/825349/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs