Changeset 4ef4636b
- Timestamp:
- 12/16/2018 11:59:49 AM (6 years ago)
- Branches:
- elogind
- Children:
- 32dfda12
- Parents:
- 2f54800b
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/dbus.xml
r2f54800b r4ef4636b 84 84 </itemizedlist> 85 85 86 <bridgehead renderas="sect3" revision="sysv">Additional Downloads</bridgehead> 87 <itemizedlist spacing="compact" revision="sysv"> 88 <listitem> 89 <para> 90 Required patch: 91 <ulink url="&patch-root;/dbus-&dbus-version;-elogind-1.patch"/> 92 </para> 93 </listitem> 94 </itemizedlist> 95 86 96 <bridgehead renderas="sect3">D-Bus Dependencies</bridgehead> 87 97 … … 94 104 <para role="recommended"> 95 105 <xref linkend="xorg7-lib"/> (for <command>dbus-launch</command> program) 106 <phrase revision="sysv">and <xref linkend="elogind"/> (first build 107 without, and then again after elogind is installed)</phrase> 96 108 </para> 97 109 … … 130 142 -u 18 -g messagebus -s /bin/false messagebus</userinput></screen> 131 143 144 <para revision="sysv"> 145 Apply a patch to fix detection of <application>elogind</application>: 146 </para> 147 148 <screen revision="sysv"><userinput>patch -Np1 -i ../dbus-&dbus-version;-elogind-1.patch</userinput></screen> 149 132 150 <para> 133 151 Install <application>D-Bus</application> by running the following … … 137 155 </para> 138 156 139 <screen revision="sysv"><userinput>./configure --prefix=/usr \ 140 --sysconfdir=/etc \ 141 --localstatedir=/var \ 142 --disable-doxygen-docs \ 143 --disable-xml-docs \ 144 --disable-static \ 145 --docdir=/usr/share/doc/dbus-&dbus-version; \ 146 --with-console-auth-dir=/run/console \ 147 --with-system-pid-file=/run/dbus/pid \ 148 --with-system-socket=/run/dbus/system_bus_socket && 149 make</userinput></screen> 150 151 <screen revision="systemd"><userinput>./configure --prefix=/usr \ 157 <screen><userinput>./configure --prefix=/usr \ 152 158 --sysconfdir=/etc \ 153 159 --localstatedir=/var \ … … 187 193 <screen role="root"><userinput>make install</userinput></screen> 188 194 189 <para revision="systemd">195 <para> 190 196 The shared library needs to be moved to 191 197 <filename class="directory">/lib</filename>, and as a result the … … 196 202 </para> 197 203 198 <screen r evision="systemd" role="root"><userinput>mv -v /usr/lib/libdbus-1.so.* /lib &&204 <screen role="root"><userinput>mv -v /usr/lib/libdbus-1.so.* /lib && 199 205 ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen> 200 206 … … 284 290 href="../../xincludes/static-libraries.xml"/> 285 291 286 <para revision="sysv"> 287 <parameter>--disable-systemd</parameter>: This switch disables systemd 288 support in <application>D-Bus</application>. 289 </para> 290 291 <para revision="sysv"> 292 <parameter>--without-systemdsystemunitdir</parameter>: This switch 293 prevents installation of systemd unit files. 294 </para> 295 296 <para revision="systemd"> 292 <para> 297 293 <parameter>--enable-user-session</parameter>: This parameter enables 298 per-user DBus sessions with <application>systemd</application>. 294 per-user DBus sessions with 295 <phrase revision="sysv"><application>elogind</application>.</phrase> 296 <phrase revision="systemd"><application>systemd</application>.</phrase> 299 297 </para> 300 298 -
general/sysutils/modemmanager.xml
r2f54800b r4ef4636b 72 72 </itemizedlist> 73 73 74 <bridgehead renderas="sect3" revision="sysv">Additional Downloads</bridgehead> 75 <itemizedlist spacing="compact" revision="sysv"> 76 <listitem revision="sysv"> 77 <para> 78 Required patch: 79 <ulink url="&patch-root;/ModemManager-&ModemManager-version;-elogind-1.patch"/> 80 </para> 81 </listitem> 82 </itemizedlist> 83 74 84 <bridgehead renderas="sect3">ModemManager Dependencies</bridgehead> 75 85 … … 81 91 <bridgehead renderas="sect4">Recommended</bridgehead> 82 92 <para role="recommended"> 93 <phrase revision="sysv"><xref linkend="elogind"/></phrase> 83 94 <xref linkend="gobject-introspection"/>, 84 95 <xref linkend="libmbim"/>, … … 101 112 <title>Installation of ModemManager</title> 102 113 114 <para revision="sysv"> 115 Apply a patch to correct elogind detection: 116 </para> 117 118 <screen revision="sysv"><userinput>patch -Np1 -i ../ModemManager-&ModemManager-version;-elogind-1.patch</userinput></screen> 119 103 120 <para> 104 121 Install <application>ModemManager</application> by running the following … … 106 123 </para> 107 124 108 <screen revision="sysv"><userinput>./configure --prefix=/usr \ 109 --sysconfdir=/etc \ 110 --localstatedir=/var \ 125 <screen revision="sysv"><userinput> 126 ./configure --prefix=/usr \ 127 --sysconfdir=/etc \ 128 --localstatedir=/var \ 129 --disable-static \ 111 130 --enable-more-warnings=no \ 112 -- disable-static&&131 --with-elogind-suspend-resume=yes && 113 132 make</userinput></screen> 114 133 … … 138 157 <title>Command Explanations</title> 139 158 159 <para revision="sysv"> 160 <parameter>--with-elogind-suspend-resume=yes</parameter>: This switch 161 forces <application>ModmeManager</application> to use the 162 <application>elogind</application> power management facilities. 163 </para> 164 140 165 <para revision="systemd"> 141 166 <parameter>--with-systemd-suspend-resume</parameter>: This 142 switch forces <application>ModemManager</application> to use the systemd143 power management facilities.167 switch forces <application>ModemManager</application> to use the 168 <application>systemd</application> power management facilities. 144 169 </para> 145 170 -
general/sysutils/sysutils.xml
r2f54800b r4ef4636b 34 34 35 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/> 36 37 <!-- sysv only --> 38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="elogind.xml"/> 39 36 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fcron.xml"/> 37 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpm.xml"/> -
introduction/welcome/changelog.xml
r2f54800b r4ef4636b 47 47 <itemizedlist> 48 48 <listitem> 49 <para>[dj] - Add elogind-239.3. Adjust several packages to utilize 50 elogind.</para> 51 </listitem> 52 <listitem> 49 53 <para>[dj] - Clarify modular configuration of NetworkManager with 50 54 examples of common and recommended configurations.</para> -
networking/netutils/networkmanager.xml
r2f54800b r4ef4636b 105 105 <xref linkend="polkit"/>, 106 106 <xref linkend="pygobject3"/>, 107 <phrase revision="sysv"><xref linkend="elogind"/>,</phrase> 107 108 <phrase revision="systemd"><xref linkend="systemd"/>,</phrase> 108 109 <xref linkend="upower"/>, … … 170 171 -Dselinux=false \ 171 172 -Dudev_dir=/lib/udev \ 172 -Dsession_tracking= no\173 -Dsession_tracking=elogind \ 173 174 -Dsystemdsystemunitdir=no \ 174 175 -Dsystemd_journal=false \ … … 231 232 232 233 <para revision="sysv"> 233 <parameter>-Dsession_tracking=no</parameter>, 234 <parameter>-Dsystemdsystemunitdir=no</parameter>, and 234 <parameter>-Dsystemdsystemunitdir=no</parameter> and 235 235 <parameter>-Dsystemd_journal=false</parameter>: systemd is not 236 236 used for sysv init systems. 237 </para> 238 239 <para revision="sysv"> 240 <parameter>-Dsession_tracking=elogind</parameter>: This switch 241 is used to set <command>elogind</command> as the default 242 program for session tracking. 237 243 </para> 238 244 -
packages.ent
r2f54800b r4ef4636b 275 275 <!ENTITY cups-pk-helper-version "0.2.6"> 276 276 <!ENTITY dbus-version "1.12.12"> <!-- Even minors only --> 277 <!ENTITY elogind-version "239.3"> 277 278 <!ENTITY eudev-version "1.7"> 278 279 <!ENTITY fcron-version "3.2.1"> -
postlfs/security/polkit.xml
r2f54800b r4ef4636b 81 81 </para> 82 82 </listitem> 83 <listitem revision="sysv"> 84 <para> 85 Required patch: 86 <ulink url="&patch-root;/polkit-&polkit-version;-elogind-1.patch"/> 87 </para> 88 </listitem> 83 89 </itemizedlist> 84 90 … … 91 97 </para> 92 98 93 <bridgehead renderas="sect4" revision="systemd">Recommended</bridgehead>94 <para role="recommended" revision="systemd">99 <bridgehead renderas="sect4">Recommended</bridgehead> 100 <para role="recommended"> 95 101 <xref linkend="linux-pam"/> 96 102 </para> 97 103 98 <note revision="systemd">104 <note> 99 105 <para> 100 Since <command>systemd-logind</command> uses PAM to register user 101 sessions, it is a good idea to build <application>Polkit</application> 102 with PAM support so <command>systemd-logind</command> can track 103 <application>Polkit</application> sessions. 106 Since <phrase revision="sysv"><command>elogind</command></phrase> 107 <phrase revision="systemd"><command>systemd-logind</command></phrase> 108 uses PAM to register user sessions, it is a good idea to build 109 <application>Polkit</application> with PAM support so 110 <phrase revision="sysv"><command>elogind</command></phrase> 111 <phrase revision="systemd"><command>systemd-logind</command></phrase> 112 can track <application>Polkit</application> sessions. 104 113 </para> 105 114 </note> … … 115 124 <xref linkend="DocBook"/>, 116 125 <xref linkend="docbook-xsl"/>, 117 <xref linkend="gtk-doc"/>, <phrase revision="systemd">and </phrase>118 <xref linkend="libxslt"/> <phrase revision="sysv">, and119 <xref linkend="linux-pam"/></phrase>120 </para> 121 122 < bridgehead renderas="sect4" revision="systemd">Required Runtime Dependencies</bridgehead>123 <para role="required" revision="systemd">124 < xref role="runtime" linkend="systemd"/>126 <xref linkend="gtk-doc"/>, and 127 <xref linkend="libxslt"/> 128 </para> 129 130 <bridgehead renderas="sect4">Required Runtime Dependencies</bridgehead> 131 <para role="required"> 132 <phrase revision="sysv"><xref role="runtime" linkend="elogind"/></phrase> 133 <phrase revision="systemd"><xref role="runtime" linkend="systemd"/></phrase> 125 134 </para> 126 135 … … 169 178 <screen><userinput>sed -i "s:/sys/fs/cgroup/systemd/:/sys:g" configure</userinput></screen> 170 179 </note> 171 <!--172 <para>Fix an issue identified upstream after the package release:</para>173 174 <screen><userinput>sed -e '/JS_ReportWarningUTF8/s/,/, "%s",/' \175 -i src/polkitbackend/polkitbackendjsauthority.cpp</userinput></screen> -->176 180 177 181 <para> … … 180 184 181 185 <screen><userinput>patch -Np1 -i ../polkit-&polkit-version;-security_patch-2.patch</userinput></screen> 186 187 <para revision="sysv"> 188 Apply a patch to fix issues with elogind: 189 </para> 190 191 <screen revision="sysv"><userinput>patch -Np1 -i ../polkit-0.115-elogind-1.patch && 192 autoreconf -fi</userinput></screen> 182 193 183 194 <para> … … 186 197 </para> 187 198 188 <screen revision="sysv"><userinput>./configure --prefix=/usr \ 189 --sysconfdir=/etc \ 190 --localstatedir=/var \ 191 --disable-static \ 192 --enable-libsystemd-login=no \ 193 --enable-libelogind=no \ 194 --with-authfw=shadow && 195 make</userinput></screen> 196 197 <screen revision="systemd"><userinput>./configure --prefix=/usr \ 199 <screen><userinput>./configure --prefix=/usr \ 198 200 --sysconfdir=/etc \ 199 201 --localstatedir=/var \ … … 219 221 <title>Command Explanations</title> 220 222 221 <para revision="sysv"> 222 <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes 223 building without <application>systemd</application>, which is not part 224 of LFS/BLFS. If you use <application>systemd</application>, 225 replace "no" by "yes". 226 </para> 227 228 <para revision="sysv"> 229 <parameter>--with-authfw=shadow</parameter>: This parameter configures the 230 package to use the <application>Shadow</application> rather than the 231 <application>Linux-PAM</application> Authentication framework. Change 232 the argument to 'pam' if you would like to use 233 <application>Linux-PAM</application>. 234 </para> 235 236 <para revision="systemd"> 223 <para> 237 224 <option>--with-authfw=shadow</option>: This switch enables the 238 225 package to use the <application>Shadow</application> rather than the -
x/installing/xorg-server.xml
r2f54800b r4ef4636b 92 92 93 93 <bridgehead renderas="sect4">Recommended</bridgehead> 94 <para role="recommended" revision="sysv"> 95 <xref linkend="libepoxy"/> (required for glamor, see command 96 explanations below) 97 </para> 98 <para role="recommended" revision="systemd"> 94 <para role="recommended"> 99 95 <xref linkend="libepoxy"/> (needed for glamor and Xwayland), 100 96 <xref linkend="wayland"/> (needed for Xwayland), 101 97 <xref linkend="wayland-protocols"/>, and 102 <xref linkend="systemd"/> 98 <phrase revision="sysv"><xref linkend="elogind"/></phrase> 99 <phrase revision="systemd"><xref linkend="systemd"/></phrase> 103 100 </para> 104 101 … … 115 112 <xref linkend="xcb-util-wm"/> (all three to build Xephyr), 116 113 <xref linkend="xmlto"/> (to build documentation), 117 <phrase revision="sysv"><xref linkend="wayland"/> (needed for Xwayland),118 <xref linkend="wayland-protocols"/>,</phrase>119 114 <ulink url="http://download.savannah.gnu.org/releases/libunwind">libunwind</ulink>, and 120 115 <ulink url="https://www.x.org/archive/individual/doc/">xorg-sgml-doctools</ulink> (to build documentation) … … 140 135 </para> 141 136 142 <screen revision="sysv"><userinput>./configure $XORG_CONFIG \ 143 --enable-glamor \ 144 --enable-install-setuid \ 145 --enable-suid-wrapper \ 146 --disable-systemd-logind \ 147 --with-xkb-output=/var/lib/xkb && 148 make</userinput></screen> 149 150 <screen revision="systemd"><userinput>./configure $XORG_CONFIG \ 137 <screen revision="sysv"><userinput>./configure $XORG_CONFIG \ 151 138 --enable-glamor \ 152 139 --enable-suid-wrapper \ … … 154 141 make</userinput></screen> 155 142 143 <screen revision="systemd"><userinput>./configure $XORG_CONFIG \ 144 --enable-glamor \ 145 --with-xkb-output=/var/lib/xkb && 146 make</userinput></screen> 147 156 148 <para> 157 149 To test the results, issue: <command>make check</command>. You … … 165 157 </para> 166 158 167 <screen role="root" revision="sysv"><userinput>make install && 168 mkdir -pv /etc/X11/xorg.conf.d && 169 cat >> /etc/sysconfig/createfiles << "EOF" 170 <literal>/tmp/.ICE-unix dir 1777 root root 171 /tmp/.X11-unix dir 1777 root root</literal> 172 EOF</userinput></screen> 173 174 <screen role="root" revision="systemd"><userinput>make install && 159 <screen role="root"><userinput>make install && 175 160 mkdir -pv /etc/X11/xorg.conf.d</userinput></screen> 176 161 … … 189 174 190 175 <para revision="sysv"> 191 <parameter>--enable-install-setuid</parameter>: The Xorg binary must run 176 <parameter>--enable-install-setuid</parameter>: If not using 177 <xref linkend="elogind"/>, the Xorg binary must run 192 178 as the root user. This switch ensures that the binary is installed 193 179 setuid when <command>make</command> is run by an unprivileged user. … … 197 183 <parameter>--enable-suid-wrapper</parameter>: Build suid-root wrapper for 198 184 legacy driver support on rootless xserver systems. 199 </para>200 201 <para revision="sysv">202 <parameter>--disable-systemd-logind</parameter>: Do not build203 systemd-logind support, otherwise, an error (EE), logged in204 <filename>/var/log/Xorg.0.log</filename>, occurs when starting the X205 server. Systemd is not supported by this (sysv) version of BLFS.206 185 </para> 207 186 … … 211 190 bit to the Xorg executable, allowing Xorg Server to work 212 191 without having the systemd PAM module installed and set up. 213 </para>214 215 <para revision="sysv">216 <command>cat >> /etc/sysconfig/createfiles...</command>: This217 command creates the <filename class="directory">/tmp/.ICE-unix</filename>218 and <filename class="directory">/tmp/.X11-unix</filename> directories at219 startup, and ensures that the permissions and ownership are correct as220 required by the server.221 192 </para> 222 193
Note:
See TracChangeset
for help on using the changeset viewer.