Ignore:
Timestamp:
Jan 4, 2014, 11:08:30 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
3e3b362
Parents:
67d32d7
Message:

Updates systemd instructions

File:
1 edited

Legend:

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

    r67d32d7 rd150ded  
    5050install -v -m644 man/*.html /usr/share/doc/systemd-&systemd-version;</userinput></screen>
    5151
     52    <para os="i">Create symlinks for backwards-compatibility with Sysvinit:</para>
     53
     54<screen os="j"><userinput>for tool in runlevel reboot shutdown poweroff halt telinit; do
     55  ln -sfv ../bin/systemctl /sbin/$tool
     56done
     57ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
     58
     59    <para os="k">Modify a configuration file which references a group that
     60    doesn't exist:</para>
     61
     62<screen os="l"><userinput>sed -i "s@root lock@0root root@g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
     63
    5264  </sect2>
    5365
     
    6274      <primary sortas="e-/etc/os-release">/etc/os-release</primary>
    6375    </indexterm>
     76
     77    <para>Create <filename>/etc/machine-id</filename> which is needed
     78    by Journald:</para>
     79
     80<screen><userinput>systemd-machine-id-setup</userinput></screen>
    6481
    6582    <para>Create a file to identify the operating system.
Note: See TracChangeset for help on using the changeset viewer.