1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00
The systemd System and Service Manager
Go to file
Lennart Poettering 11ce3ea2f2 kernel-install: don't try to persist used machine ID locally
This reworks the how machine ID used by the boot loader spec snippet
generation logic. Instead of persisting it automatically to /etc/ we'll
append it via systemd.machined_id= to the kernel command line, and thus
persist it in the generated boot loader spec snippets instead. This has
nice benefits:

  1. We do not collide with read-only root
  2. The machine ID remains stable across factory reset, so that we can
     safely recognize the path in $BOOT we drop our kernel images in
     again, i.e. kernel updates will work correctly and safely across
     kernel factory resets.
  3. Previously regular systems had different machine IDs while in
     initrd and after booting into the host system. With this change
     they will now have the same.

This then drops implicit persisting of KERNEL_INSTALL_MACHINE_ID, as its
unnecessary then. The field is still honoured though, for compat
reasons.

This also drops the "Default" fallback previously used, as it actually
is without effect, the randomized ID generation already took precedence
in all cases. This means $MACHNE_ID/KERNEL_INSTALL_MACHINE_ID are now
guaranteed to look like a proper machine ID, which is useful for us,
given you need it that way to be able to pass it to the
systemd.machine_id= kernel command line option.
2022-03-11 11:34:34 +01:00
.clusterfuzzlite ci: merge seed corpora with public OSS-Fuzz corpora on CFLite 2022-01-30 10:17:25 +00:00
.github ci: make the concurrency group identifier unique once again 2022-03-07 19:42:14 +00:00
.lgtm/cpp-queries ci: pack-ify our custom CodeQL queries and enable them in Actions 2021-12-07 14:57:09 +01:00
.semaphore test: check systemd RPM macros 2022-03-06 13:07:20 +09:00
catalog meson: do not use split() in file lists 2022-03-02 14:49:32 +01:00
coccinelle coccinelle: automatically look for timestamp_is_set candidates 2022-02-22 22:47:12 +01:00
docs docs: add more links for portabled 2022-03-07 14:32:16 +01:00
factory factory/locale.conf: mention systemd ownership 2021-12-23 14:18:02 +00:00
hwdb.d Fix mic mute on Acer TravelMate B311-31 (#22677) 2022-03-08 23:10:51 +09:00
LICENSES network: license all config files as CC0 2022-01-12 16:05:59 +01:00
man Merge pull request #22618 from yuwata/network-safe-string 2022-03-11 11:33:07 +01:00
mkosi.default.d mkosi: Add centos_epel config 2022-02-25 16:17:29 +00:00
modprobe.d meson: install the right README file in modprobe.d 2021-07-07 14:52:05 +02:00
network network: add example file that enables DHCP on ethernet links 2022-01-12 16:05:59 +01:00
po po: Translated using Weblate (Georgian) 2022-03-10 18:45:50 +00:00
presets units: enable systemd-network-generator by default 2021-12-16 09:49:39 +01:00
rules.d udev: 60-persistent-storage-tape.rules: handle duplicate device ID 2022-03-08 23:12:10 +09:00
shell-completion bus-dump: change capture output to use pcapng (#21738) 2021-12-25 15:07:40 +09:00
src kernel-install: don't try to persist used machine ID locally 2022-03-11 11:34:34 +01:00
sysctl.d build: preserve correct mode when generating files via jinja2 2021-11-08 12:06:48 +00:00
sysusers.d sysusers: avoid creating spurious "nobody" group 2021-11-30 16:16:25 +01:00
test Merge pull request #22618 from yuwata/network-safe-string 2022-03-11 11:33:07 +01:00
tmpfiles.d factory: populate /etc/locale.conf with systemd build-time setting 2021-12-23 11:01:12 +00:00
tools docs: swap Name and Partition Type UUID in header 2022-02-21 02:46:57 +01:00
units units: drop After=systemd-resolved.service from systemd-nspawn@.service 2022-02-24 10:37:11 +01:00
xorg xorg/50-systemd-user: add a full license header 2021-10-01 14:45:00 +02:00
.clang-format clang-format: we actually typically use 16ch continuation indentation 2022-02-22 17:32:50 +01:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig editorconfig: set maximum line length to 109 for man/*.xml files 2021-09-30 13:45:34 +02:00
.gitattributes gitattributes: introduce and use "generated" attribute 2021-10-18 09:42:55 +02:00
.gitignore gitignore: ignore mkosi.installdir 2022-03-11 09:34:04 +00:00
.lgtm.yml ci: add a missing SPDX header 2021-12-07 14:15:04 +01:00
.mailmap mailmap: two more names 2021-03-30 13:17:58 +02:00
.packit.yml Packit: build SRPMs in Copr 2022-03-09 09:52:41 +00:00
.vimrc scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
configure tools: shellcheck-ify tool scripts 2021-09-30 12:27:06 +02:00
LICENSE.GPL2
LICENSE.LGPL2.1
Makefile tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
meson_options.txt meson: allow skipping optional dependencies 2022-02-22 11:17:21 +00:00
meson.build tree-wide: fix typo 2022-03-07 15:32:22 +09:00
mkosi.build ci: check for failed services after boot 2021-12-10 10:25:43 +01:00
mkosi.postinst ci: check for failed services after boot 2021-12-10 10:25:43 +01:00
NEWS Merge pull request #22460 from bluca/monitor_refactor 2022-03-10 18:34:20 +01:00
README meson: Drop required libfdisk version to 2.32 2022-02-24 20:06:55 +00:00
README.md Fix loading of graphs 2021-12-14 15:27:25 +09:00
TODO update TODO 2022-03-09 14:25:43 +01:00

Systemd

System and Service Manager

Count of open issues over time Count of open pull requests over time Semaphore CI 2.0 Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
Language Grade: C/C++
CentOS CI - CentOS 8
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
Fossies codespell report
Coverage Status
Packaging status

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 or join our IRC channel.

Stable branches with backported patches are available in the stable repo.