Changes in chapter08/coreutils.xml [64ef2e9:ba64c50]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/coreutils.xml
r64ef2e9 rba64c50 54 54 </note> 55 55 56 <!-- https://seclists.org/oss-sec/2024/q1/30 -->57 <para>Fix a security vulnerability in the <command>split</command>58 utility:</para>59 60 <screen><userinput remap="pre">sed -e '/n_out += n_hold/,+4 s|.*bufsize.*|//&|' \61 -i src/split.c</userinput></screen>62 63 56 <para>Now prepare Coreutils for compilation:</para> 64 57 … … 124 117 <screen><userinput remap="test">chown -R tester . </userinput></screen> 125 118 126 <para>Now run the tests:</para> 127 128 <screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 129 130 <!-- Sometimes skipped, but if not it may fail. 131 Please DO NOT remove or comment out this unless we can fully 132 understand it! 133 <para>The test-getlogin test may fail in the LFS chroot environment.</para> 134 20240226: Commented out as it seems the upstream has root-caused and 135 fixed the issue. I've checked the fix is in Coreutils 9.4 release 136 tarball: 137 138 https://lists.gnu.org/archive/html/bug-gnulib/2022-06/msg00079.html 139 --> 119 <!-- To editors: in jhalfs the standard input is always piped to "make" 120 so the test failures are not reproducible in jhalfs even if 121 running the build in a PTY. Don't use jhalfs to test if we can 122 remove < /dev/null. --> 123 <para>Now run the tests (using <filename>/dev/null</filename> for the 124 standard input, or two tests may be broken if building LFS in a 125 graphical terminal or a session in SSH or GNU Screen etc. because the 126 standard input is connected to a PTY from host distro, and the device 127 node for such a PTY cannot be accessed from the LFS chroot 128 environment):</para> 129 130 <screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" < /dev/null</userinput></screen> 140 131 141 132 <para>Remove the temporary group:</para> 142 133 143 134 <screen><userinput remap="test">groupdel dummy</userinput></screen> 135 136 <para> 137 Two tests, <filename>tests/cp/preserve-mode.sh</filename> and 138 <filename>tests/mv/acl.sh</filename>, are known to 139 fail in the chroot environment, but pass in a complete system. 140 </para> 144 141 145 142 <para>Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.