Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #67679 > unrolled thread

Bug#966917: Regression: cannot replace files on cifs mounts anymore when running linux-image-4.19.0-10-amd64

Started bySalvatore Bonaccorso <carnil@debian.org>
First post2020-08-04 13:10 +0200
Last post2020-08-04 16:30 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#966917: Regression: cannot replace files on cifs mounts anymore when running linux-image-4.19.0-10-amd64 Salvatore Bonaccorso <carnil@debian.org> - 2020-08-04 13:10 +0200
    Processed: Re: Bug#966917: Regression: cannot replace files on  cifs mounts anymore when running linux-image-4.19.0-10-amd64 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-08-04 13:10 +0200
    Bug#966917: Regression: cannot replace files on cifs mounts anymore when running linux-image-4.19.0-10-amd64 Salvatore Bonaccorso <carnil@debian.org> - 2020-08-04 14:50 +0200
    Bug#966917: Regression: cannot replace files on cifs mounts anymore when running linux-image-4.19.0-10-amd64 Salvatore Bonaccorso <carnil@debian.org> - 2020-08-04 16:30 +0200

#67679 — Bug#966917: Regression: cannot replace files on cifs mounts anymore when running linux-image-4.19.0-10-amd64

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-08-04 13:10 +0200
SubjectBug#966917: Regression: cannot replace files on cifs mounts anymore when running linux-image-4.19.0-10-amd64
Message-ID<AA2Zr-7Ey-7@gated-at.bofh.it>
Control: tags -1 + upstream

On Mon, Aug 03, 2020 at 10:23:49AM +0200, Philipp Huebner wrote:
> Package: src:linux
> Version: 4.19.132-1
> Severity: important
> 
> Dear Maintainer(s),
> 
> we are using several cifs mounts, among them our users' homes, and this
> regression causes graphical logins to fail, because
>  ~/.local/share/xorg/Xorg.0.log
> could no longer be moved to
>  ~/.local/share/xorg/Xorg.0.log.old:
> 
> > Aug  3 04:19:41 /usr/lib/gdm3/gdm-x-session[8166]: (EE) Cannot move
> old log file "/home/phuebner/.local/share/xorg/Xorg.0.log" to
> "/home/phuebner/.local/share/xorg/Xorg.0.log.old"
> 
> Manually deleting either Xorg.0.log or Xorg.0.log.old fixes logging in
> for the next attempt, deleting both fixes the next two login attempts.
> 
> While looking for the root cause, it turned out to be a generic problem
> with linux-image-4.19.0-10-amd64:
> 
> ~$ rm -f foo bar
> ~$ echo test > foo
> ~$ echo test > bar
> ~$ mv foo bar
> mv: cannot move 'foo' to 'bar': File exists
> 
> This is a problem on all our cifs mounts, no file can be replaced
> without actively deleting it first.
> 
> The mounts look like this (taken from /proc/mounts):
> //homes-server/phuebner /home/phuebner cifs
> rw,nosuid,nodev,relatime,vers=1.0,cache=strict,username=phuebner,uid=5079,noforceuid,gid=65534,noforcegid,addr=10.144.0.14,soft,unix,posixpaths,serverino,mapposix,nobrl,acl,rsize=1048576,wsize=65536,echo_interval=60,actimeo=1
> 0 0
> 
> The server is running samba 2:4.9.5 on Debian 10, for some tricky
> reasons we cannot use higher smb versions than 1.0 at the moment.
> 
> Manually booting the client into the previous kernel
> (linux-image-4.19.0-9-amd64) restores the normal behaviour.
> 
> Quick action on this would be much appreciated!

Could you please check if applying
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e6705182d4e1b77248a93470d6d7b3013d59b30
on top fixes the issue for you?

The fix was backported to 4.19.135 and the introducing commit was
backported in 4.19.132.

Regards,
Salvatore

[toc] | [next] | [standalone]


#67680 — Processed: Re: Bug#966917: Regression: cannot replace files on cifs mounts anymore when running linux-image-4.19.0-10-amd64

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-08-04 13:10 +0200
SubjectProcessed: Re: Bug#966917: Regression: cannot replace files on cifs mounts anymore when running linux-image-4.19.0-10-amd64
Message-ID<AA2Zr-7Ey-15@gated-at.bofh.it>
In reply to#67679
Processing control commands:

> tags -1 + upstream
Bug #966917 [src:linux] Regression: cannot replace files on cifs mounts anymore when running linux-image-4.19.0-10-amd64
Added tag(s) upstream.

-- 
966917: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966917
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#67682

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-08-04 14:50 +0200
Message-ID<AA4yd-8r9-3@gated-at.bofh.it>
In reply to#67679
Hi Philipp,

On Tue, Aug 04, 2020 at 01:36:13PM +0200, Philipp Huebner wrote:
> Hi,
> 
> Am 04.08.20 um 12:57 schrieb Salvatore Bonaccorso:
> > Could you please check if applying
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e6705182d4e1b77248a93470d6d7b3013d59b30
> > on top fixes the issue for you?
> 
> yes, I can (and will) do that, but I am not very exercised in building
> patched kernels, so it would probably be quicker if an experienced
> person provided me with packages to test.

I will try to test that myself, later today, but if you want to check
already, we have 'simple patching guide' in the kernel-handbook to
quickly test some patches:

https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s4.2.2

Hope this helps,

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#67686

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-08-04 16:30 +0200
Message-ID<AA670-129-1@gated-at.bofh.it>
In reply to#67679
Hi,

On Tue, Aug 04, 2020 at 03:00:29PM +0200, Philipp Huebner wrote:
> Hi again
> 
> Am 04.08.20 um 12:57 schrieb Salvatore Bonaccorso:
> > Could you please check if applying
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e6705182d4e1b77248a93470d6d7b3013d59b30
> > on top fixes the issue for you?
> > 
> > The fix was backported to 4.19.135 and the introducing commit was
> > backported in 4.19.132.
> 
> I have successfully rebuilt linux-image-4.19.0-10-amd64(-unsigned) in
> Version 4.19.132 with the reverting patch from the commit above on top,
> and can now confirm this solves the issue!

Thanks for confirming!

Regards,
Salvatore

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web