From 1dd7b0aecec9185e669e24077bef3d95562c87f5 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 18 Feb 2017 21:51:19 +0000 Subject: [PATCH] Fix a few minor issues git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18341 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general/sysutils/logrotate.xml | 14 ++++++++------ postlfs/filesystems/smartmontools.xml | 16 ++++++++++++++++ postlfs/security/tripwire.xml | 9 +++++++++ pst/scanning/sane.xml | 2 +- server/major/vsftpd.xml | 6 +++--- 5 files changed, 37 insertions(+), 10 deletions(-) diff --git a/general/sysutils/logrotate.xml b/general/sysutils/logrotate.xml index 901028d86f..3800398112 100644 --- a/general/sysutils/logrotate.xml +++ b/general/sysutils/logrotate.xml @@ -100,8 +100,9 @@ command: -./autogen.sh && -./configure --prefix=/usr && +sed 's/-Werror//' Makefile.am && +./autogen.sh && +./configure --prefix=/usr && make @@ -115,16 +116,17 @@ make make install - + Configuring Logrotate diff --git a/postlfs/filesystems/smartmontools.xml b/postlfs/filesystems/smartmontools.xml index 71dc96117e..67e7d2af74 100644 --- a/postlfs/filesystems/smartmontools.xml +++ b/postlfs/filesystems/smartmontools.xml @@ -97,6 +97,22 @@ make make install + + + + Configuring smartmontools + + + Config File + + /etc/smartd.conf + + + + /etc/smartd.conf + + + Configuration Information diff --git a/postlfs/security/tripwire.xml b/postlfs/security/tripwire.xml index 95c6e4322e..2d799809f3 100644 --- a/postlfs/security/tripwire.xml +++ b/postlfs/security/tripwire.xml @@ -128,6 +128,15 @@ cp -v policy/*.txt /usr/share/doc/tripwire-&tripwire-version; + + + Another issue when scripting is that the installer exits when the + standard input is not a terminal. You may disable this beahvior + with the following sed: + + +sed '/-t 0/,+3d' -i installer/install.sh + diff --git a/pst/scanning/sane.xml b/pst/scanning/sane.xml index 95249a3ce3..4c75fb54e5 100644 --- a/pst/scanning/sane.xml +++ b/pst/scanning/sane.xml @@ -161,7 +161,7 @@ group. Create this group by issuing the following commands as the root user: -groupadd -g 70 scanner +groupadd -g 70 scanner diff --git a/server/major/vsftpd.xml b/server/major/vsftpd.xml index 0ac1552997..cf82bf6735 100644 --- a/server/major/vsftpd.xml +++ b/server/major/vsftpd.xml @@ -181,11 +181,11 @@ EOF /etc/vsftpd.conf file (as the root user): -cat >> /etc/vsftpd.conf << "EOF" +cat >> /etc/vsftpd.conf << "EOF" local_enable=YES EOF - In additon, if using Linux-PAM and + In addition, if using Linux-PAM and vsftpd with local user logins, you will need a Linux-PAM configuration file. As the root user, create the @@ -193,7 +193,7 @@ EOF configuration changes for Linux-PAM session support using the following commands: -cat > /etc/pam.d/vsftpd << "EOF" && +cat > /etc/pam.d/vsftpd << "EOF" && # Begin /etc/pam.d/vsftpd auth required /lib/security/pam_listfile.so item=user sense=deny \ file=/etc/ftpusers \