summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--INSTALL2
-rw-r--r--doc/index.html8
-rw-r--r--doc/libnsss/index.html4
-rw-r--r--doc/overview.html6
-rwxr-xr-xexamples/openrc/nsssd6
6 files changed, 15 insertions, 12 deletions
diff --git a/AUTHORS b/AUTHORS
index 1a38c57..ddbbded 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -3,3 +3,4 @@ Main author:
Thanks to:
A. Wilcox <AWilcox@Wilcox-Tech.com>
+ Elizabeth Meyers <elizabeth@interlinked.me>
diff --git a/INSTALL b/INSTALL
index 247834f..c4fa948 100644
--- a/INSTALL
+++ b/INSTALL
@@ -6,7 +6,7 @@ Build Instructions
- A POSIX-compliant C development environment
- GNU make version 3.81 or later
- - skalibs version 2.6.5.0 or later: http://skarnet.org/software/skalibs/
+ - skalibs version 2.7.0.0 or later: http://skarnet.org/software/skalibs/
This software will run on any operating system that implements
POSIX.1-2008, available at:
diff --git a/doc/index.html b/doc/index.html
index d4b7861..5e54afb 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -81,11 +81,11 @@ functions.
<li> A POSIX-compliant system with a standard C development environment </li>
<li> GNU make, version 3.81 or later </li>
<li> <a href="//skarnet.org/software/skalibs/">skalibs</a> version
-2.6.5.0 or later. It's a build-time requirement. It's also a run-time
+2.7.0.0 or later. It's a build-time requirement. It's also a run-time
requirement if you link against the shared version of the skalibs
library. </li>
<li> <a href="//skarnet.org/software/s6/">s6</a> version
-2.7.1.1 or later. It's a <em>run-time</em> requirement only, to run
+2.7.2.0 or later. It's a <em>run-time</em> requirement only, to run
the nsssd service (and can be done without if you have a suitable replacement
for <a href="//skarnet.org/software/s6/s6-ipcserver">s6-ipcserver</a>). </li>
</ul>
@@ -141,8 +141,8 @@ backend to the name service.
</p>
<ul>
- <li> The <a href="nsssd-unix"><tt>nsssd-unix</tt></a> program </li>
- <li> The <a href="nsssd-nslcd"><tt>nsssd-nslcd</tt></a> program </li>
+ <li> The <a href="nsssd-unix.html"><tt>nsssd-unix</tt></a> program </li>
+ <li> The <a href="nsssd-nslcd.html"><tt>nsssd-nslcd</tt></a> program </li>
</ul>
<p>
diff --git a/doc/libnsss/index.html b/doc/libnsss/index.html
index ac99e54..fa47a7b 100644
--- a/doc/libnsss/index.html
+++ b/doc/libnsss/index.html
@@ -38,7 +38,7 @@ various server-side daemons such as
functions that try connecting to a nsssd service first, and fall
back to the <a href="nsss-unix.html">nsss-unix</a> implementation
if the connection fails (no nsssd service is running). </li>
-</p>
+</ul>
<p>
Both <a href="nsss-unix.html">nsss-unix</a> and
@@ -136,7 +136,7 @@ desired. </li>
<ul>
<li> Make sure the nsss library, as well as the skalibs library,
are visible in your library search path. </li>
- <li> Link against <tt>-lnsss</tt>, <tt>-lskarnet</tt>, </li>
+ <li> Link against <tt>-lnsss</tt>, <tt>-lskarnet</tt>, <tt>-lpthread</tt>,
<tt>`cat $SYSDEPS/socket.lib`</tt> and
<tt>`cat $SYSDEPS/tainnow.lib`</tt>, $SYSDEPS being your skalibs
sysdeps directory. </li>
diff --git a/doc/overview.html b/doc/overview.html
index 047bea6..4eec53f 100644
--- a/doc/overview.html
+++ b/doc/overview.html
@@ -41,11 +41,11 @@ than the POSIX interface specifies.
<li> <a href="libnsss/nsss-unix.html">nsss-unix</a>: a set of
functions providing access to the standard <tt>/etc/passwd</tt>,
<tt>/etc/group</tt> and <tt>/etc/shadow</tt> files. </li>
- <li> <a href="libnsss/nsss-switch.html">nsss-switch: a set of
+ <li> <a href="libnsss/nsss-switch.html">nsss-switch</a>: a set of
functions implementing the same functionality as <tt>nsss-unix</tt>,
but instead of looking for information in the standard files, they
connect to a <em>nsssd service</em> (see below) that performs the
-requests for them. <li>
+requests for them. </li>
<li> three implementations of the the standard <tt>getpwnam()</tt>
et al. functions: one using the <tt>nsss-unix</tt> functions, one
using the <tt>nsss-switch</tt> functions, and the default one, called
@@ -53,7 +53,7 @@ using the <tt>nsss-switch</tt> functions, and the default one, called
and retrieve information from it, but falls back to the <tt>nsss-unix</tt>
implementation if it fails (for instance, if no nsssd service is
listening). </li>
-<ul>
+</ul>
<p>
Applications wishing to use nsss should be built against this client
diff --git a/examples/openrc/nsssd b/examples/openrc/nsssd
index 8a0c412..1221f89 100755
--- a/examples/openrc/nsssd
+++ b/examples/openrc/nsssd
@@ -1,6 +1,8 @@
#!/sbin/openrc-run
name="nsssd"
-command="s6-ipcserver -- /run/service/nsssd/s nsssd-unix"
+command="s6-envuidgid"
+command_args="nsss s6-ipcserver -U -- /run/service/nsssd/s nsssd-unix"
+command_background=yes
pidfile="/run/service/nsssd/nsssd.pid"
-start_stop_daemon_args="-b -m -c nsssd -d /run/service/nsssd"
+start_stop_daemon_args="-d /run/service/nsssd"