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

Bug#684645: marked as done (liblockfile1: Order of fcntl and dotlock in maillock)



Your message dated Mon, 11 Feb 2013 11:32:51 +0000
with message-id <E1U4rcx-0007uO-5R@franck.debian.org>
and subject line Bug#684645: fixed in sendmail 8.14.4-4
has caused the Debian Bug report #684645,
regarding liblockfile1: Order of fcntl and dotlock in maillock
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.)


-- 
684645: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684645
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: liblockfile1
Version: 1.09-4
Severity: serious
Justification: Policy 11.6

Debian policy
http://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-mail-transport-agents
says:
  ... fcntl() locking must be combined with dot locking.
  To avoid deadlocks, a program should use fcntl() first
  and dot locking after this, or alternatively implement
  the two locking methods in a non blocking way. Using
  the functions maillock and mailunlock provided by the
  liblockfile* packages is the recommended way to
  realize this. 
Looking at an strace of /usr/lib/sm.bin/mail.local it seems to use
/usr/lib/i386-linux-gnu/liblockfile.so.1 and shows:
  link("/var/mail/.lk10336dp639", "/var/mail/psz.lock") = 0
  open("/var/mail/psz", O_WRONLY|O_APPEND) = 4
  fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_CUR, start=0, len=0}) = 0
which seems the wrong order.

Please see http://bugs.debian.org/648941 also.

Thanks, Paul

Paul Szabo   psz@maths.usyd.edu.au   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of Sydney    Australia


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.21-pk06.02-i386 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages liblockfile1 depends on:
ii  libc6              2.13-33
ii  liblockfile-bin    1.09-4
ii  multiarch-support  2.13-33

liblockfile1 recommends no packages.

liblockfile1 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: sendmail
Source-Version: 8.14.4-4

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

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

Debian distribution maintenance software
pp.
Jakub Safarik <jsafarik@ymail.com> (supplier of updated sendmail 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: SHA512

Format: 1.8
Date: Wed, 06 Feb 2013 17:33:44 +0100
Source: sendmail
Binary: sendmail-bin rmail sensible-mda libmilter1.0.1 libmilter1.0.1-dbg libmilter-dev sendmail-doc sendmail sendmail-base sendmail-cf
Architecture: source all amd64
Version: 8.14.4-4
Distribution: unstable
Urgency: low
Maintainer: Jakub Safarik <jsafarik@ymail.com>
Changed-By: Jakub Safarik <jsafarik@ymail.com>
Description: 
 libmilter-dev - Sendmail Mail Filter API (Milter)
 libmilter1.0.1 - Sendmail Mail Filter API (Milter)
 libmilter1.0.1-dbg - Sendmail Mail Filter API (Milter)
 rmail      - MTA->UUCP remote mail handler
 sendmail   - powerful, efficient, and scalable Mail Transport Agent
 sendmail-base - powerful, efficient, and scalable Mail Transport Agent
 sendmail-bin - powerful, efficient, and scalable Mail Transport Agent
 sendmail-cf - powerful, efficient, and scalable Mail Transport Agent
 sendmail-doc - powerful, efficient, and scalable Mail Transport Agent
 sensible-mda - Mail Delivery Agent wrapper
Closes: 684645 699117
Changes: 
 sendmail (8.14.4-4) unstable; urgency=low
 .
   * New maintainer. (Closes: #699117)
   * New patch: lock-mail-local (thanks to Tim Marston)
     - fix order of fcntl and dotlock in mail.local. (Closes: #684645)
Checksums-Sha1: 
 226feb504bd5b9ea66f96674ba271148a70c9d4e 2545 sendmail_8.14.4-4.dsc
 c7ccda1c561926aa0a9a7c526139dd14c2d1739f 379909 sendmail_8.14.4-4.diff.gz
 bf7b3239747c6c0b3f4d572bb862820d967972ec 836486 sendmail-doc_8.14.4-4_all.deb
 2bfc420156ef4d1fe11192bd9f35830bada0782f 215282 sendmail_8.14.4-4_all.deb
 5cc95183718cc8aebfa4464ed5ee420617c4b142 363706 sendmail-base_8.14.4-4_all.deb
 a4a155b309058f49b661ea5f94362dc9a2772a1c 300492 sendmail-cf_8.14.4-4_all.deb
 7d647f8c54702b9695530a5e2bb6c59a0f9cf483 981618 sendmail-bin_8.14.4-4_amd64.deb
 178c35ccd0c021a7846b4b685e0691f3b23684f6 249536 rmail_8.14.4-4_amd64.deb
 77aa4fbd24355135b29b5dd6213ac75b7254e513 218262 sensible-mda_8.14.4-4_amd64.deb
 38c83e78ac87439b7071bfbc3f8c25b1c01e8453 240970 libmilter1.0.1_8.14.4-4_amd64.deb
 d959fa6f8a7490336193dc930f3626badda83042 271530 libmilter1.0.1-dbg_8.14.4-4_amd64.deb
 fa97d5045a1a38d60f87d658a273a2ec98fc5923 333968 libmilter-dev_8.14.4-4_amd64.deb
Checksums-Sha256: 
 dd88f50dc83e37943170f24ca02602c6f50e140739797b5759d04aad7d217f4d 2545 sendmail_8.14.4-4.dsc
 6d12fd672e3e7c0694569a49b033ac84acb10c9754c49f85b0a2108f9a3f8895 379909 sendmail_8.14.4-4.diff.gz
 82b04ca0898586f12f9d444fc10f400755a6ccc9eebc2ad584a7731c1c748853 836486 sendmail-doc_8.14.4-4_all.deb
 403f17066b1fdef05a6ee9ee4e1f411f4a460849cdf78994524d958e709f18f7 215282 sendmail_8.14.4-4_all.deb
 cf0ea4dbf2fcada3df288c35e1ba9383b108b4e3e96e7b09abf794023460673b 363706 sendmail-base_8.14.4-4_all.deb
 5511ab18414de115ce09a744a6b552398d5bcf1dfa01ad51553d6f15509a4906 300492 sendmail-cf_8.14.4-4_all.deb
 14307238cb4f268dba488c820b8efc9d6325fdbd09a9bd7f127b4bd8133ae3dc 981618 sendmail-bin_8.14.4-4_amd64.deb
 ef76c391fa12bda1219e7f58890783f382ca3bae5cb3310560028c2551243f2a 249536 rmail_8.14.4-4_amd64.deb
 397d5f332ae761c584d639b2fa79f93d5452f194719822bb9982b63cec622687 218262 sensible-mda_8.14.4-4_amd64.deb
 583cc00fb2dc58c71e98818e3cba81afc95c393ebb04408e31211ba738a9a729 240970 libmilter1.0.1_8.14.4-4_amd64.deb
 d0c8edec5fe9a7df4400d73db03b96221cd2416911b4297561b58aa5376078a2 271530 libmilter1.0.1-dbg_8.14.4-4_amd64.deb
 2c7d4b189ed2cd00de3cc1b2d17a2d2218607b94a452530058fa4ef4761314dd 333968 libmilter-dev_8.14.4-4_amd64.deb
Files: 
 d60d8b747dd3e5e41aebb0db9605d6f3 2545 mail extra sendmail_8.14.4-4.dsc
 e8764a4f7f39a72dd123aef36b8128c4 379909 mail extra sendmail_8.14.4-4.diff.gz
 e317d8c8a3ed431ecbe8eff2814bb0bf 836486 doc extra sendmail-doc_8.14.4-4_all.deb
 0c49bf4de3ff344dfbc2816522679cb8 215282 mail extra sendmail_8.14.4-4_all.deb
 4178f99b9c600231db7e78531fae9064 363706 mail extra sendmail-base_8.14.4-4_all.deb
 8387332b4798f05cd29c671559fab53b 300492 mail extra sendmail-cf_8.14.4-4_all.deb
 9059ae8d4adf1e73d9376e6983399260 981618 mail extra sendmail-bin_8.14.4-4_amd64.deb
 40326357d4f10049104548044d956f24 249536 mail extra rmail_8.14.4-4_amd64.deb
 7f00b19bd3e402d738eea1fd945c71dc 218262 mail extra sensible-mda_8.14.4-4_amd64.deb
 22522188de8ec9a2be863ba43af37264 240970 libs extra libmilter1.0.1_8.14.4-4_amd64.deb
 48846540fee3f61d1bd805cae81f6b5b 271530 libs extra libmilter1.0.1-dbg_8.14.4-4_amd64.deb
 0b07fa1f858d8be90a9da75e1826f888 333968 libdevel extra libmilter-dev_8.14.4-4_amd64.deb

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

iQIcBAEBCgAGBQJRGNMeAAoJEE5xYO1KyO4d11cQALpLZKh2b4t/TILrLWHy0HFm
/OEcsqsDil+wItRCY1Qpt2FtzIgtMmwPM32Nli2gEiFnmQogSIIDw1CXj5FonvbD
bTH4eS1+GDfolp7IheIw/O4TWOGrXV2kX3EVn+jfEEklr82fL7CbtSBM8FR5+c3d
t/9eVo1JDQmVEy4sPykGWmMhiMZTcX8Ql1Xbt7w4nDBKdu9ikO0CmbyTyesU7NkC
vH0tW0Ey9NI/pIeI3XkYKpa0GKF7O317+aeQzr7GqmWKxSvwmzHW5/eeFWbvFM+Z
4LHGO/obBmBAIII9jRoCfaJ5bByaNaeRCiw5ujGKn7pTfMv2tlQArthrzGYmUxeo
4jmWT89RJSrCgMQO5uPFDYBw3n+qbHskGITC4CzlxjzMcLGMwjeuxFN9223jlPzn
alNzU5Vb4mQdBQ3kdCiAPPc2qOKU6RFKteWwfI3D1zDjoxZRFESfyVxVOi/rRxZS
prSD+yzgAJOB6W+s9obMdoUgF4lIATRZMsPS8uwF806+OTWP5ePJIyCOcGyKPr82
69xlgUlb/fY30WLVf3hIncOOEtrhamR9Jp6HqxVZwLmMm8HiRJGR3TkuS3KZVJyw
mqpeaPq/YqlzgNvJvClOxWMytK9bQvgx8dCCWE8yHYvYQwruejQy+B2Q9T5gilFI
Clf+uc21Pl0waXSUDKrL
=08gn
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: