From efeb864cb547a2cbf96dc0053a8bdb4d9190b364 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:45 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- man/org.freedesktop.hostname1.xml | 62 +++++++++++++++++++++++++-------------- 1 file changed, 40 insertions(+), 22 deletions(-) (limited to 'man/org.freedesktop.hostname1.xml') diff --git a/man/org.freedesktop.hostname1.xml b/man/org.freedesktop.hostname1.xml index 0c5b0f2..d16ae9a 100644 --- a/man/org.freedesktop.hostname1.xml +++ b/man/org.freedesktop.hostname1.xml @@ -1,7 +1,7 @@ %entities; ]> @@ -99,6 +99,8 @@ node /org/freedesktop/hostname1 { readonly ay MachineID = [...]; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly ay BootID = [...]; + @org.freedesktop.DBus.Property.EmitsChangedSignal("const") + readonly u VSockCID = ...; }; interface org.freedesktop.DBus.Peer { ... }; interface org.freedesktop.DBus.Introspectable { ... }; @@ -106,24 +108,6 @@ node /org/freedesktop/hostname1 { }; - - - - - - - - - - - - - - - - - - @@ -196,6 +180,8 @@ node /org/freedesktop/hostname1 { + + Whenever the hostname or other metadata is changed via the daemon, @@ -287,6 +273,34 @@ node /org/freedesktop/hostname1 { purpose of those properties is to allow remote clients to access this information over D-Bus. Local clients can access the information directly. + MachineID expose the 128bit machine ID, see + machine-id5 for + details. + + BootID expose the 128bit boot ID, as per + /proc/sys/kernel/random/boot_id. + + VSockCID exposes the system's local AF_VSOCK CID (Context + Identifier, i.e. address) for the system, if one is available in the virtual machine environment. Set to + UINT32_MAX otherwise. See vsock7 for + details. + + OperatingSystemSupportEnd exposes when the OS' vendor support ends, if this + information is known. It's an unsigned 64bit value, in µs since the UNIX epoch, UTC. If this information + is not known carries the value 2^64-1, i.e. UINT64_MAX. + + HardwareVendor and HardwareModel expose information about the + vendor of the hardware of the system. If no such information can be determined these properties are set + to empty strings. + + FirmwareVersion and FirmwareVendor expose information about + the system's firmware, i.e. a version string and a vendor name. If no such information can be determined + these properties are set to empty strings. + + FirmwareDate exposes the firmware build date, if that information is known. It's + an unsigned 64bit value, in µs since the UNIX epoch, UTC. If not known + UNIT64_MAX. + Methods @@ -321,6 +335,10 @@ node /org/freedesktop/hostname1 { requires root privileges, and this method allows access to unprivileged clients through the polkit framework. + GetHardwareSerial() returns the "hardware serial" as exposed by the kernel + based on DMI information. Reading the file directly requires root privileges, and this method allows + access to unprivileged clients through the polkit framework. + Describe() returns a JSON representation of all properties in one. @@ -425,7 +443,7 @@ node /org/freedesktop/hostname1 { - See also + See Also David Zeuthen's original Fedora Feature page about xdg-hostname @@ -440,8 +458,8 @@ node /org/freedesktop/hostname1 { OperatingSystemSupportEnd, FirmwareVendor, and FirmwareDate were added in version 253. - MachineID, and - BootID were added in version 256. + MachineID, BootID and + VSockCID were added in version 256. -- cgit v1.2.3