Ignore:
Timestamp:
06/11/2016 05:26:20 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
cec6657e
Parents:
a9e71e2
Message:

[Systemd merge] - Chapter 16

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17478 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/rpcbind.xml

    ra9e71e2 r7b478500  
    8383    <title>Installation of rpcbind</title>
    8484
     85    <para revision="systemd">
     86      There should be a dedicated user and group to take control
     87      of the <command>rpcbind</command> daemon after it is started.
     88      Issue the following commands as the
     89      <systemitem class="username">root</systemitem> user:
     90    </para>
     91
     92<screen role="root" revision="systemd"><userinput>groupadd -g 28 rpc &amp;&amp;
     93useradd -c "RPC Bind Daemon Owner" -d /dev/null -g rpc \
     94        -s /bin/false -u 28 rpc</userinput></screen>
     95
    8596    <!-- Packages should adapt to standards, not the other way around -->
    8697    <para>In order to get <application>rpcbind</application> to work
     
    102113<screen revision="systemd"><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-tirpc_fix-1.patch &amp;&amp;
    103114
    104 ./configure --prefix=/usr       \
    105             --bindir=/sbin      \
    106             --with-rpcuser=root &amp;&amp;
     115./configure --prefix=/usr  \
     116            --bindir=/sbin \
     117            --with-rpcuser=rpc &amp;&amp;
    107118make</userinput></screen>
    108119
     
    118129    <title>Command Explanations</title>
    119130
    120     <para><command>--with-rpcuser=root</command>: This works around an error in
    121     the configure script.</para>
     131    <para revision="sysv"><command>--with-rpcuser=root</command>: This works
     132    around an error in the configure script.</para>
    122133
    123134    <para revision="sysv"><command>--without-systemdsystemunitdir</command>:
    124135    BLFS does not support systemd.</para>
    125136
     137    <para revision="systemd"><parameter>--with-rpcuser=rpc</parameter>:
     138    This switch is used so the <command>rpcbind</command> daemon will
     139    run as an unprivileged user instead of the
     140    <systemitem class="username">root</systemitem> user.</para>
     141
    126142  </sect2>
    127143
     
    130146
    131147    <sect3 id="rpcbind-init">
    132       <title>Boot Script</title>
    133 
    134       <para>Install the <filename>/etc/rc.d/init.d/rpcbind</filename> init
    135       script included in the <xref linkend="bootscripts" revision="sysv"/>
     148      <title><phrase revision="sysv">Boot Script</phrase>
     149             <phrase revision="systemd">Systemd Unit</phrase></title>
     150
     151      <para>Install the
     152      <phrase revision="sysv"><filename>/etc/rc.d/init.d/rpcbind</filename>
     153      init script</phrase>
     154      <phrase revision="systemd"><filename>rpcbind.service</filename>
     155      unit</phrase> included in the
     156      <xref linkend="bootscripts" revision="sysv"/>
    136157      <xref linkend="systemd-units" revision="systemd"/> package.</para>
    137158
    138       <indexterm zone="rpcbind rpcbind-init">
     159      <indexterm zone="rpcbind rpcbind-init" revision="sysv">
    139160         <primary sortas="f-rpcbind">rpcbind</primary>
     161      </indexterm>
     162
     163      <indexterm zone="rpcbind rpcbind-init" revision="systemd">
     164         <primary sortas="f-rpcbind">rpcbind.service</primary>
    140165      </indexterm>
    141166
Note: See TracChangeset for help on using the changeset viewer.