From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#72641: 31.0.50; "Unlocking file: Invalid argument" when deleting lock file on network file system Date: Sat, 17 Aug 2024 15:38:06 -0700 Organization: UCLA Computer Science Department Message-ID: References: <867cfujge6.fsf@gnu.org> <86fruhiwt0.fsf@gnu.org> <868r09ivqn.fsf@gnu.org> <867cftiprt.fsf@gnu.org> <86msoph6wt.fsf@gnu.org> <2+lcnmedng9le3pwfn0gc79m@mina86.com> <86a5hd7o4t.fsf@gnu.org> <+b8wcnteufggsda3gtf7ioja@mina86.com> <0aecnuy9e9nb2pjfpz4dpvqk@mina86.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7465"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 72641@debbugs.gnu.org, Eli Zaretskii To: Michal Nazarewicz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 18 00:38:46 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sfS4L-0001nd-PL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Aug 2024 00:38:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfS40-0008Qn-7b; Sat, 17 Aug 2024 18:38:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfS3z-0008Qd-1o for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2024 18:38:23 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfS3y-0007mW-Kz for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2024 18:38:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=PuqB1tOMKrNSvVMy1BMSrJd7tv91eLvVp979VKxxmEM=; b=KU2r1qysD5tYHML2QNvA1UkYPNK8nEVf4tM9QTX+2g968muZeERtW275sgyv3NeIkNwNSWRWKpEf77aiVsOqy+cP8tj+YEi32Fy/1abdKHKk12LcpGBru3pVvALm+dS1Z/Xh50CsOdiC538MO1IdB8Kd/hfa+xBNNKBCj9A/o2/iykBRMHGpop1pFgapoaj4bbha6hWJ+QWZtE+LerUNm+nuC42EWdv5y0ecqJyuqAbmLB52IBV+GoR480Wf4HoRtCXCCmuubThFXBTRoMb0/s2cIhwA0rXFAMG8Xo3XOdeRnSO9sjvF4C/s0nshLXaRjmRpaWlAfCBvEn+R9ANSmQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfS4c-0007D7-1o for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2024 18:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Aug 2024 22:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72641 X-GNU-PR-Package: emacs Original-Received: via spool by 72641-submit@debbugs.gnu.org id=B72641.172393433527701 (code B ref 72641); Sat, 17 Aug 2024 22:39:02 +0000 Original-Received: (at 72641) by debbugs.gnu.org; 17 Aug 2024 22:38:55 +0000 Original-Received: from localhost ([127.0.0.1]:55057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfS4U-0007Cj-EU for submit@debbugs.gnu.org; Sat, 17 Aug 2024 18:38:54 -0400 Original-Received: from mail.cs.ucla.edu ([131.179.128.66]:55260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfS4S-0007CS-Ee for 72641@debbugs.gnu.org; Sat, 17 Aug 2024 18:38:53 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 5764B3C011BD7; Sat, 17 Aug 2024 15:38:07 -0700 (PDT) Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id QkySbINXmqHz; Sat, 17 Aug 2024 15:38:07 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id EB50E3C011BD8; Sat, 17 Aug 2024 15:38:06 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu EB50E3C011BD8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1723934287; bh=PuqB1tOMKrNSvVMy1BMSrJd7tv91eLvVp979VKxxmEM=; h=Message-ID:Date:MIME-Version:To:From; b=Oqacg2rj7QChBfwmiJUem7SZKTTsmwWAR4fWe8RQ8zUxxmUEwfOCKcZVJ+35ZZf1D wPRk4QIXYWBoa/rBHhDhsiupzXwYSdea8OkNxPiFccaU9wuLcnBWTLZ3g80gPakvs6 7lTG918UWYeDEn+iUd4W+VSRktXh9RcjUHf6qQd1jIeNnjgm1UTG2/pp7OYs1+eVQ6 lIJp6UoiVP49+3J1Eoz2+2N1BZQwPq5uQxksSJx5nX8ZEUtTWV+sefOVcp4UbZ5sas dkdJROKP9yWvkqEAyRGZhU7amuquel9jebTeWEkcbVy7IuN3VZP2QhqdaY6VgCnLFB /0k6tQlGJtfig== X-Virus-Scanned: amavis at mail.cs.ucla.edu Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id JBlRnRHEErXl; Sat, 17 Aug 2024 15:38:06 -0700 (PDT) Original-Received: from [192.168.254.12] (unknown [47.150.137.250]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id CE5CD3C011BD7; Sat, 17 Aug 2024 15:38:06 -0700 (PDT) Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290284 Archived-At: On 2024-08-17 13:03, Michal Nazarewicz wrote: > It looks like symlink(2) fails with EIO while the server creates > a regular file, however it takes the client to notice another second. Yes, it's definitely a file system bug, and I don't see any good way for Emacs to work around it. You might try doing your CIFS mount with the mfsymlinks option. See: https://docs.kernel.org/admin-guide/cifs/usage.html https://wiki.samba.org/index.php/UNIX_Extensions#Minshall.2BFrench_symlinks If you're already using mfsymlinks it might be a good time to file a bug report with your file system supplier.