Maanya Goenka [Tue, 8 Aug 2023 21:57:53 +0000 (21:57 +0000)]
allow ExtensionImages= and ExtensionDirectories= settings to support confext images
Maanya Goenka [Tue, 8 Aug 2023 21:37:36 +0000 (21:37 +0000)]
add an @ option for confext
Luca Boccassi [Tue, 15 Aug 2023 15:40:05 +0000 (16:40 +0100)]
Merge pull request #28839 from DaanDeMeyer/repart-followups
Repart followups
Michael A Cassaniti [Fri, 11 Aug 2023 09:30:11 +0000 (19:30 +1000)]
repart: Add verity configuration section and options
Daan De Meyer [Tue, 15 Aug 2023 12:56:10 +0000 (14:56 +0200)]
Merge pull request #28838 from DaanDeMeyer/repart-subvolume
mkosi: Create a few subvolumes in the root partition
Daan De Meyer [Tue, 15 Aug 2023 10:58:28 +0000 (12:58 +0200)]
repart: Massage the minimize for XFS a bit
A 1.5 multiplier doesn't seem to be sufficient for XFS as seen in
mkosi CI. Let's increase it to 2 for XFS to hopefully get better
results.
Kiran Vemula [Tue, 15 Aug 2023 10:45:58 +0000 (16:15 +0530)]
resolved: fixed bugs reported in varlink statistics (#28796)
Fixes https://github.com/systemd/systemd/issues/28791
Follow-up for
bc837621a38efbaff14fbe33bfe5c34dac805343
Daan De Meyer [Tue, 15 Aug 2023 08:35:56 +0000 (10:35 +0200)]
mkosi: Update to v15.1 release
Daan De Meyer [Tue, 15 Aug 2023 08:33:34 +0000 (10:33 +0200)]
mkosi: Create a few subvolumes in the root partition
Let's exercise the repart Subvolumes= setting by creating a few
subvolumes in the root partition when we create it.
Daan De Meyer [Tue, 15 Aug 2023 08:32:45 +0000 (10:32 +0200)]
repart: Rework read-only logic
verity sig partitions can't actually be marked read-only, so let's
not do that to avoid an ugly warning about that. Instead, let's just
make sure that we mark verity hash and verity data partitions as
read-only.
Daan De Meyer [Tue, 15 Aug 2023 08:31:47 +0000 (10:31 +0200)]
repart: Allow using Subvolumes= with automatic --offline
If we fail to allocate a loopback device and subvolumes are configured,
we fail instead of falling back to a regular file.
Warren [Tue, 15 Aug 2023 10:28:14 +0000 (20:28 +1000)]
p11kit: check the flags associated with the slot instead of flags associated with the token
The logic around checking PKCS11 tokens (used by systemd-cryptenroll) contains a bug.
The code is checking the flags field of a pkcs11 token_info structure against a set of flags defined for the pkcs11 slot_info structure. This PR changes the check so that the correct structure's flag field is being checked.
(Reference to the PKCS#11 spec:http://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/os/pkcs11-base-v2.40-os.html, section CK_SLOT_INFO).
Daan De Meyer [Tue, 15 Aug 2023 10:10:14 +0000 (12:10 +0200)]
mkfs-util: Don't set MKE2FS_DEVICE_PHYS_SECTSIZE
We only care about the logical sector size and if the physical sector
size isn't set and we're operating on a file, mke2fs will default the
physical sector size to the logical block size anyway.
This change makes sure that if we're operating on a block device and
set an explicit logical sector size, that doesn't affect the physical
sector size.
Daan De Meyer [Tue, 15 Aug 2023 10:09:31 +0000 (12:09 +0200)]
repart: Put function call closer to its error handling
Luca Boccassi [Tue, 15 Aug 2023 09:16:24 +0000 (10:16 +0100)]
Merge pull request #28812 from DaanDeMeyer/sector-size
repart: Use 4096 as the fallback sector size for verity/luks/filesystems
Daan De Meyer [Tue, 15 Aug 2023 07:53:02 +0000 (09:53 +0200)]
Merge pull request #28833 from DaanDeMeyer/copy-subvolume
repart: Add Subvolumes= setting
Michael A Cassaniti [Fri, 11 Aug 2023 12:05:45 +0000 (22:05 +1000)]
sysupdate: Use sector size for partition size calculations
Daan De Meyer [Tue, 15 Aug 2023 07:04:45 +0000 (09:04 +0200)]
Merge pull request #28829 from DaanDeMeyer/mount-fd
tree-wide: Mount file descriptors via /proc/<pid>/fd
Luca Boccassi [Tue, 15 Aug 2023 00:54:52 +0000 (01:54 +0100)]
Merge pull request #28835 from mrc0mmand/more-tests
test: add coverage for #27953
Daan De Meyer [Mon, 14 Aug 2023 19:57:59 +0000 (21:57 +0200)]
fd-util: Use /proc/pid/fd instead of /proc/self/fd
Currently, we mount via file descriptors using /proc/self/fd. This
works, but it means that in /proc/mounts and various other files,
the source of the mount will be listed as /proc/self/fd/xxx. For other
software that parses these files, /proc/self/fd/xxx doesn't mean anything,
or worse, it means the completely wrong thing, as it will refer to one of
their own file descriptors instead.
Let's improve the situation by using /proc/pid/fd instead. This allows
processes parsing /proc/mounts to do the right thing more often than not.
One scenario where even this doesn't work if when containers are involved,
as with the pid namespace unshared, even /proc/pid/fd will mean the wrong
thing, but it's no worse than /proc/self/fd which will always means the wrong
thing.
This also doesn't work if we mount via file descriptor and then exit, as the pid will
be gone, but it does work as long as the process that did the mount is alive, which
makes it useful for systemd-dissect --with for example if the program we run in the
image wants to parse /proc/mounts.
Frantisek Sumsal [Mon, 14 Aug 2023 18:09:31 +0000 (20:09 +0200)]
test: explicitly specify a UTF-8 locale for UTF-8 shenanigans
As things don't work well without it:
$ LANG=C printf "\ufffe\n"
\uFFFE
Frantisek Sumsal [Mon, 14 Aug 2023 17:35:37 +0000 (19:35 +0200)]
test: add coverage for #27953
Frantisek Sumsal [Mon, 14 Aug 2023 17:12:08 +0000 (19:12 +0200)]
test: drop unnecessary log level setup
As we do that globally via a dropin.
Daan De Meyer [Mon, 14 Aug 2023 14:44:30 +0000 (16:44 +0200)]
repart: Add Subvolumes= setting
This setting indicates which directories in the target partition
should be btrfs subvolumes. If set, we'll try to create these
directories as subvolumes.
Note that this only works when running as root without --offline,
as mkfs.btrfs does not support creating subvolumes.
Daan De Meyer [Mon, 14 Aug 2023 14:39:39 +0000 (16:39 +0200)]
mkdir: Add support for creating subvolumes to mkdir_p_root()
We pass in the paths which should be subvolumes and try to create
those as subvolumes if we can.
Daan De Meyer [Mon, 14 Aug 2023 13:33:15 +0000 (15:33 +0200)]
copy: Add support for creating subvolumes to copy_tree_at()
The subvolumes set is a set of source inodes similar to how the
denylist hashmap contains source inodes as keys. It indicates
directories in the source tree that should become subvolumes in
the target tree.
Daan De Meyer [Mon, 14 Aug 2023 13:32:22 +0000 (15:32 +0200)]
fs-util: Add XO_SUBVOLUME flag for xopenat()
When specified, xopenat() will try to create a btrfs subvolume and
fall back to creating a regular directory.
Daan De Meyer [Mon, 14 Aug 2023 13:15:08 +0000 (15:15 +0200)]
btrfs-util: Move subvolume creation to basic/btrfs.h
Also make btrfs_subvol_make() an openat style function.
Daan De Meyer [Mon, 14 Aug 2023 16:29:25 +0000 (18:29 +0200)]
path-util: Make ret argument optional for path_extract_directory()
Daan De Meyer [Mon, 14 Aug 2023 12:23:03 +0000 (14:23 +0200)]
Merge pull request #28828 from DaanDeMeyer/sysupdate-fdisk
fdisk-util: Make fdisk_new_context_fd() more generic
Daan De Meyer [Sun, 13 Aug 2023 20:16:28 +0000 (22:16 +0200)]
dissect-image: Fix mount_point_is_available()
We call dir_is_empty() to check if the directory is empty but don't
take the result into account when returning from the function.
Daan De Meyer [Mon, 14 Aug 2023 10:54:40 +0000 (12:54 +0200)]
tree-wide: Always include <net/if.h> before related linux headers
Otherwise, we get redefinition errors if <net/if.h> is included later
on by another header.
Daan De Meyer [Sat, 12 Aug 2023 11:30:46 +0000 (13:30 +0200)]
repart: Use 4096 as the fallback sector size for verity/luks/filesystems
When we don't know the sector size of the actual block device, because
we're building an image in a loopback file and no sector size was specified
explicitly, let's use 4096 as the sector size for filesystems, verity and
LUKS. This should be the most compatible option, since 4096 will also work
on devices with sector size 512 or 2048.
For the actual GPT partition table size, we stick with 512 as the default
value since UEFI firmware and the kernel will only try to read the GPT
partition table from the first LBA on the device and the sector size for
most devices is still 512. It can also be trivially modified when copying
the image to another device using --copy-from + --sector-size.
Daan De Meyer [Mon, 14 Aug 2023 08:42:43 +0000 (10:42 +0200)]
tree-wide: Use fdisk_new_context_at() more
Daan De Meyer [Mon, 14 Aug 2023 08:27:57 +0000 (10:27 +0200)]
fdisk-util: Make fdisk_new_context_fd() more generic
Let's make this an openat() style function so we can also pass a
device path.
Daan De Meyer [Mon, 14 Aug 2023 08:08:20 +0000 (10:08 +0200)]
Merge pull request #28827 from gioele/docs-fix-network-online-example-unit
docs/NETWORK_ONLINE: Move `Type=`, `RemainAfterExit=` to `[Service]` + Use `until` instead of `while !`
Gioele Barabucci [Mon, 14 Aug 2023 06:53:16 +0000 (08:53 +0200)]
docs/NETWORK_ONLINE: Use `until` instead of `while !`
`until` is the standard POSIX shell builtin to be used when waiting for
a condition to appear.
Gioele Barabucci [Mon, 14 Aug 2023 06:50:46 +0000 (08:50 +0200)]
docs/NETWORK_ONLINE: Move `Type=`, `RemainAfterExit=` to `[Service]`
`Type=` and `RemainAfterExit=` belong in `[Service]`, not `[Unit]`.
Fixes #28826
Susant Sahani [Mon, 24 Jul 2023 09:34:59 +0000 (15:04 +0530)]
network: ndisc - Ignore route information if reserved (10) value is
received
RFC4191 – Section 2.3 Route Information Option's Prf field:
If the Reserved (10) value is received, the Route Information Option MUST be ignored.
Mike Yuan [Sun, 13 Aug 2023 14:59:30 +0000 (22:59 +0800)]
sleep: clear EFI HibernateLocation if writing kernel config fails
Follow-up for
f1f331a252d22c15f37d03524cce967664358c5c
Yu Watanabe [Sun, 13 Aug 2023 05:56:49 +0000 (14:56 +0900)]
core: drop redundant assignment of UNIT_MERGED in unit_load_fragment()
If the unit is merged into another unit, then the load state is already
set in merge_by_names() -> unit_merge(). Let's drop the redundant assignment.
Yu Watanabe [Sun, 13 Aug 2023 10:27:56 +0000 (19:27 +0900)]
Merge pull request #28744 from YHNdnzj/battery-check-minor-followup
battery-util: minor follow-ups
Yu Watanabe [Sun, 13 Aug 2023 10:25:22 +0000 (19:25 +0900)]
Merge pull request #28809 from YHNdnzj/proc-cmdline-true-when-missing
proc-cmdline: introduce PROC_CMDLINE_TRUE_WHEN_MISSING and use it where appropriate
Sam James [Sun, 13 Aug 2023 06:46:45 +0000 (07:46 +0100)]
basic: add comment for LFS assert in dirent-util.h
Followup to
eb29296937b268e0140a2ab1cf204c2ebb72fa5a as promised; requested
by lennart at https://github.com/systemd/systemd/pull/27599#discussion_r1192619263.
Luca Boccassi [Sat, 12 Aug 2023 14:15:55 +0000 (15:15 +0100)]
test: skip test-path on Salsa CI
Salsa is the Debian git forge. In the package build environment test-path
always fails as we cannot set up cgroups and so the path unit fails to
start. Skip the test in that environment.
Unfortunately meson doesn't allow to skip individual tests by name.
Mike Yuan [Wed, 9 Aug 2023 16:15:29 +0000 (00:15 +0800)]
battery-util: log_notice when unsure about battery state
Follow-up for
02f7f8aa4f1d0b7a24ee3cd5685a791771d9ded5
This deserves some highlight.
Addresses https://github.com/systemd/systemd/pull/28597#discussion_r1288592726
Mike Yuan [Wed, 9 Aug 2023 16:13:42 +0000 (00:13 +0800)]
battery-util: don't log duplicate message
Follow-up for
02f7f8aa4f1d0b7a24ee3cd5685a791771d9ded5
Addresses https://github.com/systemd/systemd/pull/28597#discussion_r1288591215
> this is pretty unnecessary, battery_read_capacity_percentage()
debug logs on its own about this already, in more detailed way?
Mike Yuan [Thu, 10 Aug 2023 15:25:59 +0000 (23:25 +0800)]
reboot-util: cache the result of shall_restore_state
Mike Yuan [Thu, 10 Aug 2023 15:25:44 +0000 (23:25 +0800)]
battery-check: use proc_cmdline_get_bool
Mike Yuan [Thu, 10 Aug 2023 15:25:17 +0000 (23:25 +0800)]
fstab-util: make use of PROC_CMDLINE_TRUE_WHEN_MISSING
Mike Yuan [Sat, 12 Aug 2023 07:22:06 +0000 (15:22 +0800)]
proc-cmdline: do assert on flags earlier
Mike Yuan [Sat, 12 Aug 2023 07:20:59 +0000 (15:20 +0800)]
proc-cmdline: introduce PROC_CMDLINE_TRUE_WHEN_MISSING
Luca Boccassi [Sat, 12 Aug 2023 18:14:12 +0000 (19:14 +0100)]
mkosi: disable key check on Fedora Rawhide for now
There are key issues so jobs are failing, disable the check for now
Yu Watanabe [Sat, 12 Aug 2023 12:35:39 +0000 (21:35 +0900)]
test: disable TEST-08-INITRD on ubuntu CI
Currently, the test does not work on ubuntu CI, unfortunately.
Let's disable it at least tentatively.
Yu Watanabe [Sat, 12 Aug 2023 05:53:16 +0000 (14:53 +0900)]
test: fix expected result of systemd-repart
Follow-up for
e1536d1fb00787f0b064007573292d4ebc01971f.
Fixes #28807.
Replaces #28802.
Daan De Meyer [Sat, 12 Aug 2023 11:29:50 +0000 (13:29 +0200)]
mkfs-util: Pass sector size to mkfs.f2fs
Let's pass the sector size to mkfs.f2fs as well.
Daan De Meyer [Sat, 12 Aug 2023 11:28:10 +0000 (13:28 +0200)]
mkfs-util: Set sector size environment variables when invoking mkfs.ext4
Let's inform mkfs.ext4 about the sector size we're using.
Yu Watanabe [Sat, 12 Aug 2023 07:45:46 +0000 (16:45 +0900)]
meson: drop unnecessary dependency on libidn
Yu Watanabe [Sat, 12 Aug 2023 11:04:06 +0000 (20:04 +0900)]
Merge pull request #28801 from mrc0mmand/initrd-shutdown-test
test: introduce TEST-08-INITRD
Rahil Bhimjiani [Sat, 12 Aug 2023 08:19:11 +0000 (13:49 +0530)]
man: kernel-install(8) add uki.conf in FILES & add ukify(1) in SEE ALSO
Signed-off-by: Rahil Bhimjiani <rahil3108@gmail.com>
Frantisek Sumsal [Fri, 11 Aug 2023 14:46:53 +0000 (16:46 +0200)]
test: introduce TEST-08-INITRD
And move the initrd related tests from TEST-01-BASIC there.
Additionally, this should provide coverage for recemt shutdown initrd
related issues, see:
- https://github.com/systemd/systemd/issues/28645
- https://github.com/systemd/systemd/pull/28648
- https://github.com/systemd/systemd/pull/28793
Yu Watanabe [Sat, 12 Aug 2023 04:12:10 +0000 (13:12 +0900)]
Merge pull request #28784 from yuwata/udev-vs-tmpfiles-take-3
Udev vs tmpfiles take 3
Luca Boccassi [Fri, 11 Aug 2023 23:25:15 +0000 (00:25 +0100)]
Merge pull request #28799 from bluca/fixlets
core: some fixlets
Luca Boccassi [Fri, 11 Aug 2023 21:29:50 +0000 (22:29 +0100)]
man: systemd-repart can now create filesystems, update manpage
Yu Watanabe [Fri, 11 Aug 2023 22:54:32 +0000 (07:54 +0900)]
units: introduce systemd-tmpfiles-setup-dev-early.service
This makes tmpfiles, sysusers, and udevd invoked in the following order:
1. systemd-tmpfiles-setup-dev-early.service
Create device nodes gracefully, that is, create device nodes anyway
by ignoring unknown users and groups.
2. systemd-sysusers.service
Create users and groups, to make later invocations of tmpfiles and
udevd can resolve necessary users and groups.
3. systemd-tmpfiles-setup-dev.service
Adjust owners of previously created device nodes.
4. systemd-udevd.service
Process all devices. Especially to make block devices active and can
be mountable.
5. systemd-tmpfiles-setup.service
Setup basic filesystem.
Follow-up for
b42482af904ae0b94a6e4501ec595448f0ba1c06.
Fixes #28653.
Replaces #28681 and #28732.
Yu Watanabe [Fri, 11 Aug 2023 04:45:25 +0000 (13:45 +0900)]
Revert "unit: make udev rules really take precedence over tmpfiles"
This reverts commits
112a41b6ece19d03e951d886fe2f26512ab31fab,
3178698bb5352989e4bff866641838b1c2a0efcb, and
b768379e8b494b025f41946205944a6f3a1a553f.
The commit
112a41b6ece19d03e951d886fe2f26512ab31fab introduces #28765,
as systemd-tmpfiles-setup.service has ordering after local-fs.target,
but usually the target requires block devices processed by udevd.
Hence, the service can only start after the block devices timed out.
Fixes #28765.
Lennart Poettering [Fri, 11 Aug 2023 09:11:09 +0000 (11:11 +0200)]
iovec-util: add iovw_isempty() helper
Follow-up for:
3746131aac4798cacf67b60cfc4e2e1c80ec4efb
Luca Boccassi [Wed, 9 Aug 2023 13:02:34 +0000 (14:02 +0100)]
core: split manager's process killing on shutdown to separate helper
Luca Boccassi [Wed, 9 Aug 2023 12:59:22 +0000 (13:59 +0100)]
core: allow to pass EINVAL to unit_add_two_dependencies()
Useful to conditionally add two deps at a time
Luca Boccassi [Fri, 11 Aug 2023 13:42:02 +0000 (14:42 +0100)]
core: copy os-release with COPY_TRUNCATE
Otherwise if the os-release file shrinks between updates, there
will be a merge of the two.
Also remove redundant ENOENT check.
Follow-up for
3f37a82545d461ab
Frantisek Sumsal [Fri, 11 Aug 2023 14:39:30 +0000 (16:39 +0200)]
test: correctly propagate return code from check_result hooks
Frantisek Sumsal [Fri, 11 Aug 2023 14:36:45 +0000 (16:36 +0200)]
test: save the console log to a file
So we can refer to it later if needed.
Lennart Poettering [Fri, 11 Aug 2023 11:24:07 +0000 (13:24 +0200)]
man: don't claim BindPaths= file systems would remain "in memory", they are just kept "mounted"
Follow-up for:
947d836a6e86f1936250ff8e3c67fa33b92a597f
(I guess in the original patch authors usecase the root fs actually
*does* remain in memory, but that's a special case and does not belong
in the man pages this way).
Daan De Meyer [Fri, 11 Aug 2023 12:51:24 +0000 (14:51 +0200)]
Merge pull request #28766 from DaanDeMeyer/repart-copy-from
repart: Allow specifying --copy-from more than once
Michael A Cassaniti [Fri, 11 Aug 2023 06:41:56 +0000 (16:41 +1000)]
file-io: Fix copying sparse files
This change makes sure a data copy using copy_bytes() does not exceed the
max_bytes value when using COPY_HOLES and max_bytes stops before the next
data section.
Daan De Meyer [Thu, 10 Aug 2023 12:41:31 +0000 (14:41 +0200)]
repart: Allow specifying --copy-from more than once
Definitions will be synthesized from each of the given images.
Jan Macku [Thu, 10 Aug 2023 12:58:16 +0000 (14:58 +0200)]
docs: update link to RHEL/CentOS Stream tracker
Also update link to systemd downstream GitHub repo.
Daan De Meyer [Fri, 11 Aug 2023 08:41:04 +0000 (10:41 +0200)]
repart: Allow acquire shared lock on --copy-from files/devices
We're not going to modify these, so no need for an exclusive lock.
Franck Bui [Thu, 10 Aug 2023 12:13:45 +0000 (14:13 +0200)]
test-mountpoint-util: /root might be mounted
On openSUSE with BTRFS, /root has to be mounted as dedicated subvolume to avoid
restoring it when a rollback of the system happens.
Yu Watanabe [Thu, 10 Aug 2023 22:21:32 +0000 (07:21 +0900)]
Merge pull request #28779 from yuwata/iovw-append
io-util, coredump: introduce iovw_append() and use it
Yu Watanabe [Thu, 10 Aug 2023 19:48:01 +0000 (04:48 +0900)]
coredump: fix various invalid memory access
Previously, we did not check error from iovw_put(). If it fails, the
target iovw may have no iov or partial iovs from the journal importar.
So, the finalization may cause underflow and may access and free invalid
memory.
Follow-up for
946dc7c635f050129896d1515c08a81504af2421.
Yu Watanabe [Thu, 10 Aug 2023 19:46:00 +0000 (04:46 +0900)]
io-util: introduce iovw_append() helper function
cvlc12 [Sat, 5 Aug 2023 12:25:23 +0000 (14:25 +0200)]
Make ukify the default ifUKI_GENERATOR is unset
Lennart Poettering [Thu, 10 Aug 2023 13:12:15 +0000 (15:12 +0200)]
vconsole-setup: use "@kernel" rather than "kernel" as special string to leave keymap untouched
This is a magic string, and we should avoid stepping into the territory
of normal keymap names with that, given that users can pick names
otherwise freely.
Hence, prefix the name with a special char to avoid any namespace
issues.
Follow-up for: #28660
Yu Watanabe [Thu, 10 Aug 2023 19:16:31 +0000 (04:16 +0900)]
Merge pull request #28760 from poettering/coredump-tweaks
coredump: minor tweaks/modernizations
Lennart Poettering [Thu, 10 Aug 2023 08:46:05 +0000 (10:46 +0200)]
file-io: let's use offsetof() rather than sizeof() for determining EFI_FILE_INFO prefix size
The gnu-efi definition of the struct uses [1], our local one [0] to size
the filename array. Let's avoid an ambiguity and use offsetof() so that
this difference doesn't matter. Also, doing it this way makes very clear
to the read what happens here: it's a structure with a variable size
suffix.
Yu Watanabe [Thu, 10 Aug 2023 19:10:32 +0000 (04:10 +0900)]
Merge pull request #28749 from yuwata/udev-net-id-fix-and-cleanup
udev-builtin-net_id: fix and cleanups
Daan De Meyer [Thu, 10 Aug 2023 15:05:55 +0000 (17:05 +0200)]
ukify: Use length= instead of ignore_padding= in inspect
ignore_padding= was only added in a recent version of pefile. Let's
set length= to the virtual size instead which is what ignore_padding
does behind the scenes so we're compatible with older versions of
pefile.
Yu Watanabe [Thu, 10 Aug 2023 18:18:36 +0000 (03:18 +0900)]
Merge pull request #28767 from poettering/epoll-eperm-journalctl
journalctl epoll/EPERM follow-up
Michal Koutný [Wed, 9 Aug 2023 19:31:58 +0000 (21:31 +0200)]
mkosi: Copy sources under /usr in the image
Originally, the source code was copied under /root/src.
This home directory is part of root FS and the new mkosi building
paradigm has only ephemeral root FS that is generated lazily.
Any files placed on the root FS in the build environment are that
excluded from the final image.
It is useful to have source codes available in the image's runtime (not
build time) environment for debugging.
ExtraTrees= as used currently are ineffective, so change the destination
to copy files under /usr to achieve the intention.
gdb sees source files as:
> 1354 ../src/src/systemctl/systemctl.c: No such file or directory.
Modify gdb configration in the built image accordingly (that file cannot
be in /root neither) to resolve to the moved sources.
(Commit
fdecbf7 ("Enable unprivileged image builds") envisions bind
mounting or virtiofsd for nspawn or qemu containers respectively.)
Luca Boccassi [Thu, 10 Aug 2023 18:13:45 +0000 (19:13 +0100)]
Merge pull request #28743 from mrc0mmand/lint-python-scripts
tools: lint Python scripts
Lennart Poettering [Wed, 9 Aug 2023 09:37:46 +0000 (11:37 +0200)]
tmpfiles: move static vars into Context object
Same as #28722, but for tmpfiles rather than sysusers
Franck Bui [Tue, 8 Aug 2023 09:40:36 +0000 (11:40 +0200)]
test: testsuite-35.sh needs manual/test-session-properties to be installed on SUSE
Frantisek Sumsal [Wed, 9 Aug 2023 19:57:47 +0000 (21:57 +0200)]
Add .pylintrc to globally suppress warnings we don't really care about
Also, drop the respective disable directives from existing files.
Frantisek Sumsal [Thu, 10 Aug 2023 09:10:28 +0000 (11:10 +0200)]
tools: pylint meson-render-jinja2.py
Frantisek Sumsal [Wed, 9 Aug 2023 19:54:28 +0000 (21:54 +0200)]
tools: pylint analyze-dump-sort.py
Frantisek Sumsal [Wed, 9 Aug 2023 19:53:45 +0000 (21:53 +0200)]
tools: pylint dump-auxv.py
Frantisek Sumsal [Wed, 9 Aug 2023 19:44:36 +0000 (21:44 +0200)]
tools: pylint gdb-sd_dump_hashmaps.py
Frantisek Sumsal [Wed, 9 Aug 2023 19:43:08 +0000 (21:43 +0200)]
tools: pylint list-discoverable-partitions.py
Frantisek Sumsal [Mon, 17 Jul 2023 20:51:19 +0000 (22:51 +0200)]
tools: pylint xml_helper.py