nixpkgs-suyu/pkgs/os-specific/linux/systemd
Michael Weiss 483dbe9237 systemd: Allow setting the transient hostname via DHCP
This permits using method_set_hostname but still denies
method_set_static_hostname. As a result DHCP clients can now always set
the transient hostname via the SetHostname method of the D-Bus interface
of systemd-hostnamed (org.freedesktop.hostname1.set-hostname).
If the NixOS option networking.hostName is set to an empty string (or
"localhost") the static hostname (kernel.hostname but NOT /etc/hostname)
will additionally be updated (this is intended).

From "man hostnamectl": The transient hostname is a fallback value
received from network configuration. If a static hostname is set, and is
valid (something other than localhost), then the transient hostname is
not used.

Fix #74847.

Note: It's possible to restrict access to the org.freedesktop.hostname1
interface using Polkit rules.
2020-07-11 00:05:41 +02:00
..
0001-Start-device-units-for-uninitialised-encrypted-devic.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0002-Don-t-try-to-unmount-nix-or-nix-store.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0003-Fix-NixOS-containers.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0004-Look-for-fsck-in-the-right-place.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0005-Add-some-NixOS-specific-unit-directories.patch Merge pull request #90333 from flokli/systemd-245.6 2020-06-15 17:51:33 +02:00
0006-Get-rid-of-a-useless-message-in-user-sessions.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0007-hostnamed-localed-timedated-disable-methods-that-cha.patch systemd: Allow setting the transient hostname via DHCP 2020-07-11 00:05:41 +02:00
0008-Fix-hwdb-paths.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0010-localectl-use-etc-X11-xkb-for-list-x11.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0011-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0012-Install-default-configuration-into-out-share-factory.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0013-inherit-systemd-environment-when-calling-generators.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0014-add-rootprefix-to-lookup-dir-paths.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0015-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0016-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0017-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
0018-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch systemd: 245.5 -> 245.6 2020-06-14 14:26:39 +02:00
cryptsetup-generator.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
default.nix Merge pull request #90333 from flokli/systemd-245.6 2020-06-15 17:51:33 +02:00