sysvinit-inst.xml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <sect2>
  2. <title>Installation of Sysvinit</title>
  3. <para>
  4. When run levels are changed (for example when going to shutdown
  5. the system) the init program is going to send the TERM and KILL signals
  6. to all the processes that init started. But init prints a message to the
  7. screen saying "sending all processes the TERM signal" and the same for the
  8. KILL signal. This implies that init sends this signal to all the currently
  9. running processes, which isn't the case. To avoid this confusion a user can
  10. apply the sysvinit patch found on the LFS FTP site to sysvinit that changes
  11. the sentence in the shutdown.c file and have it print "sending all
  12. processes started by init the TERM signal".
  13. </para>
  14. <para>
  15. Apply the patch by running the following command:
  16. </para>
  17. <blockquote><literallayout>
  18. <userinput>patch -Np1 -i ../sysvinit-2.78.patch</userinput>
  19. </literallayout></blockquote>
  20. <para>
  21. Install Sysvinit by running the following commands:
  22. </para>
  23. <blockquote><literallayout>
  24. <userinput>make -C src &amp;&amp;</userinput>
  25. <userinput>make -C src install</userinput>
  26. </literallayout></blockquote>
  27. </sect2>