Commit Graph

8215 Commits

Author SHA1 Message Date
Xi Ruoyao
c07d5a87f2 openssl: mark c_rehash obsolete
The c_rehash script, shipped by OpenSSL versions in current LFS trunk
and all previous LFS releases, is vulnerable to CVE-2022-2068.  It's
fixed in 3.0.4, but OpenSSL 3.0.4 is completely broken on CPU models with
AVX-512 extension [1]. So we'd like to defer OpenSSL update and wait for
upstream consensus about "would 3.0.5 be released in urgency".

But, the upstream has announced that use of c_rehash is obsolete now [2].
So we can tell people not to use it.

[1]: https://github.com/openssl/openssl/issues/18625
[2]: https://www.openssl.org/news/secadv/20220621.txt
2022-06-24 09:07:14 -05:00
Xi Ruoyao
e8afce4d2d bc: enable readline
Using readline can improve line editing feature of bc, but it's not
enabled by default.

As readline is already installed before bc, let's pick up this
improvement with no cost.
2022-06-24 09:07:01 -05:00
Xi Ruoyao
4a0172628b document some newly reported test failures 2022-06-24 09:06:47 -05:00
Xi Ruoyao
cd65faa114 minor reword for glibc test failures on slow systems
I've observed some failures building LFS on my old i3-3217U (at 1.8 GHz
with -j4), but forgot to update the book.  Just got reminded by a
lfs-support post.
2022-06-24 09:06:34 -05:00
Xi Ruoyao
84909cc737 provide revision-specific wget-list-$(REV) file
It's irrational to force a sysv builder to download systemd, or vice
versa.  But we cannot simply make wget-list specific for revision: IIRC
the wget-list file with all packages in either revision is used by some
scripts on rivendell.  So we keep wget-list as is, and provide a new
wget-list-$(REV) file which only contains the packages for one revision.
2022-06-24 09:06:19 -05:00
Bruce Dubbs
65c541b3b3 Package Updates
Update to python3-3.10.5.
Update to meson-0.62.2.
Update to kbd-2.5.0.
Update to file-5.42.
Update to linux-5.18.3.
Update to bc-5.3.1.
2022-06-15 13:31:08 -05:00
Xi Ruoyao
4cfd743467 dbus: remove --with-console-auth-dir
BLFS no longer contains ConsoleKit, and ConsoleKit can be considered
dead now (the ConsoleKit2 fork has no action in the recent year).

In BLFS systemd (with PAM) or elogind provide a similar functionality.

I can see no reason to mention ConsoleKit in the book now.
2022-06-13 08:20:29 -05:00
Bruce Dubbs
8b528a46c9 Package updates.
Update to iana-etc-20220524.
Update to iproute2-5.18.0.
Update to linux-5.18.1.
Update to perl-6.36.0.
2022-06-01 10:53:08 -05:00
Xi Ruoyao
cd4c979e24 revise the note about "already created" directories
Q: Why not just move the note after the creation of root-level
directories?
A: Root-level directories may be already created as well: if a
root-level directory is a mount point it should have been created in
section "Mounting the New Partition".

