blob: 73d96d7066092372e901d5b12d3c9e55490ddc88 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
id = 2205
title = "9p rootfs issues"
state = "opened"
created_at = "2024-03-03T13:18:54.931Z"
closed_at = "n/a"
labels = ["block:9p"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/2205"
host-os = "Ubuntu 24.04"
host-arch = "amd64"
qemu-version = "QEMU emulator version 8.2.1 (Debian 1:8.2.1+ds-1ubuntu1)"
guest-os = "Ubuntu 24.04"
guest-arch = "amd64"
description = """I've created qemu guest per https://wiki.qemu.org/Documentation/9p_root_fs guidelines. debootstrap fails on this guest."""
reproduce = """```
root@ubuntu-dev:~# debootstrap --arch amd64 --variant=minbase noble /var/tmp/new_root/
I: Retrieving InRelease
I: Checking Release signature
E: Error executing gpgv to check Release signature
root@ubuntu-dev:~#
```"""
additional = """I noticed, that gpg key extracted by debootstrap from the InRelease is corrupted:
```
root@ubuntu-dev:~# head /var/tmp/new_root/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_Release.gpg
-----BEGIN PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE9uyzdiR07anSG3Aihxkg0ZkbyTwFAmXkbkUACgkQhxkg0Zkb
-----BEGIN PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
root@ubuntu-dev:~#
```
I also noticed that on the 9p filesystem appending to files corrupts them:
```
root@ubuntu-dev:~# echo 1 >/var/tmp/test
root@ubuntu-dev:~# cat /var/tmp/test
1
root@ubuntu-dev:~# echo 2 >>/var/tmp/test
root@ubuntu-dev:~# cat /var/tmp/test
1
1
2
root@ubuntu-dev:~#
```
This is not happening on the tmpfs:
```
root@ubuntu-dev:~# echo 1 >/tmp/test
root@ubuntu-dev:~# cat /tmp/test
1
root@ubuntu-dev:~# echo 2 >>/tmp/test
root@ubuntu-dev:~# cat /tmp/test
1
2
root@ubuntu-dev:~#
```"""
|