Changeset b27af42


Ignore:
Timestamp:
Jun 24, 2014, 10:58:43 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
7db0c2e
Parents:
62afd55
Message:

Tell systemd-fsck not to use fsck -l

Location:
BOOK
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/systemd.xml

    r62afd55 rb27af42  
    4545
    4646<screen os="s4"><userinput>sed -i '/timesyncd.conf/d' src/timesync/timesyncd.conf.in</userinput></screen>
     47
     48    <para os="s5">By default, <command>systemd-fsck</command> will run
     49    <filename>/sbin/fsck</filename> with the <option>-l</option> option, which
     50    applies an <function>flock</function> on the file system being checked.
     51    This can conflict with an <function>flock</function> that
     52    systemd itself puts on the file system, which could result in problems
     53    booting. <command>fsck</command> will be fixed to avoid this problem in a
     54    future release of Util-linux, but for now we will work around the issue by
     55    simply preventing <command>systemd-fsck</command> from using <option>-l</option>:</para>
     56
     57<screen os="s6"><userinput>sed -i '/-l/d' src/fsck/fsck.c</userinput></screen>
    4758
    4859    <para os="a">Prepare systemd for compilation:</para>
  • BOOK/final-system/multilib/systemd-64bit.xml

    r62afd55 rb27af42  
    4444    href="../common/systemd.xml"
    4545    xpointer="xpointer(//*[@os='s4'])"/>
     46
     47    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     48    href="../common/systemd.xml"
     49    xpointer="xpointer(//*[@os='s5'])"/>
     50
     51    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     52    href="../common/systemd.xml"
     53    xpointer="xpointer(//*[@os='s6'])"/>
    4654
    4755    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/introduction/common/changelog.xml

    r62afd55 rb27af42  
    4848          <command>setcap</command> during installation.</para>
    4949        </listitem>
     50        <listitem>
     51          <para>[Chris] - Prevent <command>systemd-fsck</command> from using
     52          <command>fsck -l</command>, to avoid boot errors. Fixes ticket
     53          <ulink url="http://trac.cross-lfs.org/ticket/968">#968</ulink>.</para>
     54        </listitem>
    5055      </itemizedlist>
    5156    </listitem>
Note: See TracChangeset for help on using the changeset viewer.