[Bug 197045] renameat2 rename_noreplace
From: <hidden>
Date: 2017-10-24 12:29:43
https://bugzilla.kernel.org/show_bug.cgi?id=197045
--- Comment #3 from Elvis Stansvik (elvstone@gmail.com) ---I'm hit by this on 4.10 a well (the default kernel on Ubuntu 16.04). I attached a full test case showing. Example run:
[estan@newton renameat2tc]$ gcc renameat2.c [estan@newton renameat2tc]$ touch foo [estan@newton renameat2tc]$ ./a.out foo bar Invalid argument [estan@newton renameat2tc]$ uname -a Linux newton 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [estan@newton renameat2tc]$ mount | grep " / " /dev/sda1 on / type ext4 (rw,noatime,discard,errors=remount-ro,data=ordered)
The reason I discovered it was that Qt recently started using this syscall, which in turn made Qt Creator (a Qt application) fail to write its config files. -- You are receiving this mail because: You are watching the assignee of the bug.