Пакет libnss-myhostname: Информация

  • Default inline alert: Версия в репозитории: 254.10-alt1

Бинарный пакет: libnss-myhostname
Версия: 252.7-alt1
Архитектура: x86_64
Собран:  7 марта 2023 г. 21:19 в задании #316321
Исходный пакет: systemd
Сообщить об ошибке в пакете
Домашняя страница: https://systemd.io/

Лицензия: LGPLv2.1+
О пакете: nss-myhostname provide hostname resolution for the locally configured system hostname
Описание: 
nss-myhostname is a plugin for the GNU Name Service Switch (NSS)
functionality of the GNU C Library (glibc) providing host name
resolution for the locally configured system hostname as returned by
gethostname(2). Various software relies on an always resolvable local
host name. When using dynamic hostnames this is usually achieved by
patching /etc/hosts at the same time as changing the host name. This
however is not ideal since it requires a writable /etc file system and
is fragile because the file might be edited by the administrator at
the same time. nss-myhostname simply returns all locally configure
public IP addresses, or -- if none are configured -- the IPv4 address
127.0.0.2 (wich is on the local loopback) and the IPv6 address ::1
(which is the local host) for whatever system hostname is configured
locally. Patching /etc/hosts is thus no longer necessary.

It is necessary to change "hosts" in /etc/nsswitch.conf to
hosts: files myhostname

Сопровождающий: Alexey Shabalin


Последнее изменение


6 марта 2023 г. Alexey Shabalin 1:252.7-alt1
- 252.7
18 февраля 2023 г. Alexey Shabalin 1:252.6-alt1
- 252.6
7 февраля 2023 г. Alexey Shabalin 1:252.5-alt1
- 252.5
- Set default status format to combined.
- Added "98-default-mac-none.link" to keep default MAC address of bridge/bond/team
- Set create-log-dirs to false and mkdir for journal in spec (fixed ALT#44399)