redhat-plumbers / systemd-rhel9 Goto Github PK
View Code? Open in Web Editor NEW9️⃣ systemd source-git for RHEL9
License: GNU General Public License v2.0
9️⃣ systemd source-git for RHEL9
License: GNU General Public License v2.0
Line 188 in 8f57d9c
https://github.com/openSUSE/systemd/blob/6c83054c0133eb53245e479d71589dceff76cf74/TODO#L957
based on https://www.freedesktop.org/software/systemd/man/crypttab.html
NUL RANDOM /cryptsetup/ VOLUME
In other words: a NUL byte (as required for abstract namespace sockets), followed by a random string (consisting of alphanumeric characters only), followed by the literal string "/cryptsetup/", followed by the name of the volume to acquire they key for. For example, for the volume "myvol":\0d7067f78d9827418/cryptsetup/myvol
and my /etc/crypttab is
# <target name> <source device> <key file> <options>
rootfs UUID=a5ba171f-d9a1-4874-b898-931ffd29a017 \0volcengine/cryptsetup/rootfs luks
but when update-initramfs, i see the following warns:
cryptsetup: WARNING: rootfs: keyfile 'volcengine/cryptsetup/rootfs' not found
cryptsetup: WARNING: Skipping root target rootfs: uses a key file
and /cryptroot/crypttab in the generated initrd.img is empty
It would be great to have this in RHEL 9 (especially for making tests more reliable, like TEST-64-UDEV-STORAGE and TEST-58-REPART), however, it might pull in a lot of other stuff.
Main PRs:
Follow-ups:
Once https://gitlab.com/redhat/centos-stream/rpms/systemd/-/merge_requests/26 is merged we need to force push main branch in this repo to make sure that state of c9s dist-git and this repository correspond to each other.
In the MR I've dropped all current downstream patches except patch from #5. Hence the new state of this repo should be systemd-v249 plus one commit from #5.
Recently we have merged couple of PRs into main
that contained incorrect bug references. Commit messages in those PRs referred to bugs for RHEL-9 Beta while they should have referred to RHEL-9.0 clones. In order to not create confusion we should revert those, force push the main
branch and resubmit all those PRs.
This is the tracker where I will summarise work items that need to happen in order to successfully deliver new systemd version v250 in RHEL-9.
main
branch (systemd-stable/v250-stable + RHEL-only patches)main
to v250.3
+ downstream patches (i.e. content from previous item)main
rhel-9.0.0
network naming scheme@jamacku we need to wait with this one until systemd/systemd#25661 is sorted out. On top of that we will need to change rpm macros and add --no-warn
to systemctl invocations.
Originally posted by @msekletar in #124 (comment)
systemd version the issue has been seen with
latest main
Used distribution
CentOS 8 Stream
I'm not sure what's changed, but when running CentOS CI on the latest main, systemd-nspawn keep dying when running tests in unprivileged containers:
+ env --unset=UNIFIED_CGROUP_HIERARCHY --unset=SYSTEMD_NSPAWN_UNIFIED_HIERARCHY timeout --foreground 600 /root/systemd/build/systemd-nspawn --register=no --kill-signal=SIGKILL --directory=/var/tmp/systemd-test-TEST-01-BASIC/unprivileged-nspawn-root --setenv=SYSTEMD_UNIT_PATH=/usr/lib/systemd/tests/testdata/testsuite-01.units:/usr/lib/systemd/tests/testdata/units: -U --private-network --machine=TEST-01-BASIC /usr/lib/systemd/systemd systemd.unit=testsuite.target systemd.wants=testsuite-01.service systemd.wants=end.service user_namespace.enable=1 systemd.unified_cgroup_hierarchy=0 systemd.legacy_systemd_cgroup_controller=1
Spawning container TEST-01-BASIC on /var/tmp/systemd-test-TEST-01-BASIC/unprivileged-nspawn-root.
Press ^] three times within 1s to kill container.
Selected user namespace base 590217216 and range 65536.
Failed to set up ID mapped mounts: Operation not permitted
Short read while reading cgroup mode (0 bytes). The child is most likely dead.
E: nspawn failed with exit code 1
Example jobs:
Note that there are specfile changes that need be introduced to fully fix the issue reported in https://bugzilla.redhat.com/show_bug.cgi?id=1972223
Originally posted by @msekletar in #24 (comment)
see #252 (comment). Opening this mainly as a reminder for myself to look into it.
Following issues popped up in upstream that we should probably patch in 9.2 as well. I'm opening a tracker issue instead of doing the backports directly, because the patches are not yet merged in upstream.
Issue: systemd/systemd#26872
Issue: systemd/systemd#24452 (comment)
Issue: systemd/systemd#26912
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.