Changeset cb9c6940


Ignore:
Timestamp:
10/26/2014 02:00:55 PM (9 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
0e389d13
Parents:
b71b5c8
Message:

Nuke consolekit and udev-extras. Convert polkit to systemd-logind.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd-ng@14739 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 deleted
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • general/sysutils/sysutils.xml

    rb71b5c8 rcb9c6940  
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysstat.xml"/>
    4747  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
    48   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udev-extras.xml"/>
    4948  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udisks.xml"/>
    5049  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udisks2.xml"/>
  • introduction/welcome/changelog.xml

    rb71b5c8 rcb9c6940  
    5252        </listitem>
    5353        <listitem>
     54          <para>[krejzi] - Converted Polkit instructions to use systemd-logind.</para>
     55        </listitem>
     56        <listitem>
     57          <para>[krejzi] - Removed ConsoleKit and Udev-Extras pages.</para>
     58        </listitem>
     59        <listitem>
    5460          <para>[krejzi] - Imported systemd specific D-Bus and post LFS systemd instructions.</para>
    5561        </listitem>
     
    6167        </listitem>
    6268        <listitem>
    63           <para>[krejzi] - Converted ISC DHCP and DHCPCD clients instructions to work on systemd setups.</para>
     69          <para>[krejzi] - Converted ISC DHCP and DHCPCD instructions to work on systemd setups.</para>
    6470        </listitem>
    6571        <listitem>
  • postlfs/security/polkit-systemd.xml

    rb71b5c8 rcb9c6940  
    8181    </para>
    8282
     83    <bridgehead renderas="sect4">Recommended</bridgehead>
     84    <para role="recommended">
     85      <xref linkend="linux-pam"/>
     86    </para>
     87
     88    <note>
     89      <para>
     90        Since <command>systemd-logind</command> uses PAM to register user
     91        sessions, it is a good idea to build  <application>Polkit</application>
     92        with PAM support so <command>systemd-logind</command> can track
     93        <application>Polkit</application> sessions.
     94      </para>
     95    </note>
     96
    8397    <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
    8498    <para role="optional">
     
    90104      <xref linkend="DocBook"/>,
    91105      <xref linkend="docbook-xsl"/>,
    92       <xref linkend="gtk-doc"/>,
    93       <xref linkend="libxslt"/> and
    94       <xref linkend="linux-pam"/>
     106      <xref linkend="gtk-doc"/>, and
     107      <xref linkend="libxslt"/>
     108    </para>
     109
     110    <bridgehead renderas="sect4">Required Runtime Dependencies</bridgehead>
     111    <para role="required">
     112      <xref linkend="systemd"/> (for Logind)
    95113    </para>
    96114
     
    124142        -g polkitd -s /bin/false polkitd</userinput></screen>
    125143
     144    <note>
     145      <para>
     146        When building <application>Polkit</application> with
     147        <application>systemd</application> logind support, the
     148        <command>configure</command> script explicitly checks if
     149        system is booted using <application>systemd</application>.
     150        This can cause problems if building the package in chroot,
     151        where the <command>configure</command> would fail to
     152        detect <application>systemd</application>. To workaround
     153        the problem, simply run the following command:
     154      </para>
     155
     156<screen><userinput>sed -i "s:/sys/fs/cgroup/systemd/:/sys:g" configure</userinput></screen>
     157    </note>
     158
    126159    <para>
    127160      Install <application>Polkit</application> by running the following
     
    129162    </para>
    130163
    131 <screen><userinput>./configure --prefix=/usr                \
    132             --sysconfdir=/etc            \
    133             --localstatedir=/var         \
    134             --disable-static             \
    135             --enable-libsystemd-login=no \
    136             --with-authfw=shadow         &amp;&amp;
     164<screen><userinput>./configure --prefix=/usr        \
     165            --sysconfdir=/etc    \
     166            --localstatedir=/var \
     167            --disable-static     &amp;&amp;
    137168make</userinput></screen>
    138169
     
    156187    <title>Command Explanations</title>
    157188
    158     <para>
    159       <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes
    160       building without <application>systemd</application>, which is not part
    161       of LFS/BLFS. If you use <application>systemd</application>,
    162       replace "no" by "yes".
    163     </para>
    164 
    165     <para>
    166       <parameter>--with-authfw=shadow</parameter>: This parameter configures the
    167       package to use the <application>Shadow</application> rather than the
    168       <application>Linux PAM</application> Authentication framework. Remove it
    169       if you would like to use <application>Linux PAM</application>.
    170     </para>
    171 
    172189    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    173190      href="../../xincludes/static-libraries.xml"/>
     191
     192    <para>
     193      <option>--with-authfw=shadow</option>: This switch enables the
     194      package to use the <application>Shadow</application> rather than the
     195      <application>Linux PAM</application> Authentication framework. Use it
     196      if you have not installed <application>Linux PAM</application>.
     197    </para>
    174198
    175199    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • postlfs/security/security.xml

    rb71b5c8 rcb9c6940  
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vulnerabilities.xml"/>
    4444  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cacerts.xml"/>
    45   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="consolekit.xml"/>
    4645  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cracklib.xml"/>
    4746  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cyrus-sasl.xml"/>
     
    6059  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl.xml"/>
    6160  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="p11-kit.xml"/>
    62   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit.xml"/>
     61  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit-systemd.xml"/>
    6362  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
    6463  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ssh-askpass.xml"/>
Note: See TracChangeset for help on using the changeset viewer.