mirror of
https://github.com/systemd/systemd
synced 2025-09-30 01:04:45 +02:00
Compare commits
2 Commits
77c93e0a4e
...
679dab6a8f
Author | SHA1 | Date | |
---|---|---|---|
![]() |
679dab6a8f | ||
![]() |
d481b83052 |
@ -134,18 +134,6 @@ systemd-logind:
|
|||||||
hibernation is available even if the swap devices do not provide enough room
|
hibernation is available even if the swap devices do not provide enough room
|
||||||
for it.
|
for it.
|
||||||
|
|
||||||
systemd-udevd:
|
|
||||||
|
|
||||||
* `$NET_NAMING_SCHEME=` – if set, takes a network naming scheme (i.e. one of
|
|
||||||
"v238", "v239", "v240"…, or the special value "latest") as parameter. If
|
|
||||||
specified udev's net_id builtin will follow the specified naming scheme when
|
|
||||||
determining stable network interface names. This may be used to revert to
|
|
||||||
naming schemes of older udev versions, in order to provide more stable naming
|
|
||||||
across updates. This environment variable takes precedence over the kernel
|
|
||||||
command line option `net.naming-scheme=`, except if the value is prefixed
|
|
||||||
with `:` in which case the kernel command line option takes precedence, if it
|
|
||||||
is specified as well.
|
|
||||||
|
|
||||||
* `$SYSTEMD_REBOOT_TO_FIRMWARE_SETUP` — if set overrides systemd-logind's
|
* `$SYSTEMD_REBOOT_TO_FIRMWARE_SETUP` — if set overrides systemd-logind's
|
||||||
built-in EFI logic of requesting a reboot into the firmware. Takes a
|
built-in EFI logic of requesting a reboot into the firmware. Takes a
|
||||||
boolean. If set to false the functionality is turned off entirely. If set to
|
boolean. If set to false the functionality is turned off entirely. If set to
|
||||||
@ -191,6 +179,18 @@ systemd-udevd:
|
|||||||
hence synthesize drop-in snippets and symlinks for all boot entries at boot
|
hence synthesize drop-in snippets and symlinks for all boot entries at boot
|
||||||
or whenever they change if it wants to integrate with systemd-logind's APIs.
|
or whenever they change if it wants to integrate with systemd-logind's APIs.
|
||||||
|
|
||||||
|
systemd-udevd:
|
||||||
|
|
||||||
|
* `$NET_NAMING_SCHEME=` – if set, takes a network naming scheme (i.e. one of
|
||||||
|
"v238", "v239", "v240"…, or the special value "latest") as parameter. If
|
||||||
|
specified udev's net_id builtin will follow the specified naming scheme when
|
||||||
|
determining stable network interface names. This may be used to revert to
|
||||||
|
naming schemes of older udev versions, in order to provide more stable naming
|
||||||
|
across updates. This environment variable takes precedence over the kernel
|
||||||
|
command line option `net.naming-scheme=`, except if the value is prefixed
|
||||||
|
with `:` in which case the kernel command line option takes precedence, if it
|
||||||
|
is specified as well.
|
||||||
|
|
||||||
installed systemd tests:
|
installed systemd tests:
|
||||||
|
|
||||||
* `$SYSTEMD_TEST_DATA` — override the location of test data. This is useful if
|
* `$SYSTEMD_TEST_DATA` — override the location of test data. This is useful if
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
#include "hashmap.h"
|
#include "hashmap.h"
|
||||||
#include "main-func.h"
|
#include "main-func.h"
|
||||||
#include "mount-util.h"
|
#include "mount-util.h"
|
||||||
|
#include "nscd-flush.h"
|
||||||
#include "pager.h"
|
#include "pager.h"
|
||||||
#include "path-util.h"
|
#include "path-util.h"
|
||||||
#include "pretty-print.h"
|
#include "pretty-print.h"
|
||||||
@ -798,6 +799,9 @@ static int write_files(void) {
|
|||||||
return r;
|
return r;
|
||||||
|
|
||||||
group_tmp = mfree(group_tmp);
|
group_tmp = mfree(group_tmp);
|
||||||
|
|
||||||
|
if (!arg_root && !arg_image)
|
||||||
|
(void) nscd_flush_cache(STRV_MAKE("group"));
|
||||||
}
|
}
|
||||||
if (gshadow) {
|
if (gshadow) {
|
||||||
r = rename_and_apply_smack_floor_label(gshadow_tmp, gshadow_path);
|
r = rename_and_apply_smack_floor_label(gshadow_tmp, gshadow_path);
|
||||||
@ -813,6 +817,9 @@ static int write_files(void) {
|
|||||||
return r;
|
return r;
|
||||||
|
|
||||||
passwd_tmp = mfree(passwd_tmp);
|
passwd_tmp = mfree(passwd_tmp);
|
||||||
|
|
||||||
|
if (!arg_root && !arg_image)
|
||||||
|
(void) nscd_flush_cache(STRV_MAKE("passwd"));
|
||||||
}
|
}
|
||||||
if (shadow) {
|
if (shadow) {
|
||||||
r = rename_and_apply_smack_floor_label(shadow_tmp, shadow_path);
|
r = rename_and_apply_smack_floor_label(shadow_tmp, shadow_path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user