Ignore:
Timestamp:
Jun 24, 2014, 10:58:43 AM (11 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

File:
1 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>
Note: See TracChangeset for help on using the changeset viewer.