Luca Boccassi
8821518b00
semaphoreci: skip boot-and-services test
...
It started failing, disable it for now
2022-04-06 10:41:46 +01:00
Luca Boccassi
16ae198485
semaphoreci: move runner from Bionic to Focal
2022-04-06 10:41:46 +01:00
Luca Boccassi
b6529646e7
semaphoreci: speed up package installation
...
Disable updating the manpage database, and use dpkg's unsafe-io flag
2022-04-06 00:24:11 +01:00
Luca Boccassi
9a6260b194
semaphoreci: run dhclient manually on setup
...
For some reason the guest container stopped having its
network interface configured. Run the dhcp client manually.
2022-04-06 00:24:11 +01:00
Luca Boccassi
93de997d12
semaphoreci: check keys.opengpgp.org first
...
Always resolves and it's faster than the others
+ for keyserver in "" "keys.gnupg.net" "keys.openpgp.org" "keyserver.ubuntu.com"
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 1
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 4
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 9
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 16
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 25
+ for keyserver in "" "keys.gnupg.net" "keys.openpgp.org" "keyserver.ubuntu.com"
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64 --keyserver keys.gnupg.net
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 1
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64 --keyserver keys.gnupg.net
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 4
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64 --keyserver keys.gnupg.net
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 9
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64 --keyserver keys.gnupg.net
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 16
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64 --keyserver keys.gnupg.net
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: bullseye-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: bullseye-amd64: tools/lxc_create.c: main: 327 Failed to create container bullseye-amd64
+ sleep 25
+ for keyserver in "" "keys.gnupg.net" "keys.openpgp.org" "keyserver.ubuntu.com"
+ for retry in {1..5}
+ sudo lxc-create -n bullseye-amd64 -t download -- -d debian -r bullseye -a amd64 --keyserver keys.openpgp.org
Setting up the GPG keyring
Downloading the image index
Downloading the rootfs
2022-04-05 22:12:17 +01:00
Yu Watanabe
5674b74c4f
hwdb: fix parsing options
...
Fixes #22976 .
2022-04-06 04:03:32 +09:00
Lennart Poettering
80b7f7118e
Merge pull request #22975 from poettering/logind-longpress-followup
...
logind: "long press" follow-up
2022-04-05 18:42:17 +02:00
Yu Watanabe
58dd4999dc
core: command argument can be longer than PATH_MAX
...
Fixes a bug introduced by 0653649202 .
Fixes #22957 .
2022-04-06 00:39:06 +09:00
Lennart Poettering
30e0343b1c
man: split an overly long paragraph in two
2022-04-05 16:10:26 +02:00
Lennart Poettering
acc63800bc
logind: also show long press settings in default logind.conf
...
The configuration options where added back in
a520bb6654 but this was never actually
added to the default logind.conf.
Follow-up-for: a520bb6654
Follow-up-for: #19917
2022-04-05 16:10:21 +02:00
Lennart Poettering
c4db78fce6
logind: expose long press actions on D-Bus
...
The settings and internal varables were added, but this was never
exposed on the bus. Add that.
Follow-up-for: a520bb6654
Follow-up-for: #19917
2022-04-05 16:09:52 +02:00
Lennart Poettering
c0da575a0e
update TODO
2022-04-05 14:36:00 +02:00
Lennart Poettering
197be5324e
fix TODO
2022-04-05 14:02:36 +02:00
Lennart Poettering
598e431500
update TODO
2022-04-05 13:59:39 +02:00
Luca Boccassi
18a02561f1
Merge pull request #22953 from yuwata/test-sd-device
...
test: several fixlets for test-sd-device
2022-04-05 11:10:20 +01:00
Lennart Poettering
3e3c49cbe7
update TODO
2022-04-05 10:44:52 +02:00
Lennart Poettering
2cf120f7cf
update TODO
2022-04-05 10:44:04 +02:00
Zbigniew Jędrzejewski-Szmek
42ac3bf1a3
Merge pull request #22956 from yuwata/network-fix-permission-error
...
network: ignore all errors in loading .network files
2022-04-05 08:59:44 +02:00
Yu Watanabe
c7749367e3
test-sd-device: ignore several errors when running on non-host network namespace
...
Fixes https://github.com/systemd/systemd/commit/93e04eb43bed6cd1cea344f8fb1002b62155fae2#commitcomment-70387367 .
2022-04-05 14:33:19 +09:00
Yu Watanabe
b1d723228e
test-sd-device: allow several devices removed during running test
...
To make the test stabler.
2022-04-05 14:29:52 +09:00
Yu Watanabe
901fa9a4c9
test-sd-device: device ID requires subsystem
2022-04-05 14:29:49 +09:00
Yu Watanabe
04d1fbd564
test-sd-device: log earlier which device is handled
...
To make debugging the test easier.
2022-04-05 14:29:41 +09:00
Yu Watanabe
20742f92c1
Merge pull request #22951 from keszybz/fix-entry-selection-bootctl-status
...
Fix entry selection in bootctl status
2022-04-05 13:42:43 +09:00
Yu Watanabe
2df5a7d3f1
Merge pull request #22964 from yuwata/udevadm-lock-follow-ups
...
udevadm lock follow ups
2022-04-05 13:13:06 +09:00
Yu Watanabe
14f9c81fb4
test: use udevadm wait and lock
...
Hopefully fixes #22911 .
2022-04-05 05:00:39 +09:00
Yu Watanabe
d90dbba7ec
shell-completion: update for udevadm
2022-04-05 04:36:20 +09:00
Yu Watanabe
e7e25c21c6
fix typo
2022-04-05 04:36:20 +09:00
Zbigniew Jędrzejewski-Szmek
e12335ba60
man: add annotated example for bootctl status & list
...
This is based on the output on my laptop, with various manual adjustments.
If people have other types of entries, it'd be useful to add them here. In
particular, some dual-boot entries would be nice.
2022-04-04 21:19:20 +02:00
Zbigniew Jędrzejewski-Szmek
db9eabd675
man: fix tag syntax
...
Strangely enough, having <varlistenetry>s outside of <variablelist> wasn't
causing visual problems. But having two <listitem>s in one <varlistentry>
resulted in the paragraphs running together in the rendered man page.
2022-04-04 21:19:20 +02:00
Zbigniew Jędrzejewski-Szmek
8214758bd5
bootctl: unify boot entry loading for "status" and "list"
...
We must be consistent in the two listings, so let's split out the loading code
and call it from both verb_status() and verb_list(). This effectively makes
verb_status() also call efi_loader_get_entries().
There is still some code duplicated, but that's hard to avoid. Error messages
are made identical for the same errors in various places.
Fixes #22580 .
2022-04-04 21:18:14 +02:00
Yu Watanabe
f379362157
Merge pull request #22963 from poettering/udevadm-diskseq-fix
...
sd-device diskseq fix + udevadm info improvements
2022-04-05 03:57:24 +09:00
Yu Watanabe
cf708d803e
Merge pull request #22867 from poettering/lockdev-util
...
add small "udevadm lock" tool for locking a block device
2022-04-05 03:04:23 +09:00
Luca Boccassi
4e9a7022c5
Merge pull request #22960 from mrc0mmand/use-udevadm-wait
...
test: use the new `udevadm wait` verb to wait for the loop device
2022-04-04 18:39:59 +01:00
Lennart Poettering
6b41a7b281
tree-wide: use 'Architecture' type consistently across the tree
...
Some parts of our tree used 'Architecture' for storing architectures,
others used ints. Let's unify on the former.
Inspired by #22952 's rework of the 'Virtualization' enum.
2022-04-05 02:19:37 +09:00
Yu Watanabe
5672bdd341
udev/net: always log error in link_load_one()
2022-04-05 02:03:22 +09:00
Yu Watanabe
61ec7beaf5
network: always log error in network_load_one() and netdev_load_one()
2022-04-05 02:02:42 +09:00
Yu Watanabe
036a8d503f
network: ignore all errors in loading .network files
...
This partially reverts 9202b567bc .
Fixes #22954 .
2022-04-05 01:57:07 +09:00
Lennart Poettering
b51f4eaf7b
man: document various sd_device_get_xyz() functions
2022-04-04 18:25:18 +02:00
Lennart Poettering
7ba77d8f55
udevadm: if invalid devices are specified on "info" verb, continue
...
If multiple devices are specified on "udevadm info", then show data
about them all even if one is missing. Return first encountered error
though.
2022-04-04 18:25:18 +02:00
Lennart Poettering
13005c8f2c
udevadm: add a dash of color to "udevadm info"
...
Let's make it easier to discern the "header" of device records from the
"body", i.e. non-property data from property data, by using some
conservative coloring.
2022-04-04 18:25:16 +02:00
Lennart Poettering
a0e902598c
udevadm: show more fields of sd_device objects in "udevadm info"
...
Let's make things easier to debug, and show a more comprehensive set of
fields, extending on the existing output syntax that starts with one
marker character followed by a colon and a space.
2022-04-04 18:24:14 +02:00
Lennart Poettering
1ce0d04059
sd-device: actually read diskseq if told so
...
sd_device_get_diskseq() actually called device_read_uevent_file() but
that function didn't actually parse DISKSEQ= so far. Fix that.
2022-04-04 18:21:41 +02:00
Lennart Poettering
d4df6ce215
sd-device: rename return parameter of sd_device_get_devpath() to ret
2022-04-04 18:21:41 +02:00
Lennart Poettering
9858e6d2e7
man: properly conditionalize kernel-install man page
...
Change f887eab1da conditionalized the
building of ther kenel-install man page in the generated meson output,
instead of the source in the XML markup. Thus, whenever the rules file
is updated the conditionalization is lost. Correct that.
Follow-up for: f887eab1da
2022-04-05 01:20:35 +09:00
Franck Bui
6d7afa3b58
journald: make use of CLAMP() in cache_space_refresh()
2022-04-04 17:51:34 +02:00
Franck Bui
4bb37be07b
journald: make sure journal_file_open() doesn't leave a corrupted file around after failing
...
This can be problematic especially when there's no more free disk
space. Consider the following:.
When disk space becomes sparse, writting to the system journal can lead to
error. In this case journald attempts to make room by rotating the journals,
which consists in archiving online journals and opening new ones.
However opening new files is likely to fail too and in this case
journal_file_open() leaves half initialized file around but in online
state. Then the error is propagated and journald switches into volatile mode.
Next time a new message is received by journald, it tries to open the
persistent system journal file to switch automatically back to persistent
mode.
When opening the system journal, journal_file_open(), called by
managed_journal_file_open_reliably(), finds the persistent system journal left
previously and assumes that it was uncleanly closed and considers it as
corrupted. The error is reported to managed_journal_file_open_reliably(), which
backs the file up and attempts to create a new system file, which fails and
leaves a corrupted system file again.
Since this is done for each message received by journald, /var/log/message can
be filled with backup files pretty quickly.
To prevent this, the patch makes sure to delete the newly created file in case
of error.
2022-04-04 17:51:10 +02:00
Lennart Poettering
ae61c53c3b
man: document new udevadm lock tool
2022-04-04 17:19:51 +02:00
Lennart Poettering
8b12a516e9
udevadm: add new "lock" verb for locking block devices
2022-04-04 17:19:51 +02:00
Lennart Poettering
1748853700
hash-funcs: tweak odering in devt_compare_func()
...
Let's order dev_t's by their major first, minor secondary. The binary
encoding of the two fields is weirdly interleaved and different in
kernel and glibc, hence let's focus on the generic part that works like
users would expect it.
So far the function is only used to compare for equality, not for
sorting, hence this has no immediate effect.
2022-04-04 17:04:14 +02:00
Lennart Poettering
666efe94c9
TODO
2022-04-04 16:07:26 +02:00