smartmontools: Add the smartd systemd unit provided by the package

cifs-utils: Remove unnecessary autoreconf

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24076 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Douglas R. Reno 2021-01-06 04:57:47 +00:00
parent bbeb20fbaf
commit 5a38f35eeb
3 changed files with 39 additions and 19 deletions

View File

@ -44,6 +44,13 @@
<listitem>
<para>January 5th, 2021</para>
<itemizedlist>
<listitem revision="systemd">
<para>[renodr] - Introduce the systemd unit for smartmontools.</para>
</listitem>
<listitem>
<para>[renodr] - Remove an unnecessary "autoreconf -fiv" command from
cifs-utils.</para>
</listitem>
<listitem>
<para>[renodr] - Update to node.js-14.15.4 (Security Update). Fixes
<ulink url="&blfs-ticket-root;14462">#14462</ulink>.</para>

View File

@ -125,14 +125,12 @@
commands:
</para>
<screen revision="sysv"><userinput>autoreconf -fiv &amp;&amp;
./configure --prefix=/usr \
<screen revision="sysv"><userinput>./configure --prefix=/usr \
--disable-pam \
--disable-systemd &amp;&amp;
make</userinput></screen>
<screen revision="systemd"><userinput>autoreconf -fiv &amp;&amp;
./configure --prefix=/usr \
<screen revision="systemd"><userinput>./configure --prefix=/usr \
--disable-pam &amp;&amp;
make</userinput></screen>

View File

@ -104,7 +104,6 @@ make</userinput></screen>
<screen revision="systemd"><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--with-initscriptdir=no \
--docdir=/usr/share/doc/smartmontools-&smartmontools-version; &amp;&amp;
make</userinput></screen>
@ -120,6 +119,21 @@ make</userinput></screen>
</sect2>
<sect2 role="commands" revision="sysv">
<title>Command Explanations</title>
<para>
<parameter>--with-initscriptdir=no</parameter>: This switch suppresses
the default initialization script. See below for the BLFS script.
</para>
<para>
<parameter>--with-libsystemd=no</parameter>: This switch disables support
for the sd-notify notification system provided by systemd.
</para>
</sect2>
<sect2 role="configuration">
<title>Configuring smartmontools</title>
@ -145,36 +159,37 @@ make</userinput></screen>
</sect3>
<sect3 id="smartmontoools-init" revision="sysv">
<title>Boot Script</title>
<sect3 id="smartmontoools-init">
<title><phrase revision="sysv">Boot Script</phrase>
<phrase revision="systemd">Systemd Unit</phrase></title>
<para>
<para revision="sysv">
If you want the <application>smartd</application> daemon to
start automatically when the system is booted, install the
<filename>/etc/rc.d/init.d/smartd</filename> init script included
in the <xref linkend="bootscripts"/> package.
</para>
<para revision="systemd">
If you want the <application>smartd</application> daemon to
start automatically when the system is booted, enable the
systemd unit provided by the package by executing the
following command as the
<systemitem class="username">root</systemitem> user:
</para>
<indexterm zone="smartmontools smartmontoools-init">
<primary sortas="f-smartd">smartd</primary>
</indexterm>
<screen role="root"><userinput>make install-smartd</userinput></screen>
<screen role="root" revision="sysv"><userinput>make install-smartd</userinput></screen>
<screen role="root" revision="systemd"><userinput>systemctl enable smartd</userinput></screen>
</sect3>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>--with-initscriptdir=no</parameter>: This switch suppresses
the default initialization script. See above for the BLFS script.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>