From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1736: marked as done ([Hendrik Tews] movemail loops if hard links are not supported) Date: Thu, 01 Jan 2009 09:40:04 +0000 Message-ID: References: <874p0jl66v.fsf@cyd.mit.edu> <87d4fa5b3b.fsf@turtle.gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1230802804-20015-0" X-Trace: ger.gmane.org 1230803036 28545 80.91.229.12 (1 Jan 2009 09:43:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Jan 2009 09:43:56 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 01 10:45:05 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LIK6v-00040v-Eh for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jan 2009 10:45:01 +0100 Original-Received: from localhost ([127.0.0.1]:46965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIK5g-0001gf-HD for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jan 2009 04:43:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LIK5P-0001d8-1N for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2009 04:43:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LIK5N-0001cn-DU for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2009 04:43:25 -0500 Original-Received: from [199.232.76.173] (port=35927 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIK5N-0001ce-7Z for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2009 04:43:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35722) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LIK5M-00024g-Ia for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2009 04:43:25 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n019hMVu021181; Thu, 1 Jan 2009 01:43:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n019e408020137; Thu, 1 Jan 2009 01:40:04 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1736 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23650 Archived-At: This is a multi-part message in MIME format... ------------=_1230802804-20015-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 01 Jan 2009 04:35:36 -0500 with message-id <874p0jl66v.fsf@cyd.mit.edu> and subject line Re: [Hendrik Tews] movemail loops if hard links are not su= pported has caused the Emacs bug report #1736, regarding [Hendrik Tews] movemail loops if hard links are not supported 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@emacsbugs.donarmstrong.com immediately.) --=20 1736: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1736 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1230802804-20015-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 30 Dec 2008 08:26:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.9 required=4.0 tests=FOURLA,HAS_PACKAGE autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBU8QTHl011045 for ; Tue, 30 Dec 2008 00:26:30 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHZvo-0006vS-OT for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:26:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHZvm-0006vG-BL for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:26:27 -0500 Received: from [199.232.76.173] (port=48460 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHZvm-0006vD-6g for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:26:26 -0500 Received: from mail.gmx.net ([213.165.64.20]:44768) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LHZvl-0006Gu-PY for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:26:26 -0500 Received: (qmail invoked by alias); 30 Dec 2008 08:19:41 -0000 Received: from p54866120.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.97.32] by mail.gmx.net (mp006) with SMTP; 30 Dec 2008 09:19:41 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX18D4dd/4E8DQYWUid8B3ZL5sFMO16AI3Mc9U/z86z TB1PGrYDAaiJwl Received: by turtle.gmx.de (Postfix, from userid 1000) id ADE8B354B0; Tue, 30 Dec 2008 09:19:36 +0100 (CET) From: Sven Joachim To: bug-gnu-emacs@gnu.org Subject: [Hendrik Tews] movemail loops if hard links are not supported Date: Tue, 30 Dec 2008 09:19:36 +0100 Message-ID: <87d4fa5b3b.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.78 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. --=-=-= On filesystems that do not support hard links, movemail will enter an endless loop. It would probably be more prudent to error if link(2) fails with EPERM. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Subject: Bug#384993: emacs21-bin-common: movemail loops if hard links are not supported Reply-To: Hendrik Tews , 384993@bugs.debian.org Resent-From: Hendrik Tews Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Hendrik Tews , Rob Browning Resent-Date: Mon, 28 Aug 2006 11:33:09 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 384993 X-Debian-PR-Package: emacs21-bin-common X-Debian-PR-Keywords: X-Debian-PR-Source: emacs21 Received: via spool by submit@bugs.debian.org id=B.115676387513108 (code B ref -1); Mon, 28 Aug 2006 11:33:09 +0000 Received: (at submit) by bugs.debian.org; 28 Aug 2006 11:17:55 +0000 Received: from pandora.cs.kun.nl ([131.174.33.4] ident=root) by spohr.debian.org with esmtp (Exim 4.50) id 1GHf7q-0003PE-Ix for submit@bugs.debian.org; Mon, 28 Aug 2006 04:17:54 -0700 Received: from tandem.cs.ru.nl [131.174.142.18] (helo=tandem.cs.ru.nl) by pandora.cs.kun.nl (8.13.7/5.9) with ESMTP id k7SBHqTh020402 for ; Mon, 28 Aug 2006 13:17:52 +0200 (MEST) Received: from tews by tandem.cs.ru.nl with local (Exim 4.62) (envelope-from ) id 1GHf8I-0001KX-PR for submit@bugs.debian.org; Mon, 28 Aug 2006 13:18:22 +0200 To: Debian Bug Tracking System Message-Id: From: Hendrik Tews Date: Mon, 28 Aug 2006 13:18:22 +0200 Delivered-To: submit@bugs.debian.org MIME-Version: 1.0 Package: emacs21-bin-common Version: 21.4a-3 Severity: normal movemail does not check the error code after creating the hard link in line 344: tem = link (tempname, lockname); As a result it loops if the link fails with -1 EPERM (Operation not permitted). This happens for instance on smbfs mounted directories, because smbfs 3.0.22-1 does not support hard links any more (it used to). -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-k7-smp Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages emacs21-bin-common depends on: ii emacs21-common 21.4a-3 The GNU Emacs editor's shared, arc ii libc6 2.3.6-15 GNU C Library: Shared libraries emacs21-bin-common recommends no packages. -- no debconf information Bye, Hendrik --=-=-=-- ------------=_1230802804-20015-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1736-done) by emacsbugs.donarmstrong.com; 1 Jan 2009 09:35:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n019ZX6M019858 for <1736-done@emacsbugs.donarmstrong.com>; Thu, 1 Jan 2009 01:35:34 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id B29FE57E211; Thu, 1 Jan 2009 04:35:36 -0500 (EST) From: Chong Yidong To: Sven Joachim Cc: 1736-done@emacsbugs.donarmstrong.com Subject: Re: [Hendrik Tews] movemail loops if hard links are not supported Date: Thu, 01 Jan 2009 04:35:36 -0500 Message-ID: <874p0jl66v.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > On filesystems that do not support hard links, movemail will enter an > endless loop. It would probably be more prudent to error if link(2) > fails with EPERM. I've checked in the fix you suggested. Thanks. ------------=_1230802804-20015-0--