From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs Subject: bug#1736: [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> Reply-To: Sven Joachim , 1736@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1230626639 15602 80.91.229.12 (30 Dec 2008 08:43:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2008 08:43:59 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 30 09:45:07 2008 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 1LHaDo-0001fm-L4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 09:45:05 +0100 Original-Received: from localhost ([127.0.0.1]:40000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHaCZ-0002Iu-VT for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 03:43:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHaCD-0002Bf-KR for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:43:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHaCC-0002Ap-O9 for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:43:25 -0500 Original-Received: from [199.232.76.173] (port=52779 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHaCC-0002Ak-Kg for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:43:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51334) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LHaCC-00089s-6F for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:43:24 -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 mBU8hMMn014762; Tue, 30 Dec 2008 00:43:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBU8Z3LE012350; Tue, 30 Dec 2008 00:35:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sven Joachim Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 30 Dec 2008 08:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1736 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123062559211053 (code B ref -1); Tue, 30 Dec 2008 08:35:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 Dec 2008 08:26:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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 Original-Received: (qmail invoked by alias); 30 Dec 2008 08:19:41 -0000 Original-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 Original-Received: by turtle.gmx.de (Postfix, from userid 1000) id ADE8B354B0; Tue, 30 Dec 2008 09:19:36 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.78 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 30 Dec 2008 03:43:25 -0500 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:23565 Archived-At: --=-=-= 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 --=-=-=--