Skip to contentSkip to conversation

nsswitch.conf.5: Current glibc reloads this configuration file

PATCH New Florian Weimer 1 participant 1 message Nov 4, 2022 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 nsswitch.conf.5: Current glibc reloads this configuration file

The implementation happened across multiple glibc commits, but the work was completed for glibc 2.33.

---
v2: Semantic line breaks.

 man5/nsswitch.conf.5 | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
man5/nsswitch.conf.5 +7 -5
index 098585cf1..b4c5b865a 100644
@@ -402,11 +402,13 @@ for respective databases:
 .PD
 .RE
 .SH NOTES
-Within each process that uses
-.BR nsswitch.conf ,
-the entire file is read only once.
-If the file is later changed, the
-process will continue using the old configuration.
+Starting with glibc 2.33,
+.\" https://sourceware.org/bugzilla/show_bug.cgi?id=12459
+.B nsswitch.conf
+is automatically reloaded if the file is changed.
+In earlier versions, the entire file was read only once within each process.
+If the file was later changed,
+the process would continue using the old configuration.
 .PP
 Traditionally, there was only a single source for service information,
 often in the form of a single configuration

base-commit: b106cd5bf43fe806100bb5266b78f92bac90b6e0