Your message dated Sun, 04 Mar 2012 05:38:09 +0000
with message-id <[email protected]>
and subject line Bug#658492: fixed in nginx 1.1.16-1
has caused the Debian Bug report #658492,
regarding nginx update doesn't preserve perms on log files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
658492: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658492
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: nginx update doesn't preserve perms on log files
Package: nginx-common
Version: 1.1.14-1
Severity: wishlist
Tags: patch

*** Please type your report below this line ***

nginx-common.postinst is doing a chown & chmod on /var/log/nginx/* on each 
upgrade. Is it
really usefull ? I have others owners & perms on these logs and I wish that 
updates let them as
they are, like others packages do.

May I suggest this patch on nginx-common.postinst (chown & chmod only with 
mkdir) :

@@ -7,10 +7,10 @@
     # Ensure existance and right state of log files and directory
     if [ ! -d "$logdir" -a ! -L "$logdir" ]; then
       mkdir "$logdir"
+      chown www-data:adm $logdir
+      chmod 0750 $logdir
     fi
-    chown -R www-data:adm $logdir
-    chmod 0750 $logdir
-    find $logdir -type f -exec chmod 0640 {} +;
     ;;




--- End Message ---
--- Begin Message ---
Source: nginx
Source-Version: 1.1.16-1

We believe that the bug you reported is fixed in the latest version of
nginx, which is due to be installed in the Debian FTP archive:

nginx-common_1.1.16-1_all.deb
  to main/n/nginx/nginx-common_1.1.16-1_all.deb
nginx-doc_1.1.16-1_all.deb
  to main/n/nginx/nginx-doc_1.1.16-1_all.deb
nginx-extras-dbg_1.1.16-1_amd64.deb
  to main/n/nginx/nginx-extras-dbg_1.1.16-1_amd64.deb
nginx-extras_1.1.16-1_amd64.deb
  to main/n/nginx/nginx-extras_1.1.16-1_amd64.deb
nginx-full-dbg_1.1.16-1_amd64.deb
  to main/n/nginx/nginx-full-dbg_1.1.16-1_amd64.deb
nginx-full_1.1.16-1_amd64.deb
  to main/n/nginx/nginx-full_1.1.16-1_amd64.deb
nginx-light-dbg_1.1.16-1_amd64.deb
  to main/n/nginx/nginx-light-dbg_1.1.16-1_amd64.deb
nginx-light_1.1.16-1_amd64.deb
  to main/n/nginx/nginx-light_1.1.16-1_amd64.deb
nginx_1.1.16-1.debian.tar.gz
  to main/n/nginx/nginx_1.1.16-1.debian.tar.gz
nginx_1.1.16-1.dsc
  to main/n/nginx/nginx_1.1.16-1.dsc
nginx_1.1.16-1_all.deb
  to main/n/nginx/nginx_1.1.16-1_all.deb
nginx_1.1.16.orig.tar.gz
  to main/n/nginx/nginx_1.1.16.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kartik Mistry <[email protected]> (supplier of updated nginx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 04 Mar 2012 10:31:21 +0530
Source: nginx
Binary: nginx nginx-doc nginx-common nginx-full nginx-full-dbg nginx-light 
nginx-light-dbg nginx-extras nginx-extras-dbg
Architecture: source all amd64
Version: 1.1.16-1
Distribution: unstable
Urgency: low
Maintainer: Kartik Mistry <[email protected]>
Changed-By: Kartik Mistry <[email protected]>
Description: 
 nginx      - small, but very powerful and efficient web server and mail proxy
 nginx-common - small, but very powerful and efficient web server (common files)
 nginx-doc  - small, but very powerful and efficient web server (documentation)
 nginx-extras - nginx web server with full set of core modules and extras
 nginx-extras-dbg - Debugging symbols for nginx (extras)
 nginx-full - nginx web server with full set of core modules
 nginx-full-dbg - Debugging symbols for nginx (full)
 nginx-light - nginx web server with minimal set of core modules
 nginx-light-dbg - Debugging symbols for nginx (light)
Closes: 658492 660408
Changes: 
 nginx (1.1.16-1) unstable; urgency=low
 .
   [Cyril Lavier]
   * Modified the parallel build to avoid random FTBFS in Ubuntu.
   * New upstream release.
   * debian/modules:
     + Updated nginx-upload-progress to 0.8.3-2-g03cbf1f.
   * debian/control:
     + Added myself as uploader.
     + Added libpam0g-dev to Build-Depends.
     + Use wrap-and-sort to wrap control file fields.
 .
   [Michael Lustfield]
   * debian/nginx-common.postinst:
     + Changed postinst to not change permissions on all log files.
       (Closes: #658492)
   * debian/rules:
     + Added Auth PAM module at debian/modules/nginx-auth-pam. (Closes: #660408)
 .
   [Kartik Mistry]
   * debian/control:
     + Added conflict between -dbg packages as seen by Lintian.
     + Updated Standards-Version to 3.9.3
   * debian/copyright:
     + Updated for copyright-format 1.0
     + Updated upstream copyright year and details.
   * debian/rules:
     + Moved nginx-auth-pam module to nginx-full package.
Checksums-Sha1: 
 264b5ad80d5d5960d2e7c85089c3a1869cf24b06 1914 nginx_1.1.16-1.dsc
 4cfc44cf47284f2ea35b916a49972fbc75d084ac 712255 nginx_1.1.16.orig.tar.gz
 1db1ffdfcd74afd42ed20edea700929dc40fdecc 566173 nginx_1.1.16-1.debian.tar.gz
 187371f9f2905e719d386c80fc60cc0c4e188ca6 56778 nginx_1.1.16-1_all.deb
 514fd5d9d7fcc4e9600d1e3db83a1cefb2992fc1 70830 nginx-doc_1.1.16-1_all.deb
 bb4251adff24db9dddaf2570ffa8396927352f89 66572 nginx-common_1.1.16-1_all.deb
 6d5fb08f703fac6ef9688088c0d847244e904c13 425602 nginx-full_1.1.16-1_amd64.deb
 e22869f0efe2d65f212b1f1a71398cbff0dc855e 2745556 
nginx-full-dbg_1.1.16-1_amd64.deb
 cc798f402e2dbdb0e95e856319c1f45167e0bd6c 313684 nginx-light_1.1.16-1_amd64.deb
 06225bd92cc32d0a9facf8938679365a4a2b80a2 1945370 
nginx-light-dbg_1.1.16-1_amd64.deb
 d6b40fe0f6290da8161504ab95aeffe3baa28a2d 573014 nginx-extras_1.1.16-1_amd64.deb
 b94f9fd2fe7c19ec60b2f95edecb03e9d6bfe99c 4004592 
nginx-extras-dbg_1.1.16-1_amd64.deb
Checksums-Sha256: 
 4827e1c8000ef1efa60db4d4b94c4e1bc3d5252648411378cefe328a7ba744cc 1914 
nginx_1.1.16-1.dsc
 51dd3a8d7cd23507db8424a355b71b572e81a12f8569b8d9548fe26e9932f2b8 712255 
nginx_1.1.16.orig.tar.gz
 7fe5b4d72550c2fed61d5eba3e5fb5822dea6fe3d26ccbd2a907026e8d883b68 566173 
nginx_1.1.16-1.debian.tar.gz
 cec9622f4898ed79ac1a89030150cc71c1756092d982367f54652f177c384f14 56778 
nginx_1.1.16-1_all.deb
 c18dfdaf66beddc63ab8967e8f13059448dc1b0c4a193042f41c1619ab1e363f 70830 
nginx-doc_1.1.16-1_all.deb
 e0f5e1a360dc60ed00265661780056897cbc699bf4493d39868d822472d498fe 66572 
nginx-common_1.1.16-1_all.deb
 b9ac3ecfec25d566ce99e27734f0b4d299633e1a28a8673013480b902a035aba 425602 
nginx-full_1.1.16-1_amd64.deb
 efd8a2f5cac25c2340cf156d13c498ec20489b32dec2ee5fd7bacf0b2353e128 2745556 
nginx-full-dbg_1.1.16-1_amd64.deb
 fe68c6f297f211efcf7c480170a83934d55e9e04a62dd009a9a6b08189712caf 313684 
nginx-light_1.1.16-1_amd64.deb
 328d78a26e3666ec4db7076c8882ff4e7fbdab268dded0d7b3b5f7e3ad20893a 1945370 
nginx-light-dbg_1.1.16-1_amd64.deb
 3b57cde42a9c2fb05abedb8babfd3e81e8cd94a46ef607c6e65f0d05211199f4 573014 
nginx-extras_1.1.16-1_amd64.deb
 8d0f978efd6e554f4bc75800106b29f7505d9ce999fd17bbe18a316e39af8ab8 4004592 
nginx-extras-dbg_1.1.16-1_amd64.deb
Files: 
 f357aa163845b8df6ed188750c34191a 1914 httpd optional nginx_1.1.16-1.dsc
 64ab7793dd9365474907463883f5ef4f 712255 httpd optional nginx_1.1.16.orig.tar.gz
 8f7bf737a708d2e9c29a6dc4bf4f6a8b 566173 httpd optional 
nginx_1.1.16-1.debian.tar.gz
 09d7c2ccefba90c834f5b7d1e10bd56f 56778 httpd optional nginx_1.1.16-1_all.deb
 6640bc4718ecc3458134839f983f5c0a 70830 doc optional nginx-doc_1.1.16-1_all.deb
 070709bc025b0e9b8561d72b459c866b 66572 httpd optional 
nginx-common_1.1.16-1_all.deb
 7a67db3da5e5b8debc9535bd0bebabd4 425602 httpd optional 
nginx-full_1.1.16-1_amd64.deb
 4c5716ed74becb1d43142b58ba0a9c96 2745556 debug extra 
nginx-full-dbg_1.1.16-1_amd64.deb
 608ca5476e83ce766b1ac8ee80533073 313684 httpd extra 
nginx-light_1.1.16-1_amd64.deb
 34db70d57337f67c433f4c46ef589838 1945370 debug extra 
nginx-light-dbg_1.1.16-1_amd64.deb
 e21dd4286b6c35c3458f96576d6d2318 573014 httpd extra 
nginx-extras_1.1.16-1_amd64.deb
 cff7cedb46dbd3a1a3f1d2cb2c9d8ca9 4004592 debug extra 
nginx-extras-dbg_1.1.16-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk9S+cAACgkQoRg/jtECjI3m5ACfbD6l6rOLvRk/HJigzinZlA9A
4PsAoIVtapjm34s4KsvYCbOBlUTA//zG
=vhb7
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to