summaryrefslogtreecommitdiffstats
path: root/test/TEST-76-SYSCTL (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-04-18doc: fix .ssh credential examplesLennart Poettering2-2/+2
Let's create the .ssh dir with the right perms first. Suggested by @gcb. Fixes: #28172
2024-04-18docs: Add note on packages produced by mkosi buildsDaan De Meyer1-0/+20
2024-04-18udev: fix assignment of ret_truncatedYu Watanabe1-1/+2
Follow-ups for 089bef66316e5bdc91b9984148e5a6455449c1da.
2024-04-18blockdev-util: fix typoYu Watanabe1-1/+1
Follow-up for 33ff155957327f51dde740a7a75f19122bff1ebc.
2024-04-18blockdev-util: also read 'ext_range' sysattr to check if the partscan is enabledYu Watanabe1-16/+40
The 'capability' sysattr was deprecated by https://github.com/torvalds/linux/commit/e81cd5a983bb35dabd38ee472cf3fea1c63e0f23 (v6.3).
2024-04-18sd-device: introduce device_get_sysattr_unsigned_full()Yu Watanabe2-3/+6
2024-04-18man: fix wrong version info (#31949)Yu Watanabe26-238/+105
Fixes #31920.
2024-04-18systemctl: allow user to suppress output when no action scheduled (#32278)MaxHearnden1-1/+1
2024-04-18journalctl: update help to say "priority range" (#32323)Winterhuman1-1/+1
Clarify that `-p, --priority=` always treats its option as a priority range, even when given a single log level per the full man page description. Co-authored-by: Mike Yuan <me@yhndnzj.com>
2024-04-17man: mention that sd_journal_test_cursor() needs a positioning callZbigniew Jędrzejewski-Szmek2-9/+16
Fixes #30331.
2024-04-17docs: use absolute links for our pagesFrantisek Sumsal32-70/+70
Since 56b2970 has proven to be a no-go for us, as it breaks existing links, let's embrace the trailing slash and use absolute links everywhere for our pages. This way we'll get around browser cleverly appending the relative link to the current location (since it ends with a slash), and given our docs/ layout is flat it's not much of a hassle either. Converted using this beauty: $ sed -ri 's/(\[.+\]\()([A-Z_]+\))/\1\/\2/g' *.md Resolves: #32088 (again) and #32310
2024-04-17Revert "docs: don't suffix page permalink with a slash"Frantisek Sumsal1-1/+1
This breaks existing links with a trailing slash, so it's a no-go. This reverts commit d1a7e030c5daa4a09ee93b8af6b28ecaac5d34d0.
2024-04-17core: rename SoftRebootStartTimestamp -> ShutdownStartTimestamp and generalizeLuca Boccassi9-29/+39
Follow-up for 54f86b86ba8168faccbfc2ad16ceeccefde98a51
2024-04-17manager: serialize current objectiveLuca Boccassi4-5/+19
So that we can tell what happened before the exec. It is overwritten shortly after deserialization. Use it to bump the soft reboots counter.
2024-04-17mkosi: Drop workaroundsDaan De Meyer2-10/+0
With the latest Github Actions image release none of these should be required anymore (20240414.1.1).
2024-04-17mkosi: Switch to O0 and disable FORTIFY_SOURCEDaan De Meyer3-8/+10
-Og still causes a lot of "<optimized out>" in GDB so let's use -O0 instead and disable FORTIFY_SOURCE as it doesn't work without optimizations enabled.
2024-04-17NEWS: prepare -rc1Lennart Poettering1-1/+47
2024-04-17autosuspend: update for v256Lennart Poettering1-2/+17
2024-04-17hwdb: update for v256Lennart Poettering10-23257/+35413
2024-04-17mkosi: Disable DWARF debug info optimizationDaan De Meyer1-0/+1
We care more about fast builds in this case so disable the DWARF debug optimization that's done by default.
2024-04-17NEWS: udev and networkd pick up more things from credsMike Yuan1-2/+5
2024-04-17journal-gatewayd: use skip_leading_chars where appropriateMike Yuan2-9/+6
Prompted by c5d675472588815dedf67af8c36da0fac398fb3e
2024-04-17journal-gatewayd: add missing assertionsMike Yuan1-0/+6
2024-04-17mkosi: Override build_cflags instead of _distro_extra_cflagsDaan De Meyer1-1/+1
The latter is not supported on CentOS Stream 9.
2024-04-17journal-gatewayd: remove duplicate call to `startswith()`Antonio Alvarez Feijoo1-1/+1
2024-04-17mkosi: Set up -ffile-prefix-map= correctly when building debuginfo packagesDaan De Meyer1-3/+15
This makes sure that the debuginfo files contain source files pointing to the source files shipped by the debugsource package. Normally this should be done automatically by rpm invoking debugedit but for some unknown reason debugedit refuses to rewrite the source files in our binaries. Given that debugedit is completely undebugable (does not generate any logs at all, and its source code is ridiculously obtuse), let's set -ffile-prefix-map= when building instead which achieves the same effect.
2024-04-17build(deps): bump pkg/debian from `e477254` to `30c77a7`dependabot[bot]1-0/+0
Bumps pkg/debian from `e477254` to `30c77a7`. --- updated-dependencies: - dependency-name: pkg/debian dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17core/show-status: use strlen where appropriateMike Yuan1-2/+3
We don't use sizeof() outside of array definitions these days. The compiler should be capable of optimizing this out.
2024-04-17string-util: use mempcpy where appropriateMike Yuan1-2/+1
2024-04-17string-util: use special_glyph() at one more placeYu Watanabe1-18/+7
No functional change, just refactoring.
2024-04-17fuzz-ndisc-rs: also test packets with sd-radvYu Watanabe1-1/+26
Addresses https://github.com/systemd/systemd/pull/32267#discussion_r1566715787. Suggested-by: Evgeny Vereshchagin <evvers@ya.ru>
2024-04-17test: fix typoYu Watanabe1-2/+2
Follow-up for 236634c82c56e280348f9452129f3cdfd1fb7a45.
2024-04-17sd-ndisc: improve debugging logsYu Watanabe3-21/+98
2024-04-17sd-ndisc: disable one more timer event sourceYu Watanabe1-0/+1
Otherwise, even if we have already received RA, timeout callback will be called. Currently, networkd mostly does nothing on timeout, hence should not change any effective behavior. Follow-up for e7cb80474d4e580f7cc7c8645e1412e4a59f7588.
2024-04-17cryptenroll: Use CTAP2.1 credProtect extensionBryan Jacobs2-3/+27
When enrolling a new FIDO2 token with a client PIN, this tells the authenticator to require the PIN on all uses. It also collects a PIN before attempting to create a credential. Works around #31443 in most (not all) scenarios.
2024-04-16test-64-udev-storage: partition disk inside testcase - ↵Sam Leonard2-11/+11
testcase_multipath_basic_failover
2024-04-16test-64-udev-storage: partition disk inside testcase - ↵Sam Leonard2-14/+16
testcase_virtio_scsi_identically_named_partitions
2024-04-16test-64-udev-storage: partition disk inside testcase - testcase_long_sysfs_pathSam Leonard3-12/+13
2024-04-16mkosi: Add support for building debug packagesDaan De Meyer4-6/+46
This allows building debug packages by setting WITH_DEBUG=1. This slows down the build a lot so it's opt in. We don't yet install these but can do so in a future commit.
2024-04-16mkosi: Add --noclean when running rpmbuildDaan De Meyer2-0/+2
The entire build environment is ephemeral anyway so everything is cleaned regardless. By specifying --noclean, we make debugging easier as the rpm build root can be inspected when using --debug-shell.
2024-04-16mkosi: Install which in imageDaan De Meyer1-0/+1
gdb-headless in Fedora is missing a dependency on which: https://bugzilla.redhat.com/show_bug.cgi?id=2275274 This happens all the time so let's make sure which is always installed in the image.
2024-04-16Update debugging with vscode sectionDaan De Meyer4-25/+7
- We have ssh-generator now, so need for mkosi's Ssh= option anymore. - By enabling RuntimeBuildSources= by default, we don't need the gdb config file in the image anymore, since the build and source directories will be mounted at the expected locations.
2024-04-16test: rework systemd-sysext testFrantisek Sumsal1-931/+506
Let's rework the test a bit, namely: - condense the code a bit - drop unnecessary braces around variables - drop unnecessary explanations around `touch` calls - drop/rename functions to make the code more self-explanatory - simplify cleanup a bit - create R/O bind mounts directly (supported since util-linux 2.27)
2024-04-16test: simplify unit checkFrantisek Sumsal1-6/+2
2024-04-16test: split some overly long linesFrantisek Sumsal3-62/+256
Let's get the line count back up again by splitting some overly long lines in hopes to make the code slightly more readable.
2024-04-16test: split TEST-50-DISSECT into smaller partsFrantisek Sumsal5-1921/+1939
As the current version has almost 2k lines.
2024-04-16journalctl: tighten rules on parsing namespace journal dir suffixesLennart Poettering1-9/+16
The dot must follow the machine ID immediately, let's check for that. Also, I think it's generally better to parse the machine ID and then comparing it, instead of comparing the string representation. That's more in line how we usually do it, as we parse 128bit IDs generally case-insensitively.
2024-04-16journalctl: show human readable text if no namespace is foundLennart Poettering1-3/+8
The common case will be that no namespaces are defined, hence by default we'd just output "NAMESPACE" and exit, which is very confusing. Generate a nice message instead, how many of our tools do it. Suppress it on --quiet however.
2024-04-16journalctl: add missing --help line for --list-namespacesLennart Poettering1-0/+1
Follow-up for: #32236 68f66a171398e27280a95e58ae7464219cccaaec
2024-04-16shared/vpick: also align function params in headerMike Yuan1-6/+7
Follow-up for 6d8690ecd34a6c9450e78e242e07b1a4479d6d27