[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#525137: marked as done (apache2.2-common: "could not get next bucket brigade" while a client is doing a PUT results in data loss)



Your message dated Sat, 21 Nov 2009 10:18:20 +0000
with message-id <E1NBn2q-0008Om-36@ries.debian.org>
and subject line Bug#525137: fixed in apache2 2.2.14-3
has caused the Debian Bug report #525137,
regarding apache2.2-common: "could not get next bucket brigade" while a client is doing a PUT results in data loss
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 owner@bugs.debian.org
immediately.)


-- 
525137: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525137
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2.2-common
Version: 2.2.9-10+lenny2
Severity: grave
Justification: causes data loss

I've got a bunch of calendar clients configured to download and upload
icalendar files to a web location backed by mod_dav.

Occasionally there will be an error when one client is uploading the calendar
file, which cases the file to be deleted:

 10.0.0.1 alice [22/Apr/2009:13:42:12 +0100] "GET /cal/bob HTTP/1.1" 200 20480 text/calendar "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.21) Gecko/20090302 Lightning/0.9 Thunderbird/2.0.0.21"
 10.0.0.1 alice [22/Apr/2009:13:39:51 +0100] "PUT /cal/bob HTTP/1.1" 500 390 text/html "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.21) Gecko/20090302 Lightning/0.9 Thunderbird/2.0.0.21"
 10.0.0.1 bob [22/Apr/2009:13:44:54 +0100] "GET /cal/bob HTTP/1.1" 404 289 text/html "-" "Evolution/2.24.5"

