Changeset f770d727


Ignore:
Timestamp:
05/22/2016 05:57:57 PM (6 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
7bfcd17
Parents:
096492a
Message:

Fix issue testing Shadow (/run/nologin), remove reboot during systemd reinstallation, minor text fixes.

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

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r096492a rf770d727  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "21">                   <!-- Always 2 digits -->
     3<!ENTITY day          "22">                   <!-- Always 2 digits -->
    44<!ENTITY month        "05">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2016">
     
    77<!ENTITY copyholder   "The BLFS systemd Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "May 21st, &year;">
     9<!ENTITY releasedate  "May 22nd, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "systemd">                  <!-- svn|[release #] -->
  • general/genlib/libatomic_ops.xml

    r096492a rf770d727  
    66
    77  <!ENTITY libatomic_ops-download-http
    8            "http://www.ivmaisoft.com/_bin/atomic_ops//libatomic_ops-&libatomic_ops-version;.tar.gz">
     8           "http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-&libatomic_ops-version;.tar.gz">
    99  <!ENTITY libatomic_ops-download-ftp  " ">
    1010  <!ENTITY libatomic_ops-md5sum        "1d6538604b314d2fccdf86915e5c0857">
  • general/prog/gc.xml

    r096492a rf770d727  
    124124<screen role="root"><userinput>make install &amp;&amp;
    125125install -v -m644 doc/gc.man /usr/share/man/man3/gc_malloc.3 &amp;&amp;
    126 ln -sfv gc_malloc.3 /usr/share/man/man3/gc.3 </userinput></screen>
     126ln -sfv gc_malloc.3 /usr/share/man/man3/gc.3</userinput></screen>
    127127  </sect2>
    128128
  • general/sysutils/systemd.xml

    r096492a rf770d727  
    2727
    2828    <para>
    29       Even though <application>systemd</application> was built in
    30       LFS, there are some features provided by the package that
    31       some BLFS packages need, but their dependencies didn't fit
    32       into LFS.
    33     </para>
    34 
    35     <para>
    36       The main reason why <application>systemd</application>
    37       needs to be rebuilt is that some packages expect
    38       working <command>systemd-logind</command> service
    39       which requires a PAM module from the
    40       <application>systemd</application> source that
    41       couldn't be built in LFS.
    42     </para>
    43 <!--
    44     <para>
    45       Unlike other packages in BLFS, there is no set version of
    46       <application>systemd</application> in this page's title and
    47       no set version specified for download. Version updates to
    48       <application>systemd</application> make it possible that the
    49       user's system may have a <application>systemd</application>
    50       version different from the one in the current LFS book.
    51       Therefore, users should use the version of
    52       <application>systemd</application> that is currently
    53       installed on their system.
    54     </para>
    55 -->
    56     <para>
    57       This package is known to build and work properly using an
    58       LFS-&lfs-version; platform using systemd-&lfs-systemd-version; source.
    59     </para>
     29      Even though <application>systemd</application> was installed while
     30      building LFS, there are many features provided by the package that
     31      were not included in the initial installation due to unmet dependencies.
     32      The <application>systemd</application> package needs to be
     33      rebuilt to provide a working <command>systemd-logind</command> service,
     34      among many others.
     35    </para>
     36   
     37    &lfs79_checked;&gcc6_checked;
    6038
    6139    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    6846      </listitem>
    6947    </itemizedlist>
    70 <!--
    71     <para>
    72       Make sure you download the "compat" patch whose version matches
    73       the <application>systemd</application> version you are building.
    74     </para>
    75 
    76     <note>
    77       <para>
    78         If you are unsure which version needs to be downloaded, issue
    79         <command>systemctl - -version</command> in order to find out.
    80         Some of the commands below might need the version information.
    81         Issue the following command to store the
    82         <application>systemd</application> version number into an
    83         environment variable:
    84       </para>
    85 
    86 <screen><userinput>export SYSTEMD_VERSION=$(systemctl - -version | head -n1 | awk '{print $2}')</userinput></screen>
    87     </note>
    88 -->
     48
    8949    <bridgehead renderas="sect3">systemd Dependencies</bridgehead>
    9050
     
    161121<screen><userinput>patch -Np1 -i ../systemd-&lfs-systemd-version;-compat-1.patch &amp;&amp;
    162122autoreconf -fi</userinput></screen>
    163 <!--
    164     <para>
    165       Additionally, apply any patch that is also applied in LFS.
    166     </para>
    167 -->
     123
    168124    <para>
    169125      Disable two tests that always fail:
     
    241197<screen role="root"><userinput>rm -rfv /usr/lib/rpm</userinput></screen>
    242198
    243 <!--
    244     <para>
    245       Remove a reference to a non-existent group by running the following
    246       command as the <systemitem class="username">root</systemitem> user:
    247     </para>
    248 
    249 <screen role="root"><userinput>sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
    250 -->
    251 
    252199  </sect2>
    253200
     
    263210    </para>
    264211
    265 <screen role="root"><userinput>cat &gt;&gt; /etc/pam.d/system-session &lt;&lt; "EOF" &amp;&amp;
     212<screen role="root"><userinput>cat &gt;&gt; /etc/pam.d/system-session &lt;&lt; "EOF"
    266213<literal># Begin Systemd addition
    267214   
     
    289236
    290237    <para>
    291       At this point it would be a nice idea to reboot to
    292       test if the reinstallation was successful.
    293     </para>
     238      At this point, you should reload the systemd daemon, and reenter
     239      multi-user mode with the following commands as the
     240      <systemitem class="username">root</systemitem> user:
     241    </para>
     242
     243<screen role="root"><userinput>systemctl daemon-reload
     244systemctl start multi-user.target</userinput></screen>
    294245
    295246  </sect2>
  • introduction/welcome/changelog.xml

    r096492a rf770d727  
    4545-->
    4646    <listitem>
     47      <para>May 22nd, 2016</para>
     48      <itemizedlist>
     49        <listitem>
     50          <para>[dj] - Fix issue /run/nologin issue with testing
     51          Linux-PAM/Shadow before completion of systemd installation.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
    4757      <para>May 21st, 2016</para>
    4858      <itemizedlist>
  • postlfs/security/shadow.xml

    r096492a rf770d727  
    4242    </para>
    4343
    44     &lfs79_checked;
     44    &lfs79_checked;&gcc6_checked;
    4545
    4646    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    446446      <sect4>
    447447        <title>Other common programs</title>
    448         <!--<title>'chfn', 'chgpasswd', 'chgpasswd', 'chsh', 'groupadd', 'groupdel',
    449         'groupmems', 'groupmod', 'newusers', 'useradd', 'userdel' and
    450         'usermod'</title>-->
    451448
    452449<screen role="root"><userinput>for PROGRAM in chfn chgpasswd chpasswd chsh groupadd groupdel \
     
    456453    sed -i "s/chage/$PROGRAM/" /etc/pam.d/${PROGRAM}
    457454done</userinput></screen>
     455
     456        <para>Because the installation of <application>systemd</application>
     457        is not yet complete, you will need to remove the
     458        <filename>/run/nologin</filename> file before testing the installation.
     459        Execute the following command as the
     460        <systemitem class="username">root</systemitem> user:</para>
     461
     462<screen role="root"><userinput>rm -f /run/nologin</userinput></screen>
    458463
    459464        <warning>
Note: See TracChangeset for help on using the changeset viewer.