Commit Graph

7908 Commits

Author SHA1 Message Date
Bruce Dubbs
2a277fbaf8 Minor grammar fixes 2021-07-20 15:18:36 -05:00
Ken Moffat
c735ea47ab Update to linux-5.13.4 to fix CVE-2021-33909. 2021-07-20 21:10:04 +01:00
Xi Ruoyao
7ea60d3c98
add changelog for tester-nohack merge 2021-07-20 19:43:41 +08:00
Xi Ruoyao
908a3c34c9
Merge branch 'xry111/tester-nohack' into trunk
Use a fixed UID for "tester" user, instead of the tty owner's UID.

The problem using tty owner's UID is, when tty is owned by "root" the
UID of "tester" will be 0.  This cause a namesis between "tester" and
root.  And, the "tester" is introduced to run some tests which are not
expected to be ran as root.  If "tester" has UID 0, it will have root
priviledge and the tests will fail again.

Bash tests require the user to own the tty.  To satisify it, we use
Expect to spawn a new pseudoterminal to run Bash tests.
2021-07-20 18:24:26 +08:00
Douglas R. Reno
14e0b47d28 Add text regarding security advisories. 2021-07-19 12:34:21 -05:00
Xi Ruoyao
94862dad61
bash: pass "make test" exitcode through expect 2021-07-19 21:39:13 +08:00
Xi Ruoyao
7d88d57dd3
bash: disable timeout to prevent Expect from exiting early
The default timeout is only 10 seconds, where the bash tests won't
complete on most systems.  Then expect will exit early, with bash tests
running in background.  We won't like this.
2021-07-19 21:29:20 +08:00
Xi Ruoyao
2d30be476b
bash: use eof in expect commands instead of EOF
(for jhalfs)
2021-07-19 21:10:06 +08:00
Xi Ruoyao
d072573464
bash: add an explanation why use expect to run the test 2021-07-19 21:01:45 +08:00
Xi Ruoyao
590d255947
Merge branch 'trunk' into xry111/tester-nohack 2021-07-19 20:54:58 +08:00
Bruce Dubbs
c522873057 Grammar 2021-07-18 17:14:51 -05:00
Bruce Dubbs
fbedef5b5a Update URL for file downloads. 2021-07-18 13:29:00 -05:00
Ken Moffat
ac9f3952a6 Perl - fixes for 5.34 test failures. 2021-07-17 21:11:36 +01:00
Xi Ruoyao
ef61313366
do not use UID hack for tester
It's causing "root-tester namesis" (both have UID 0) if the tty is owned
by root.  To fix bash test, use Expect to spawn a new PTY for it.
2021-07-18 01:04:22 +08:00
Bruce Dubbs
f3997370c5 Remove modifications to m4 that are no longer needed. 2021-07-15 12:30:07 -05:00
Bruce Dubbs
176404f5e2 Work around a util-linux that can hang the tests.
If CONFIG_USER_NS or CONFIG_PID_NS are not set in the kernel, the tests will
hang forever. To work around the problem, delete one test.
2021-07-10 23:16:21 -05:00
Bruce Dubbs
c519d4560a Set up currency for MakrupSafe and Jinja2 2021-07-10 17:08:03 -05:00
DJ Lucas
28bdcfe0ef Clean up of dependencies.xml and add runtime deps. 2021-07-10 03:25:23 -05:00
Xi Ruoyao
e182fa3535
update package rationales 2021-07-09 13:39:44 +08:00
Xi Ruoyao
5fdea2c96c
dependencies: add Jinja2 into systemd dependencies 2021-07-09 13:33:06 +08:00
Xi Ruoyao
a9e964ed99
fix installed directories in jinja2 & markupsafe 2021-07-09 13:29:32 +08:00
Douglas R. Reno
47c9152b13 Add missing files 2021-07-09 00:03:50 -05:00
Douglas R. Reno
87119fd250 Package Updates and Additions
Add MarkupSafe
Add Jinja2
Update to texinfo-6.8
Update to iproute2-5.13.0
Update to Python-3.9.6 (Security Update)
Update to systemd-249 (Security Update)
Update to Linux-5.13.1
2021-07-08 21:16:54 -05:00
Xi Ruoyao
b1fb931003
DejaGNU: build in seperate directory
Upstream recommends it.  And there are reports about test failure when
DejaGNU is build in source directory ("./configure").
2021-07-06 23:00:16 +08:00
Xi Ruoyao
3e8234557c
man-pages: add prefix=/usr
Thanks John Burrell for reporting the issue.
2021-07-02 19:14:32 +08:00
Bruce Dubbs
d8a492a200 Fix gcc patch name in Chapter 8. 2021-07-01 16:24:16 -05:00
Ken Moffat
33505d67f8 Patch gcc :
Fix some regressions, and cope with removal of a kernel header in
linux-5.13 which broke the build in chapter 8's bootstrap.
2021-07-01 19:34:12 +01:00
Xi Ruoyao
e3d0e26c73
gcc: correct desc of locale related tests 2021-06-30 11:52:11 +08:00
Xi Ruoyao
3d08653292
gcc: correct the desc of constexpr-52830 XPASS and FAIL 2021-06-30 11:47:09 +08:00
Ken Moffat
cefe50534a Add more locales used in gcc's libstdc++ testsuite. 2021-06-29 01:28:36 +01:00
Bruce Dubbs
5809826800 Package updates.
Update to bash-5.1.8.
Update to dejagnu-1.6.3.
Update to gdbm-1.20.
Update to libcap-2.51.
Update to man-pages-5.1.
2021-06-27 12:54:09 -05:00
Xi Ruoyao
f23960ab25
shadow: adjust for merged /usr 2021-06-27 16:48:48 +08:00
Ken Moffat
075d35fb3d Some updates re test failures. 2021-06-22 21:56:42 +01:00
Bruce Dubbs
6b1d625cce Really fix grub currency 2021-06-21 13:11:01 -05:00
Bruce Dubbs
346ed0ca6b Fix grub currency. 2021-06-20 10:43:45 -05:00
Xi Ruoyao
7aee3182a0
pkg management: add a note about kernel upgrade 2021-06-19 16:32:43 +08:00
Bruce Dubbs
577ac46eea Ensure capsh in installed from the libcap package. 2021-06-18 09:23:28 -05:00
Douglas R. Reno
f1f9fbefad Use the correct month for the changelog 2021-06-16 18:22:39 -05:00
Xi Ruoyao
9b7899b060
fix grub download url 2021-06-16 15:39:14 +08:00
Bruce Dubbs
0f69f60924 Tweak spacing 2021-06-15 23:02:24 -05:00
Bruce Dubbs
7fe99c2ca7 Package Updates.
Update to iana-etc-20210611.
Update to vim-8.2.3001.
Update to util-linux-2.37.
Update to meson-0.58.1.
Update to linux-5.12.10.
Update to m4-1.4.19.
Update to grub-2.06.
2021-06-15 22:31:48 -05:00
Ken Moffat
9c3ce2ac8b For consistency, make the cpp link in /usr/lib. 2021-06-09 19:34:33 +01:00
Ken Moffat
c36301e75a For consistency, install iproute2 progs in /usr/sbin
(merged /usr) - from Joe Locash.
2021-06-09 18:49:02 +01:00
Bruce Dubbs
25596ffb1d Make stopping the network interfaces more robust.
SysV only.

When stopping or rebooting the system, the network boot script is run and looks
at all the /etc/sysconfig/ifconfig.* files. Some of the devices these files
refer to may not be active or even refer to interfaces that are not defined on
the current system. This change ignores non-existant interfaces and any
interfaces that are not UP. This change also avoids bogus warning or error
error messages when the system is shutting down.
2021-06-08 12:31:17 -05:00
Xi Ruoyao
06cdaed873
systemd: sync with BLFS 2021-06-04 21:05:13 +08:00
Douglas R. Reno
9c53f9d20f Changelog: Make the bootscripts change SysV only 2021-06-03 12:16:34 -05:00
Thomas Trepl (Moody)
9804e1619b Update chglog and bootscript version 2021-06-02 22:28:20 +02:00
Thomas Trepl (Moody)
6a11766e6e Avoid killing mdmon at shutdown/reboot 2021-06-02 22:12:59 +02:00
Thomas Trepl (Moody)
134c2784d4 Fix version of libstdc++.so 2021-06-02 15:26:38 +02:00
Xi Ruoyao
4c416d14ac
dependencies: remove popt
It has been in dependencies page for 8 years while the package is
already removed!
2021-06-02 02:37:51 +08:00