Unfortunately, the only message that appears in the error log file is the
mysterious message:

 [Wed Apr 22 13:44:53 2009] [error] [client 10.0.0.1] Could not get next bucket brigade  [500, #0]

IMO, mod_dav should replace files not by truncating them, but by writing out a
temporary file and then renaming it over the original file. That way, files
can be replaced atomically, and so the failure to write the file does not
result in the loss of the data.

Unfortunately I have no way to reproduce this problem on demand. From my
recollection, it seems to happen about once every two months. I am erring
on the side of cauting WRT the bug severity, please feel free to downgrade
if you disagree.

-- Package-specific info:
Loaded Modules:
 core_module (static)
 log_config_module (static)
 logio_module (static)
 mpm_worker_module (static)
 http_module (static)
 so_module (static)
 actions_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgid_module (shared)
 dav_module (shared)
 dav_fs_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 expires_module (shared)
 fcgid_module (shared)
 headers_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 perl_module (shared)
 python_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 ssl_module (shared)
 status_module (shared)
 suexec_module (shared)
 userdir_module (shared)
Syntax OK



--- End Message ---
--- Begin Message ---
Source: apache2
Source-Version: 2.2.14-3

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

apache2-dbg_2.2.14-3_i386.deb
  to main/a/apache2/apache2-dbg_2.2.14-3_i386.deb
apache2-doc_2.2.14-3_all.deb
  to main/a/apache2/apache2-doc_2.2.14-3_all.deb
apache2-mpm-event_2.2.14-3_i386.deb
  to main/a/apache2/apache2-mpm-event_2.2.14-3_i386.deb
apache2-mpm-itk_2.2.14-3_i386.deb
  to main/a/apache2/apache2-mpm-itk_2.2.14-3_i386.deb
apache2-mpm-prefork_2.2.14-3_i386.deb
  to main/a/apache2/apache2-mpm-prefork_2.2.14-3_i386.deb
apache2-mpm-worker_2.2.14-3_i386.deb
  to main/a/apache2/apache2-mpm-worker_2.2.14-3_i386.deb
apache2-prefork-dev_2.2.14-3_i386.deb
  to main/a/apache2/apache2-prefork-dev_2.2.14-3_i386.deb
apache2-suexec-custom_2.2.14-3_i386.deb
  to main/a/apache2/apache2-suexec-custom_2.2.14-3_i386.deb
apache2-suexec_2.2.14-3_i386.deb
  to main/a/apache2/apache2-suexec_2.2.14-3_i386.deb
apache2-threaded-dev_2.2.14-3_i386.deb
  to main/a/apache2/apache2-threaded-dev_2.2.14-3_i386.deb
apache2-utils_2.2.14-3_i386.deb
  to main/a/apache2/apache2-utils_2.2.14-3_i386.deb
apache2.2-bin_2.2.14-3_i386.deb
  to main/a/apache2/apache2.2-bin_2.2.14-3_i386.deb
apache2.2-common_2.2.14-3_i386.deb
  to main/a/apache2/apache2.2-common_2.2.14-3_i386.deb
apache2_2.2.14-3.diff.gz
  to main/a/apache2/apache2_2.2.14-3.diff.gz
apache2_2.2.14-3.dsc
  to main/a/apache2/apache2_2.2.14-3.dsc
apache2_2.2.14-3_i386.deb
  to main/a/apache2/apache2_2.2.14-3_i386.deb



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 525137@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefan Fritsch <sf@debian.org> (supplier of updated apache2 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Sat, 21 Nov 2009 10:20:54 +0100
Source: apache2
Binary: apache2.2-common apache2.2-bin apache2-mpm-worker apache2-mpm-prefork apache2-mpm-event apache2-mpm-itk apache2-utils apache2-suexec apache2-suexec-custom apache2 apache2-doc apache2-prefork-dev apache2-threaded-dev apache2-dbg
Architecture: source all i386
Version: 2.2.14-3
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Stefan Fritsch <sf@debian.org>
Description: 
 apache2    - Apache HTTP Server metapackage
 apache2-dbg - Apache debugging symbols
 apache2-doc - Apache HTTP Server documentation
 apache2-mpm-event - Apache HTTP Server - event driven model
 apache2-mpm-itk - multiuser MPM for Apache 2.2
 apache2-mpm-prefork - Apache HTTP Server - traditional non-threaded model
 apache2-mpm-worker - Apache HTTP Server - high speed threaded model
 apache2-prefork-dev - Apache development headers - non-threaded MPM
 apache2-suexec - Standard suexec program for Apache 2 mod_suexec
 apache2-suexec-custom - Configurable suexec program for Apache 2 mod_suexec
 apache2-threaded-dev - Apache development headers - threaded MPM
 apache2-utils - utility programs for webservers
 apache2.2-bin - Apache HTTP Server common binary files
 apache2.2-common - Apache HTTP Server common files
Closes: 273476 525137 555687 556932
Changes: 
 apache2 (2.2.14-3) unstable; urgency=low
 .
   * Backport various mod_dav/mod_dav_fs fixes from upstream trunk svn. This
     includes:
     - Make PUT replace files atomically (closes: #525137).
     - Make MOVE not delete the destination if the source file disappeared in
       the meantime (closes: #273476).
     NOTE: The format of the DavLockDB has changed. The default DavLockDB will
     be deleted on upgrade. Non-default DavLockDBs should be deleted manually.
   * Fix output of "/etc/init.d/apache2 status" (closes: #555687).
   * Update the comment about SNI in ports.conf (closes: #556932).
   * Set redirect-carefully for Konqueror/4.
Checksums-Sha1: 
 5a6ac06928b262f014d3db3836201cc771a3d9f1 1813 apache2_2.2.14-3.dsc
 b24019c9531b42c61281600877747db1e1798adb 189805 apache2_2.2.14-3.diff.gz
 1a5e505021698865d5fe0023354e2c9819c04207 2281800 apache2-doc_2.2.14-3_all.deb
 502d4d67dbe6730ba6b763af61b0c5698d418b62 292938 apache2.2-common_2.2.14-3_i386.deb
 f9fbc4fdd00531711159af2a6d83a29236f2408a 1292106 apache2.2-bin_2.2.14-3_i386.deb
 953ab065537a94cf472b9d12ad1a5f82c9f39583 2266 apache2-mpm-worker_2.2.14-3_i386.deb
 b24ba7889be3d966b8e4d0658c769d6dffb72123 2324 apache2-mpm-prefork_2.2.14-3_i386.deb
 4f819a3d2c6f4e29097155fd349cbf10b2c3c311 2298 apache2-mpm-event_2.2.14-3_i386.deb
 104f25d481e160ce2e7a84416522711062144579 2326 apache2-mpm-itk_2.2.14-3_i386.deb
 56e30cfd45ffedbfde028aad77020b7a3d4355ad 153230 apache2-utils_2.2.14-3_i386.deb
 8f1e561dc7e90955a6285453e6c50f970cee6d67 91790 apache2-suexec_2.2.14-3_i386.deb
 c904aac187584bc920bcc0b7ad27893c0061c4eb 93482 apache2-suexec-custom_2.2.14-3_i386.deb
 e4e1ded67a27d77a80ded706be7185a36b91477f 1380 apache2_2.2.14-3_i386.deb
 6090b7288cb2a2c410ef319ef7749404f7323428 138056 apache2-prefork-dev_2.2.14-3_i386.deb
 479f22ec155635190001e22cfdaff2ea5e2d0203 139254 apache2-threaded-dev_2.2.14-3_i386.deb
 db1d50d360442d6a8b8f34d2690a4c48e048f343 2674726 apache2-dbg_2.2.14-3_i386.deb
Checksums-Sha256: 
 48ed85e44616ebffb4fd8925507044c15c0674c77e35402a0a2d6bbf7c668d19 1813 apache2_2.2.14-3.dsc
 7cb0045ca878b1085aba7af41a60a1cb4086b473707a55c55a6a9f6f3dc6fcc3 189805 apache2_2.2.14-3.diff.gz
 983ed4ba6f43dd20bc24619714d6037c8b7c0696282f58493f268f196ddcd606 2281800 apache2-doc_2.2.14-3_all.deb
 5f01a4c930d0622a236c1615b88efddf58d000d14041fd9564fc292cee2ad7c2 292938 apache2.2-common_2.2.14-3_i386.deb
 3726696ef573953ff3b694e6f0bd57cc08f17d2b967c15b647389f50b78232db 1292106 apache2.2-bin_2.2.14-3_i386.deb
 9b7152211000f187a33b066b6c89c199f94af8abcaa29ddf3822e976d523cd11 2266 apache2-mpm-worker_2.2.14-3_i386.deb
 ee8c8a3527b9096c58c9e8f85da8a7375fbad1167d726723613c327ef10cf755 2324 apache2-mpm-prefork_2.2.14-3_i386.deb
 af9181f835b20de4f35aab75b7de4939716414fc485a502a97f057fbcc5db55c 2298 apache2-mpm-event_2.2.14-3_i386.deb
 ccd07e6cdcbbedce55444facae1a49f9f56a28ac87b64205ccf47d2554167d21 2326 apache2-mpm-itk_2.2.14-3_i386.deb
 1c0027da8cc1faffeb8ead5da8ffcdde1875fa55973cb72affd0784e930c3067 153230 apache2-utils_2.2.14-3_i386.deb
 c61b10e319dc254b838660546ca68cf0ff584e024ab9440cfb37a717f9d75763 91790 apache2-suexec_2.2.14-3_i386.deb
 5272a106614e37837950f0a853ae2617a0cd61e0cc72f2a9ed65a560c5d43ec4 93482 apache2-suexec-custom_2.2.14-3_i386.deb
 bb376cb6bb2e29b16cd4a6381cccfad3a64a49589fc04009da9f80db808b4713 1380 apache2_2.2.14-3_i386.deb
 1af60dc9ed796e52739b4c34a841af9df6c6f3d0700bd5f173b2f3c285a4c5ce 138056 apache2-prefork-dev_2.2.14-3_i386.deb
 6936606568fc456412596a227c95d1394efe63acf91ae09149340405e806ae0e 139254 apache2-threaded-dev_2.2.14-3_i386.deb
 4341c8a0a11520e571c6f6ebf8ea9309006bda3a96bb5dab52d6241d55ef6322 2674726 apache2-dbg_2.2.14-3_i386.deb
Files: 
 7db23b60b302c8e2db5e5a56be24b3c7 1813 httpd optional apache2_2.2.14-3.dsc
 8c25bc43460cbe86d29c657abdd24e09 189805 httpd optional apache2_2.2.14-3.diff.gz
 b99d65b27fd50c36d2697c676291bddf 2281800 doc optional apache2-doc_2.2.14-3_all.deb
 bc39824eb275ba6e7e00c9c68ec114e6 292938 httpd optional apache2.2-common_2.2.14-3_i386.deb
 862a7a48596440b497addaa0bbb83361 1292106 httpd optional apache2.2-bin_2.2.14-3_i386.deb
 98c7bd92fb6c160eb72d93bb6fc8e53c 2266 httpd optional apache2-mpm-worker_2.2.14-3_i386.deb
 dc7f4d45fc6eb29c65601d96ed1d3ea2 2324 httpd optional apache2-mpm-prefork_2.2.14-3_i386.deb
 1599ceeab5e3958d0033a11686d69be1 2298 httpd optional apache2-mpm-event_2.2.14-3_i386.deb
 f838d777cd7f4ede599aedd9121d6de8 2326 httpd extra apache2-mpm-itk_2.2.14-3_i386.deb
 2bfa66c318f33376a318d22d5e9547d9 153230 httpd optional apache2-utils_2.2.14-3_i386.deb
 cd34e68fcad903b192c429c145a52395 91790 httpd optional apache2-suexec_2.2.14-3_i386.deb
 7c4fd204274d8866d6abfd770d630f06 93482 httpd extra apache2-suexec-custom_2.2.14-3_i386.deb
 e3410ded83d0a0295cbca18d6d0c4890 1380 httpd optional apache2_2.2.14-3_i386.deb
 4ce1f2a1514055ebe16b3434053c59ed 138056 httpd extra apache2-prefork-dev_2.2.14-3_i386.deb
 4b7e9ac2b07e6b1935e5c38d4070ef68 139254 httpd extra apache2-threaded-dev_2.2.14-3_i386.deb
 855b5a2f6866705fdfab251bcb7c27e9 2674726 debug extra apache2-dbg_2.2.14-3_i386.deb

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

iD8DBQFLB7LQbxelr8HyTqQRAr4VAKCkfvy+I9X3wLF5WI/6DcsIkFVa3QCcC44o
kZsAEChyb8r2MHXRURkPCt0=
=YWub
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: