ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] BUG: uw-imap locking does not work on reiserfs
Date: Tue, 15 Oct 2002 21:20:34 +0400 (MSD)
Message-ID: <Pine.LNX.4.44L.0210152116290.10248-100000@arrakis.zephyrous> (raw)
In-Reply-To: <20021015161527.GB5439@basalt.office.altlinux.ru>

	Hello!

On Tue, 15 Oct 2002, Dmitry V. Levin wrote:

> > > Если в Debian используется только flock - то это нарушение
> какой-то
> > > Debian'овской policy, так что проверьте.
> >
> > + привилегированный dot-locker
> >
> > Вот вывод strace -fF -e trace=flock,fcntl,fcntl64,open,dup2
> > /usr/sbin/ipop3d при просмотре INBOX для трёх случаев (смотреть
> надо в
> > конец):
> >
> > Debian, на ext2
>
> Ваня, у тебя достаточно свежий Debian?

Это тот, что на shamrock. Пакеты с UW imap последние: 4:2001adebian-6.

> http://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-
> mail-transport-agents :
>
> All Debian MUAs, MTAs, MDAs and other mailbox accessing programs
> (such as
> IMAP daemons) must lock the mailbox in an NFS-safe way. This means
> that
> 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.

-- 
С наилучшими пожеланиями,
Иван Захарьящев, Москва



      reply	other threads:[~2002-10-15 17:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15 15:10 ` Ivan Zakharyaschev
2002-10-15 16:15   ` Dmitry V. Levin
2002-10-15 17:20     ` Ivan Zakharyaschev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44L.0210152116290.10248-100000@arrakis.zephyrous \
    --to=imz@altlinux.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git