Since5c6bb28999image_discover() uses chaseat() to chase the path to the image. This however breaks the raw image check in image_make() as "path" is now not the symlink itself, but the symlink target. So with: $ ls -l /var/lib/machines total 872104 lrwxrwxrwx. 1 root root 12 Jul 14 06:10 foo.raw -> foo.squashfs -rw-r--r--. 1 root root 5368709120 Jul 13 02:07 foo.squashfs The endswith(path, ".raw") check is now performed on "/.../foo.squashfs" instead of "/.../foo.raw", making it false and thus ignoring the image symlink completely. Address this by also checking if the pretty name is set - if so, and the path is a regular file, the caller must've been image_find() or image_discover() which already checked if the original path ends in .raw and is a regular file. Follow-up for5c6bb28999. Resolves: #41656
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel
Stable branches with backported patches are available in the stable repo.
We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack
Repositories with distribution packages built from git main are available on OBS, and also repositories with packages built from the latest stable release
