Changeset cae7a6f
- Timestamp:
- 07/15/2014 07:51:11 AM (10 years ago)
- Branches:
- gnome
- Children:
- 5bc57bb
- Parents:
- e1df6e21
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
re1df6e21 rcae7a6f 1 1 <!-- $LastChangedBy$ $Date$ --> 2 2 3 <!ENTITY day "1 4"> <!-- Always 2 digits -->3 <!ENTITY day "15"> <!-- Always 2 digits --> 4 4 <!ENTITY month "07"> <!-- Always 2 digits --> 5 5 <!ENTITY year "2014"> -
general/sysutils/acpid.xml
re1df6e21 rcae7a6f 141 141 </para> 142 142 143 <sect3 id="acpid-init">144 <title>Boot Script</title>145 146 <para>147 To automatically start <command>acpid</command> when the system is148 rebooted, install the <filename>/etc/rc.d/init.d/acpid</filename>149 boot script from the <xref linkend="bootscripts"/> package.150 </para>151 152 <indexterm zone="acpid acpid-init">153 <primary sortas="f-acpid">acpid</primary>154 </indexterm>155 156 <screen role="root"><userinput>make install-acpid</userinput></screen>157 158 </sect3>159 160 143 <sect3 id="acpid-init-systemd"> 161 144 <title>Systemd Unit File</title> 162 145 163 146 <para> 164 Instead of using the classic boot script, systemd-units package provides a native unit file. 165 To install and enable systemd unit for this package, install the systemd unit from the. 166 <xref linkend="systemd-units"/> package as the <systemitem class="username">root</systemitem> user: 147 The systemd-units package provides a native unit file. 148 To install and enable the systemd unit for this package, 149 install the systemd unit from the. <xref linkend="systemd-units"/> 150 package as the <systemitem class="username">root</systemitem> user: 167 151 </para> 168 152 -
general/sysutils/at.xml
re1df6e21 rcae7a6f 107 107 --with-daemon_username=atd \ 108 108 --with-daemon_groupname=atd \ 109 --with-systemdsystemunitdir=/lib/systemd/system \ 109 110 SENDMAIL=/usr/sbin/sendmail && 110 111 make -j1</userinput></screen> … … 138 139 </sect3> 139 140 140 <sect3 id="at-init">141 <title>Boot Script</title>142 143 <para>Install the <filename>/etc/init.d/atd</filename> init script from144 the <xref linkend="bootscripts"/> package.</para>145 146 <indexterm zone="at at-init">147 <primary sortas="f-at">at</primary>148 </indexterm>149 150 <screen role="root"><userinput>make install-atd</userinput></screen>151 152 </sect3>153 154 141 <sect3 id="at-init-systemd"> 155 142 <title>Systemd Unit File</title> 156 143 157 <para>This package provides systemd unit in the source tarball. 158 To install it, add --with-systemdsystemunitdir=/lib/systemd/system to the configure line. 144 <para>This package provides a systemd unit in the source tarball. 159 145 To enable it, issue the following command as the 160 146 <systemitem class="username">root</systemitem> user: -
general/sysutils/autofs.xml
re1df6e21 rcae7a6f 116 116 ./configure --prefix=/ \ 117 117 --without-openldap \ 118 --with-systemd \ 118 119 --mandir=/usr/share/man && 119 120 make</userinput></screen> … … 138 139 <option>--with-libtirpc</option>: This switch enables libtirpc support if 139 140 available. 141 </para> 142 143 <para> 144 <option>--with-systemd</option>: This switch enables systemd support. 140 145 </para> 141 146 … … 250 255 </sect3> 251 256 252 <sect3 id="autofs-init">253 <title>Boot Script</title>254 255 <para> <application>autofs</application> installs its own boot script,256 but it has no capability for logging or visual conformance with other257 BLFS scripts.</para>258 259 <para>Install the <filename>/etc/init.d/autofs</filename> mount script260 included with the <xref linkend="bootscripts"/> package.</para>261 262 <indexterm zone="autofs autofs-init">263 <primary sortas="f-autofs-init">autofs</primary>264 </indexterm>265 266 <screen role="root"><userinput>make install-autofs</userinput></screen>267 268 <para>The time-out variable is set in269 <filename>/etc/sysconfig/autofs.conf</filename>. The installed file sets270 a default of 60 seconds of inactivity before unmounting the device. A271 much shorter time may be necessary to protect buffer writing to a floppy272 if users tend to remove the media prior to the timeout setting.</para>273 274 </sect3>275 276 257 <sect3 id="autofs-init-systemd"> 277 258 <title>Systemd Unit File</title> 278 259 279 <para> This package provides a systemd unit file in the source tarball. To install it, 280 add --with-systemd to the configure line.</para> 281 282 <para>To enable it, issue as the <systemitem class="username">root</systemitem> user:</para> 283 284 <indexterm zone="autofs autofs-init"> 260 <para> This package provides a systemd unit file in the source tarball. To enable it, 261 issue the following command as the <systemitem class="username">root</systemitem> 262 user:</para> 263 264 <indexterm zone="autofs autofs-init-systemd"> 285 265 <primary sortas="f-autofs-init">autofs</primary> 286 266 </indexterm> -
general/sysutils/bluez.xml
re1df6e21 rcae7a6f 238 238 </sect3> 239 239 240 <sect3 id="bluez-init">241 <title>Boot Script</title>242 243 <para>244 To automatically start the <command>bluetoothd</command> daemon when the245 system is rebooted, install the246 <filename>/etc/rc.d/init.d/bluetooth</filename> bootscript from the247 <xref linkend="bootscripts"/> package.248 </para>249 250 <indexterm zone="bluez bluez-init">251 <primary sortas="f-bluetooth">bluetooth</primary>252 </indexterm>253 254 <screen role="root"><userinput>make install-bluetooth</userinput></screen>255 256 </sect3>257 258 240 <sect3 id="bluez-init-systemd"> 259 241 <title>Systemd Unit File</title> … … 281 263 282 264 </sect3> 283 284 265 285 266 </sect2> -
general/sysutils/fcron.xml
re1df6e21 rcae7a6f 90 90 <para> 91 91 Systemd logging daemon, systemd-journald will automatically log 92 all the messages from the services started by systemd, so the initial 93 configuration for this package related to syslog is not required if using 94 this package in systemd environment. 92 all the messages from the services started by systemd. 95 93 </para> 96 94 </note> 97 98 <para id="fcron-syslog"><application>Fcron</application> uses the cron facility99 of <command>syslog</command> to log all messages. Since LFS100 does not set up this facility in <filename>/etc/syslog.conf</filename>, it101 needs to be done prior to installing <application>Fcron</application>. This102 command will append the necessary line to the current103 <filename>/etc/syslog.conf</filename> (perform as the104 <systemitem class='username'>root</systemitem> user):</para>105 106 <indexterm zone="fcron fcron-syslog">107 <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary>108 </indexterm>109 110 <screen role="root"><userinput>cat >> /etc/syslog.conf << "EOF"111 <literal># Begin fcron addition to /etc/syslog.conf112 113 cron.* -/var/log/cron.log114 115 # End fcron addition</literal>116 EOF</userinput></screen>117 118 <para>The configuration file has been modified, so reloading the119 <command>sysklogd</command> daemon will activate the changes (again as the120 <systemitem class='username'>root</systemitem> user).</para>121 122 <screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>123 95 124 96 <para>For security reasons, an unprivileged user and group for … … 226 198 </sect3> 227 199 228 <sect3 id="fcron-init">229 <title>Boot Script</title>230 231 <para>Install the <filename>/etc/rc.d/init.d/fcron</filename>232 init script from the <xref linkend="bootscripts"/>233 package.</para>234 235 <indexterm zone="fcron fcron-init">236 <primary sortas="f-fcron">fcron</primary>237 </indexterm>238 239 <screen role="root"><userinput>make install-fcron</userinput></screen>240 241 </sect3>242 243 200 <sect3 id="fcron-init-systemd"> 244 201 <title>Systemd Unit File</title> -
general/sysutils/gpm.xml
re1df6e21 rcae7a6f 117 117 <title>Configuring GPM</title> 118 118 119 <sect3 id="gpm-init">120 <title>Boot Script</title>121 122 <indexterm zone="gpm gpm-init">123 <primary sortas="f-gpm-init">gpm</primary>124 </indexterm>125 126 <para>Install the <filename>/etc/rc.d/init.d/gpm</filename> init script127 included in the <xref linkend="bootscripts"/> package.</para>128 129 <screen role="root"><userinput>make install-gpm</userinput></screen>130 131 </sect3>132 133 119 <sect3 id="gpm-init-systemd"> 134 120 <title>Systemd Unit File</title> … … 139 125 140 126 <para> 141 Instead of using the classic boot script,systemd-units package provides native unit file.127 The systemd-units package provides native unit file. 142 128 Install the Systemd Unit included in the <xref linkend="systemd-units"/> 143 129 package using the following command as the <systemitem class="username">root</systemitem> -
general/sysutils/sysstat.xml
re1df6e21 rcae7a6f 167 167 </sect3> 168 168 169 <sect3 id="sysstat-init">170 <title>System Startup Information</title>171 172 <indexterm zone="sysstat sysstat-init">173 <primary sortas="f-sysstat">sysstat</primary>174 </indexterm>175 176 <para>At system startup, a LINUX RESTART message must be inserted in the177 daily data file to reinitialize the kernel counters. This can be178 automated by installing the <filename>/etc/rc.d/init.d/sysstat</filename>179 init script included in the <xref linkend="bootscripts"/>180 package using the following command as the181 <systemitem class="username">root</systemitem> user:</para>182 183 <screen role="root"><userinput>make install-sysstat</userinput></screen>184 185 </sect3>186 187 169 <sect3 id="sysstat-init-systemd"> 188 170 <title>Systemd Unit File</title> … … 193 175 194 176 <para> 195 This package provides systemd unit in the source tarball. To install it,196 run the following commands as the177 This package provides a systemd unit file in the source tarball. 178 To install it, run the following commands as the 197 179 <systemitem class="username">root</systemitem> user: 198 180 </para> -
general/sysutils/udisks2.xml
re1df6e21 rcae7a6f 30 30 <sect2 role="package"> 31 31 <title>Introduction to UDisks</title> 32 33 <note>34 <para>35 This package will link against systemd libraries by default, since they are always36 installed and doing that, it doesn't require ConsoleKit anymore.37 </para>38 </note>39 32 40 33 <para> -
general/sysutils/upower.xml
re1df6e21 rcae7a6f 83 83 </para> 84 84 85 <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>86 <para role="recommended">87 <xref linkend="pm-utils"/>88 </para>89 90 85 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead> 91 86 <para role="optional"> … … 115 110 --sysconfdir=/etc \ 116 111 --localstatedir=/var \ 117 --enable-deprecated \118 112 --disable-static && 119 113 make</userinput></screen> … … 131 125 <screen role="root"><userinput>make install</userinput></screen> 132 126 127 <para> 128 This package will automatically install the systemd unit if systemd is detected. 129 Although this step isn't necessary, since the service can be D-Bus activated when 130 needed, if you wish to enable it anyway issue the following command 131 as the <systemitem class="username">root</systemitem> user: 132 </para> 133 134 <screen role="root"><userinput>systemctl enable upower</userinput></screen> 133 135 </sect2> 134 136 135 137 <sect2 role="commands"> 136 138 <title>Command Explanations</title> 137 138 <para>139 <option>--enable-deprecated</option>: This switch enables140 deprecated functionality which is still needed by some141 applications.142 </para>143 139 144 140 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
introduction/welcome/changelog.xml
re1df6e21 rcae7a6f 139 139 <listitem> 140 140 <para>[cjg] - Updated geocode-glib dependancies.</para> 141 </listitem> 142 <listitem> 143 <para>[cjg] - Changed fcron page to systemd only.</para> 144 </listitem> 145 <listitem> 146 <para>[cjg] - Changed gpm page to systemd only.</para> 147 </listitem> 148 <listitem> 149 <para>[cjg] - Changed sysstat page to systemd only.</para> 150 </listitem> 151 <listitem> 152 <para>[cjg] - Removed reference to not needing consolekit on udisks2 page as consolekit xref was changed to systemd.</para> 153 </listitem> 154 <listitem> 155 <para>[cjg] - Converted upower page to systemd.</para> 156 </listitem> 157 <listitem> 158 <para>[cjg] - Converted autofs page to systemd only.</para> 159 </listitem> 160 <listitem> 161 <para>[cjg] - Converted at page to systemd.</para> 162 </listitem> 163 <listitem> 164 <para>[cjg] - Converted acpid page to systemd.</para> 165 </listitem> 166 <listitem> 167 <para>[cjg] - Converted stunnel page to systemd.</para> 168 </listitem> 169 <listitem> 170 <para>[cjg] - Converted polkit page to systemd.</para> 171 </listitem> 172 <listitem> 173 <para>[cjg] - Converted openssh page to systemd.</para> 174 </listitem> 175 <listitem> 176 <para>[cjg] - Converted mitkrb page to systemd.</para> 177 </listitem> 178 <listitem> 179 <para>[cjg] - Converted cyrus-sasl page to systemd.</para> 180 </listitem> 181 <listitem> 182 <para>[cjg] - Converted bluez page to systemd.</para> 183 </listitem> 184 <listitem> 185 <para>[cjg] - Converted dhcpd server section on dhcp page to systemd.</para> 186 </listitem> 187 <listitem> 188 <para>[cjg] - Converted nfs-utils page to systemd.</para> 141 189 </listitem> 142 190 </itemizedlist> -
networking/connect/dhcp.xml
re1df6e21 rcae7a6f 370 370 <screen role="root"><userinput>install -v -dm 755 /var/lib/dhcpd</userinput></screen> 371 371 372 <note> 373 <para> 374 The interface on which dhcpd will serve requests should be configured before 375 the daemon is started or else it will fail to start. 376 </para> 377 </note> 378 372 379 <para> 373 380 If you want to start the DHCP Server at boot, install 374 the <filename>/etc/rc.d/init.d/dhcpd</filename> 375 init script included in the <xref linkend="bootscripts"/> 376 package: 381 the systmed unit file included in the <xref linkend="systemd-units"/> 382 package as the <systemitem class="username">root</systemitem> user: 377 383 </para> 378 384 -
networking/netprogs/nfs-utils.xml
re1df6e21 rcae7a6f 195 195 </indexterm> 196 196 197 <sect4 id="nfs-utils-server-init"> 198 <title>Boot Script</title> 199 200 <para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename> 201 init script included in the <xref linkend="bootscripts"/> package 202 to start the server at boot.</para> 197 <sect4 id="nfs-utils-server-init-systemd"> 198 <title>Systemd Unit File</title> 199 200 <note> 201 <para> 202 Note that there is no support for gss (gssd) daemons nor nfsv4 (idmapd) 203 daemons yet since BLFS doesn't support the configuration out of the box. 204 </para> 205 </note> 206 207 208 <para> 209 The systemd-units package provides native unit files. To install the unit file 210 included in the <xref linkend="systemd-units"/> package 211 to start the server at boot issue the following command 212 as the <systemitem class="username">root</systemitem> user: 213 </para> 203 214 204 215 <screen role="root"><userinput>make install-nfs-server</userinput></screen> 205 216 206 <indexterm zone="nfs-utils nfs-utils-server-init ">217 <indexterm zone="nfs-utils nfs-utils-server-init-systemd"> 207 218 <primary sortas="f-nfs-server">nfs-server</primary> 208 219 </indexterm> 209 220 210 <para>Now create the <filename>/etc/ sysconfig/nfs-server</filename>221 <para>Now create the <filename>/etc/default/nfs-utils</filename> 211 222 configuration file:</para> 212 223 213 <screen role="root"><userinput>cat > /etc/ sysconfig/nfs-server<< "EOF"224 <screen role="root"><userinput>cat > /etc/default/nfs-utils << "EOF" 214 225 <literal>PORT="2049" 215 226 PROCESSES="8" … … 218 229 EOF</userinput></screen> 219 230 220 <note><para>The above parameters may be optionally placed in 221 <filename>/etc/sysconfig/rc.site</filename>.</para></note> 222 223 <indexterm zone="nfs-utils nfs-utils-server-init"> 231 <indexterm zone="nfs-utils nfs-utils-server-init-systemd"> 224 232 <primary 225 233 sortas="e-etc-sysconfig-nfs-server">/etc/sysconfig/nfs-server</primary> … … 289 297 nfs-server script is installed.</para></note> 290 298 291 <para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename> init 292 script included in the <xref linkend="bootscripts"/> package to start 293 the client services at boot.</para> 299 <para>Install the systemd unit file included in the 300 <xref linkend="systemd-units"/> package to start 301 the client services at boot issue the following command as the 302 <systemitem class="username">root</systemitem> 303 user:</para> 294 304 295 305 <screen role="root"><userinput>make install-nfs-client</userinput></screen> -
postlfs/security/cyrus-sasl.xml
re1df6e21 rcae7a6f 282 282 </sect3> 283 283 284 <sect3 id="cyrus-sasl-init"> 285 <title>Init Script</title> 286 287 <para> 288 If you need to run the <command>saslauthd</command> daemon at system 289 startup, install the <filename>/etc/rc.d/init.d/saslauthd</filename> 290 init script included in the <xref linkend="bootscripts"/> 291 package using the following command: 292 </para> 293 294 <indexterm zone="cyrus-sasl cyrus-sasl-init"> 295 <primary sortas="f-saslauthd">saslauthd</primary> 296 </indexterm> 297 298 <screen role="root"><userinput>make install-saslauthd</userinput></screen> 299 300 <note> 301 <para> 302 You'll need to modify /etc/sysconfig/saslauthd and replace the 303 <option><replaceable>AUTHMECH</replaceable></option> parameter 304 with your desired authentication mechanism. 305 </para> 306 </note> 307 308 </sect3> 309 310 <sect3 id="cyrus-sasl-systemd"> 284 <sect3 id="cyrus-sasl-systemd"> 311 285 <title>Systemd Unit File</title> 312 286 313 287 <para> 314 Instead of using the classic boot script, the systemd-units package315 provides native unit files. Install the systemd unit in the <xref linkend="systemd-units"/>316 package using the following command:288 The systemd-units package provides native unit files. Install the systemd unit 289 in the <xref linkend="systemd-units"/> package using the following command as the 290 <systemitem class="username">root</systemitem> user: 317 291 </para> 318 292 -
postlfs/security/mitkrb.xml
re1df6e21 rcae7a6f 463 463 </sect3> 464 464 465 <sect3 id="mitkrb-init">466 <title>Init Script</title>467 468 <para>469 If you want to start <application>Kerberos</application> services470 at boot, install the <filename>/etc/rc.d/init.d/krb5</filename> init471 script included in the <xref linkend="bootscripts"/> package using472 the following command:473 </para>474 475 <indexterm zone="mitkrb mitkrb-init">476 <primary sortas="f-krb5">krb5</primary>477 </indexterm>478 479 <screen role="root"><userinput>make install-krb5</userinput></screen>480 481 </sect3>482 483 484 465 <sect3 id="mitkrb-init-systemd"> 485 466 <title>Systemd Unit File</title> … … 496 477 497 478 <para> 498 Instead of using the classic boot script, the systemd-units package 499 provides native unit files. 479 The systemd-units package provides native unit files. 500 480 Install the Systemd Unit included in the <xref linkend="systemd-units"/> 501 package using the following command: 481 package using the following command as the 482 <systemitem class="username">root</systemitem> user: 502 483 </para> 503 484 -
postlfs/security/openssh.xml
re1df6e21 rcae7a6f 301 301 </sect3> 302 302 303 <sect3 id="openssh-init">304 <title>Boot Script</title>305 306 <para>307 To start the SSH server at system boot, install the308 <filename>/etc/rc.d/init.d/sshd</filename> init script included309 in the <xref linkend="bootscripts"/> package.310 </para>311 312 <indexterm zone="openssh openssh-init">313 <primary sortas="f-sshd">sshd</primary>314 </indexterm>315 316 <screen role="root"><userinput>make install-sshd</userinput></screen>317 </sect3>318 319 303 <sect3 id="openssh-init-systemd"> 320 304 <title>Systemd Unit File</title> 321 305 322 306 <para> 323 Instead of using the classic boot script, the systemd-units package provides 324 native unit files. To start the SSH server at system boot, install the 325 systemd unit included in the <xref linkend="systemd-units"/> package.as the 307 The systemd-units package provides native unit files. 308 To start the SSH server at system boot, install the 309 systemd unit included in the <xref linkend="systemd-units"/> 310 package.as the 326 311 <systemitem class="username">root</systemitem> user: 327 312 </para> -
postlfs/security/polkit.xml
re1df6e21 rcae7a6f 94 94 </para> 95 95 96 <bridgehead renderas="sect4">Optional (Required if using systemd and buildingGNOME)</bridgehead>96 <bridgehead renderas="sect4">Optional (Required for GNOME)</bridgehead> 97 97 <para role="optional"> 98 98 <xref linkend="linux-pam"/> 99 99 </para> 100 101 <note>102 <para>103 This package will link against systemd libraries by default, since they are always installed104 and in doing that, it doesn't require ConsoleKit anymore.105 </para>106 </note>107 100 108 101 <note> … … 144 137 --localstatedir=/var \ 145 138 --disable-static \ 146 --enable-libsystemd-login=no \ 147 --with-authfw=shadow && 139 --enable-libsystemd-login=yes && 148 140 make</userinput></screen> 149 141 … … 168 160 169 161 <para> 170 <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes 171 building without <application>systemd</application>, which is not part 172 of LFS/BLFS. If you use <application>systemd</application>, 173 replace "no" by "yes". 174 </para> 175 176 <note> 177 <para> 178 Systemd users, if this package is going to be used, ie on desktops or if an 179 user wants to grant unprivileged users to be able to shut down, 180 reboot, etc the systemd PAM module needs to be built and set up. 181 It is also a good idea to build Polkit with PAM support, so the Polkit can take 182 advantage of the PAM module, so you need to remove the below parameter from 183 the configure line, and create the PAM file mentioned in the configuration section. 184 </para> 185 </note> 186 187 <para> 188 <parameter>--with-authfw=shadow</parameter>: This parameter configures the 189 package to use the <application>Shadow</application> rather than the 190 <application>Linux PAM</application> Authentication framework. Remove it 191 if you would like to use <application>Linux PAM</application>. 162 <parameter>--enable-libsystemd-login=yes</parameter>: This parameter fixes 163 building with <application>systemd</application>. 192 164 </para> 193 165 -
postlfs/security/stunnel.xml
re1df6e21 rcae7a6f 228 228 </sect3> 229 229 230 <sect3 id="stunnel-init">231 <title>Boot Script</title>232 233 <para>To automatically start the <command>stunnel</command> daemon234 when the system is rebooted, install the235 <filename>/etc/rc.d/init.d/stunnel</filename> bootscript from the236 <xref linkend="bootscripts"/> package.</para>237 238 <indexterm zone="stunnel stunnel-init">239 <primary sortas="f-stunnel">stunnel</primary>240 </indexterm>241 242 <screen role="root"><userinput>make install-stunnel</userinput></screen>243 244 </sect3>245 246 230 <sect3 id="stunnel-init-systemd"> 247 231 <title>Systemd Unit File</title> 248 232 249 <para>This package provides a systemd unit in the source tarball.233 <para>This package provides a systemd unit file in the source tarball. 250 234 To install it run the following commands as the 251 235 <systemitem class="username">root</systemitem> user:
Note:
See TracChangeset
for help on using the changeset viewer.