Reported-by: Vladimir Pertsev <info@linuxfromscratch.ru>
2022-05-30 16:25:48 -05:00
Xi Ruoyao
64e70b0038 disable systemd-networkd-wait-online if ...
systemd-networkd won't be used for network configuration
2022-05-30 16:25:43 -05:00
Xi Ruoyao
3efe578456 systemd: disable systemd-sysupdate 2022-05-30 16:25:40 -05:00
Xi Ruoyao
7f924890ff update to vim-8.2.5014 (#4500) 2022-05-30 16:25:37 -05:00
Xi Ruoyao
23f2a66357 update to ninja-1.11.0 (#5062) 2022-05-30 16:25:33 -05:00
Xi Ruoyao
e343da6e4c systemd: use a better way to disable /usr/lib/pam.d 2022-05-30 16:25:30 -05:00
Xi Ruoyao
3b8d6f51a3 systemd: remove unnecessary options
-Dblkid is automatically detected, and other three options are meson
defaults.
2022-05-30 16:25:26 -05:00
Xi Ruoyao
db3b7226ab update to systemd-251 (#5064) 2022-05-30 16:25:20 -05:00
Xi Ruoyao
1a95e913c7 openssl: reword upgrading note for versioning scheme change 2022-05-30 16:25:06 -05:00
Xi Ruoyao
175a642135 check: remove reference to libcheck.a 2022-05-30 16:24:59 -05:00
Xi Ruoyao
ee47820531 fix command for removing libncurses++w.a
What was I doing ?!
2022-05-28 08:49:16 -05:00
Xi Ruoyao
7ea2104f0c ncurses: remove libncurses++w.a from temp ncurses 2022-05-26 10:41:12 -05:00
Pierre Labastie
350c23eff1 stripping, chapter 8: prevent stripping ld-*.dbg
With the construct used in save_usrlib, if ld-linux-...dbg already
exists, it is stripped again and a file ld-linux-...dbg.dbg is
created. Prevent this by not listing files ending in "g".
2022-05-25 09:49:12 -05:00
Pierre Labastie
3c51561b4e Document the test failure in coreutils
Seems to be fixed upstream, but adding a patch for just a test
is overkill IMO.
2022-05-16 10:33:13 -05:00
Bruce Dubbs
7e5a6f9851 Package updates.
Update to linux-5.17.7.
Update to psmisc-23.5.
2022-05-16 10:33:03 -05:00
Pierre Labastie
cc2b4ea914 Make clear that run-level definitions are for LFS 2022-05-16 10:32:54 -05:00
Bruce Dubbs
277dcf8eb0 Rename run level 2 2022-05-16 10:32:43 -05:00
Xi Ruoyao
aa8ab35314 procps: fix typo
How did I copied "FAIL:" along with the test name? :(
2022-05-09 09:37:32 -05:00
Xi Ruoyao
b35d6894e5 fix a typo in changelog, again 2022-05-09 09:37:27 -05:00
Xi Ruoyao
1903d313c2 kernel: disable CONFIG_WERROR
The help of this options says:

"However, if you have a new compiler with ..., you may need to disable
this config option in order to successfully build the kernel."

As we are having state-of-art GCC-12, and Linux-5.18 release candidate
FTBFS with GCC-12 and CONFIG_WERROR=y [1], and <rant>the kernel developers
are making stupid and meaningless discussion instead of fixing the building
failure</rant> [2], I don't think enabling this option makes any sense
building LFS.

[1]:https://lkml.org/lkml/2022/4/14/1676
[2]:https://lkml.org/lkml/2022/4/21/254
2022-05-09 09:37:23 -05:00
Pierre Labastie
38c956bdef Minor grammar fix 2022-05-08 09:32:42 -05:00
Xi Ruoyao
8cd603eb4f gcc-12: update gcc building stats
The other stats have not changed significantly (usually only
+/- 0.1 SBU).

By the way, the changes for gcc-pass2 also include the change
from merging libstdc++-pass2 into gcc-pass2.
2022-05-08 09:32:28 -05:00
Xi Ruoyao
f23ac407b9 update to bc-5.2.5 2022-05-08 09:31:15 -05:00
Xi Ruoyao
00e2c36dbb util-linux: remove unnecessary test workaround
According to upstream, this issue is fixed:
https://github.com/util-linux/util-linux/issues/1635.

Also tested by Pierre and me.
2022-05-08 09:31:11 -05:00
Xi Ruoyao
b9a4516d24 procps: update testsuite status 2022-05-08 09:31:05 -05:00
Xi Ruoyao
0567d859b2 gcc-12: update test status
The analyzer tests fixed at https://gcc.gnu.org/r12-7119.

The PR100400 status is discussed in the thread started with
https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593931.html.
2022-05-08 09:30:58 -05:00
Xi Ruoyao
d288bfa172 gcc-12: bump libstdc++.so version
libstdc++.so.6.0.29 to 6.0.30.  The versions of other GCC runtime libraries
are not bumped.
2022-05-08 09:30:46 -05:00
Xi Ruoyao
753d2cd040 gcc-12: remove unnecessary workaround for PR91085
Reference: https://gcc.gnu.org/r12-1924
2022-05-08 09:29:39 -05:00
Xi Ruoyao
13d9915dba gcc-12: remove unneeded sed for PR100017 in pass 2
Reference: https://gcc.gnu.org/r12-6406
2022-05-08 09:29:34 -05:00
Xi Ruoyao
1f7503cad9 gcc-12: remove --enable-initfini-array in pass 1
Reference: https://gcc.gnu.org/r12-1328
2022-05-08 09:29:27 -05:00
Xi Ruoyao
58fdf9522d gcc-12: update tarball stat 2022-05-08 09:29:22 -05:00
Bruce Dubbs
221751d025 Update to openssl-3.0.3. 2022-05-05 11:51:01 -05:00
Xi Ruoyao
5c9598669e GID 5 (for tty) is also special 2022-05-02 09:47:34 -05:00
Xi Ruoyao
c5d69acf2f minor fix for 65534 explanation: it is also used for "unmapped" groups 2022-05-02 09:47:25 -05:00
Xi Ruoyao
f1572771b1 make /etc/group sorted by GID 2022-05-02 09:47:19 -05:00
Xi Ruoyao
a2e0f7d559 explain the usage of 65534 2022-05-02 09:47:13 -05:00
Xi Ruoyao
df692bb143 fix a typo in changelog 2022-05-02 09:47:04 -05:00
Bruce Dubbs
f333d753cf Package updates and nobody uid change.
Change nobody/nogroup uid/git to 65534.
Update to meson-0.62.1.
Update to libpipeline-1.5.6.
Update to elfutils-0.187.
Update to Jinja2-3.1.2.
Update to vim-8.2.4814.
Update to sysvinit-3.03.
Update to linux-5.17.5.
Update to gcc-11.3.0.
Update to coreutils-9.1.
Update to bc-5.2.4.
2022-05-01 13:30:41 -05:00
Xi Ruoyao
514758d05f python: fix a typo 2022-04-22 09:43:31 -05:00
Bruce Dubbs
8816fe7a9f Minor rewording of pip3 recommendations 2022-04-21 10:24:54 -05:00
Xi Ruoyao
a3a9213f62 python: add a <important> for pip3 usage 2022-04-21 10:24:38 -05:00
Xi Ruoyao
2ad6d43661 decorate the references to root and lfs user
The references already correctly decorated are not changed because "if
it's not broken don't fix it".
2022-04-21 10:24:28 -05:00