/[gentoo-x86]/sys-auth/nss-myhostname/metadata.xml
Gentoo

Contents of /sys-auth/nss-myhostname/metadata.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Feb 8 21:46:41 2012 UTC (8 years, 1 month ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
File MIME type: application/xml
New ebuild for an nss module that ensures the system's hostname is always resolvable.

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3 <pkgmetadata>
4 <herd>freedesktop</herd>
5 <longdescription lang="en">
6 nss-myhostname is a plugin for the GNU Name Service Switch (NSS) functionality
7 of the GNU C Library (glibc) providing host name resolution for the locally
8 configured system hostname as returned by gethostname(2). Various software
9 relies on an always resolvable local host name. When using dynamic hostnames
10 this is usually achieved by patching /etc/hosts at the same time as changing
11 the host name. This however is not ideal since it requires a writable /etc
12 file system and is fragile because the file might be edited by the
13 administrator at the same time. nss-myhostname simply returns all locally
14 configure public IP addresses, or -- if none are configured -- the IPv4
15 address 127.0.0.2 (wich is on the local loopback) and the IPv6 address ::1
16 (which is the local host) for whatever system hostname is configured locally.
17 Patching /etc/hosts is thus no longer necessary.
18 </longdescription>
19 </pkgmetadata>

  ViewVC Help
Powered by ViewVC 1.1.20