1
0
mirror of https://github.com/systemd/systemd synced 2026-02-25 16:54:44 +01:00

Compare commits

..

No commits in common. "1012c6ce76ce10772ece1c51b997b53b848054f5" and "3c47dc76bef2dd64e2f32c7a864ce089156c72c6" have entirely different histories.

3 changed files with 1 additions and 55 deletions

41
NEWS
View File

@ -103,13 +103,6 @@ CHANGES WITH 260 in spe:
EXPERIMENTAL at this point. We reserve the right to make incompatible
changes to the JSON structure and/or place additional requirements.
* A new "mstack" feature has been introduced, to allowing defining an
overlayfs by structuring the content of an ".mstack/" directory
following this specification.
* A new 'verity' NVPCR has been added. Various components measure
dm-verity images to it upon loading.
Changes in the system and user managers:
* Systemd now uses ANSI CSI 18 sequence to query terminal size. This
@ -125,18 +118,6 @@ CHANGES WITH 260 in spe:
automatically binds all sockets created by the unit to a specific
network interface.
* A new pair of unit settings ConditionPathIsSocket= and
AssertPathIsSocket have been introduced that evaluate whether the
given path is a socket, and respectively skips or fails the unit
otherwise.
* A new unit setting RootMStack= has been introduced, to support the
new "mstack" feature for services.
* The unit setting PrivateUsers= gained a new possible value "managed",
which automatically assigns a dynamic and transient range of 65536
UIDs/GIDs to the unit.
* EnqueueMarkedJobs() D-Bus method now has a Varlink counterpart.
* SetProperties() D-Bus method now has a Varlink counterpart. For now,
@ -201,11 +182,6 @@ CHANGES WITH 260 in spe:
* The timeout in the boot menu can be configured with the
io.systemd.boot.timeout= SMBIOS type 11 string.
* A new LoaderEntryPreferred setting has been added to systemd-boot that
is similar to LoaderEntryDefault, but that takes into the account boot
assessment logic, and will skip entires that have the tries-left counter
set to zero.
* bootctl's varlink interface gained a new Install() method for performing
systemd-boot installation/upgrade via IPC calls.
@ -272,23 +248,6 @@ CHANGES WITH 260 in spe:
--ephemeral option. This is similar to the functionality provided via
the same switch in systemd-nspawn.
* systemctl gained a new 'enqueue-marked-jobs' verb, which calls the
EnqueueMarkedJobs() D-Bus method. The '--marked' parameter, which was
previously used for the same purpose, is now deprecated.
* journalctl now implements a Varlink interface that exposes a
GetEntries() method, which allows retrieving journal entries.
* systemd-importd gained support for downloading OCI images. They will
be stored locally in the new "mstack" format, which then can be used
by various components.
* systemd-nspawn gained a new --mstack= parameter to support the new
"mstack" feature for containers.
* A new systemd-mstack command line tool has been introduced to support
the new "mstack" feature interactively.
* New options SYSTEMD_COLORS=auto-16, SYSTEMD_COLORS=auto-256, and
SYSTEMD_COLORS=auto-24bit have been added. They are like
SYSTEMD_COLORS=16, SYSTEMD_COLORS=256, and SYSTEMD_COLORS=24bit

View File

@ -270,7 +270,7 @@ static int build_group_json(sd_varlink *link, GroupRecord *gr, sd_json_variant *
(FLAGS_SET(gr->mask, USER_RECORD_PRIVILEGED) &&
!FLAGS_SET(stripped->mask, USER_RECORD_PRIVILEGED));
v = sd_json_variant_ref(stripped->json);
v = sd_json_variant_ref(gr->json);
r = add_nss_service(&v);
if (r < 0)
return r;

View File

@ -52,19 +52,6 @@ if command -v userdbctl >/dev/null; then
varlinkctl call --more -j /run/systemd/userdb/io.systemd.Multiplexer io.systemd.UserDatabase.GetMemberships '{ "service" : "io.systemd.Multiplexer" }' --graceful=io.systemd.UserDatabase.NoRecordFound | jq --seq .
varlinkctl call --oneway /run/systemd/userdb/io.systemd.Multiplexer io.systemd.UserDatabase.GetMemberships '{ "service" : "io.systemd.Multiplexer" }'
(! varlinkctl call --oneway /run/systemd/userdb/io.systemd.Multiplexer io.systemd.UserDatabase.GetMemberships '{ "service" : "io.systemd.Multiplexer" }' | grep .)
if command -v openssl >/dev/null && command -v groupadd >/dev/null; then
group=haldo
salt=waldo
getent group "$group" >/dev/null 2>&1 || groupadd "$group"
HASH="$(openssl passwd -6 -salt "$salt" baldo)"
groupmod -p "$HASH" "$group"
(! run0 -u testuser varlinkctl call --json=pretty \
/run/systemd/userdb/io.systemd.Multiplexer \
io.systemd.UserDatabase.GetGroupRecord \
'{"groupName":"haldo","service":"io.systemd.NameServiceSwitch"}' | grep waldo)
fi
fi
IDL_FILE="$(mktemp)"