mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
483dbe9237
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. |
||
---|---|---|
.. | ||
0001-Start-device-units-for-uninitialised-encrypted-devic.patch | ||
0002-Don-t-try-to-unmount-nix-or-nix-store.patch | ||
0003-Fix-NixOS-containers.patch | ||
0004-Look-for-fsck-in-the-right-place.patch | ||
0005-Add-some-NixOS-specific-unit-directories.patch | ||
0006-Get-rid-of-a-useless-message-in-user-sessions.patch | ||
0007-hostnamed-localed-timedated-disable-methods-that-cha.patch | ||
0008-Fix-hwdb-paths.patch | ||
0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch | ||
0010-localectl-use-etc-X11-xkb-for-list-x11.patch | ||
0011-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch | ||
0012-Install-default-configuration-into-out-share-factory.patch | ||
0013-inherit-systemd-environment-when-calling-generators.patch | ||
0014-add-rootprefix-to-lookup-dir-paths.patch | ||
0015-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch | ||
0016-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch | ||
0017-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch | ||
0018-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch | ||
cryptsetup-generator.nix | ||
default.nix |