summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/944.toml
blob: 69daa6152be80cf2fca1bdcea9eafe14db75aaf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
id = 944
title = "9p virtfs issue under MacOS in 7.0.0-rc1"
state = "closed"
created_at = "2022-03-28T12:38:05.775Z"
closed_at = "2024-09-10T08:55:57.606Z"
labels = ["block:9p"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/944"
host-os = "MacOS 12.3"
host-arch = "x86_64"
qemu-version = "7.0.0-rc1"
guest-os = "n/a"
guest-arch = "n/a"
description = """9p virtfs under MacOS has an issue with sed inline replacements (sed -i).
The issue somewhere in xattr I believe"""
reproduce = """1. /Users/sid/ is mounted via 9p virtfs from MacOS host
2.
```
[core@localhost ~]$ sed -i 's/aaa/zzz/g' /Users/sid/q/123
sed: preserving permissions for ‘/Users/sid/q/sed3MLMjp’: Protocol not supported
```"""
additional = """strace part with error
```
openat(AT_FDCWD, "/proc/thread-self/attr/fscreate", O_RDWR|O_CLOEXEC) = 5
write(5, NULL, 0)                       = 0
close(5)                                = 0
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=12, ...}, AT_EMPTY_PATH) = 0
read(3, "qqq\\nzzz\\nsss\\n", 8192)        = 12
newfstatat(4, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "", 8192)                       = 0
fchown(4, 501, 1000)                    = 0
fgetxattr(3, "system.posix_acl_access", 0x7ffd6dbd18b0, 132) = -1 ENODATA (No data available)
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=12, ...}, AT_EMPTY_PATH) = 0
fsetxattr(4, "system.posix_acl_access", "\\2\\0\\0\\0\\1\\0\\6\\0\\377\\377\\377\\377\\4\\0\\4\\0\\377\\377\\377\\377 \\0\\4\\0\\377\\377\\377\\377", 28, 0) = -1 EPROTONOSUPPORT (Protocol not supported)
fsetxattr(4, "system.posix_acl_access", "\\2\\0\\0\\0\\1\\0\\6\\0\\377\\377\\377\\377\\4\\0\\4\\0\\377\\377\\377\\377 \\0\\4\\0\\377\\377\\377\\377", 28, 0) = -1 EPROTONOSUPPORT (Protocol not supported)
fchmod(4, 0100644)                      = 0
```"""