Commit Graph

75 Commits

Author SHA1 Message Date
Xi Ruoyao
86e276279a
systemd: Update known failures
I can only reproduce test-namespace failure now with 256.1.
2024-07-18 11:13:24 +08:00
Bruce Dubbs
e91edadd00 Package and format updates.
Update to iana-etc-20240612.
Update to bc-6.7.6.
Update to man-pages-6.9.1.
Update to linux-6.9.7.
Update to sysklogd-2.5.2.
Update to shadow-4.16.0.
Update to systemd-256.1.
Update to setuptools-70.1.1.

Also change the formatting of options '-Dsomething' to '-D something'.
2024-06-30 10:40:41 -05:00
Xi Ruoyao
c04d98d038
systemd: Reword test failure notice 2024-06-15 01:22:02 +08:00
Bruce Dubbs
cadbe55e4d Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2024-06-14 10:43:13 -05:00
Bruce Dubbs
58180415dd Package updates.
Update to vim-9.1.0478.
Update to iana-etc-20240607.
Update to systemd-256.
Update to python3-3.12.4.
Update to perl-5.40.0.
Update to openssl-3.3.1 (Security fix).
Update to linux-6.9.4.
Update to findutils-4.10.0.
2024-06-14 10:37:53 -05:00
Xi Ruoyao
b3c50e06f6
systemd: Fix the sed adding PID_FS_MAGIC into src/basic/missing_magic.h
Without this trailing backslash only one line (the comment) is added.

Note that udev.xml contains the correct sed.
2024-06-02 19:45:41 +08:00
Xi Ruoyao
464fd24324
udev & systemd: Emphasis "API headers" for linux compatibility
Or people will ask "why no-break-userspace rule does not apply?"
2024-06-02 19:38:25 +08:00
Bruce Dubbs
6acfe2e81f Package Updates.
Update to meson-1.4.1.
Update to xz-5.6.2.
Add linux-6.9.x compatibility instructions to systemd and udev.
Update to setuptools-70.0.0 (python module).
Update to ninja-1.12.1.
Update to man-pages-6.8.
Update to linux-6.9.3.
Update to libcap-2.70.
Update to iproute2-6.9.0.
Update to e2fsprogs-1.47.1.
2024-05-31 12:06:49 -05:00
Xi Ruoyao
1e7341fd35
systemd: Enable test suite (again)
With systemd-255, I get only 1 failure out of 1206.  Thus it seems a
good idea to run the test suite.

We can always revert if something bad happens.
2024-05-03 13:39:48 +08:00
Xi Ruoyao
fe99d50d94
systemd: Fix a bug breaking systemd-verify an instantiated unit
It's breaking Git test suite (and maybe other things).
2024-02-10 18:49:55 +08:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Xi Ruoyao
56eed6c5da
systemd: Update the explanation to match the actual command 2024-01-15 12:36:47 +08:00
Xi Ruoyao
33c9cb06d7
systemd: Fix another deprecation warning
Not sure why I didn't catch it...
2024-01-06 11:26:22 +08:00
Xi Ruoyao
8b4fb1245d
systemd: Fix CVE-2023-7008 (#5405) 2023-12-31 02:35:25 +08:00
Xi Ruoyao
7380559028
systemd: Disable systemd-sysupdate with a better way 2023-12-18 16:38:21 +08:00
Xi Ruoyao
9afac649f2
Update to systemd-255 2023-12-18 16:31:18 +08:00
Xi Ruoyao
ffecb9ef81
systemd: Slightly adjust the desc for -Dnobody-group 2023-09-03 03:40:13 +08:00
Bruce Dubbs
3864d235cf Package updates and misc upates/typos.
Update to vim-1837.$
Update to zlib-1.3.$
Update to wheel-0.41.2 (Python Module).$
Update to util-linux-2.39.2.$
Update to sysvinit-3.08.$
Update to shadow-4.14.0.$
Update to Python-3.11.5.$
Update to procps-ng-4.0.4.$
Update to pkgconf-2.0.2.$
Update to mpfr-4.2.1.$
Update to kbd-2.6.2.$
Update to gzip-1.13.$
Update to coreutils-9.4.$
Specify the 'nobody-group' for systemd.$
Remove unused usb group.$
2023-09-02 08:54:55 -05:00
Xi Ruoyao
c2ccad14a5
systemd: Add two new symlinks into contents 2023-07-29 10:19:04 +08:00
Xi Ruoyao
57f16783ed
systemd: Add --no-same-owner for man page extraction
Well, I forgot to create the man pages tarball as root, so if we don't
use --no-same-owner the man pages will be owned by UID 1000 :(.

Instead of regenerating the tarball again let's just fix this in the
book.
2023-07-29 09:56:55 +08:00
Xi Ruoyao
7dcd8c782b
systemd: Remove sed unneeded with 254 2023-07-29 09:51:28 +08:00
Bruce Dubbs
cd8339aa0b Minor grammar fix 2023-05-13 10:46:29 -05:00
Xi Ruoyao
740ee46aef
systemd: Fix runtime issues exploited by GCC 13 (#5254)
Switch to "meson setup" from the plain "meson" by the way.
2023-05-10 16:26:26 +08:00
Xi Ruoyao
dfde6640eb
systemd: Set /dev/kvm mode to 0660
The default /dev/kvm mode is 0666 and we consider it "not so safe".
Like Tim said: "I'm also authenticating to my system all the time and
don't do a chmod -R 777 / after every boot."

With this option, the /dev/kvm mode is set to 0660 and it's tagged
"uaccess" so systemd-logind will add an ACL entry for users logged-in
locally.
2023-04-10 16:17:04 +08:00
Xi Ruoyao
2efe1e8190
systemd: Document systemd-ac-power
It has been moved to /usr/bin for general use by upstream, so list it in
programs.
2023-03-05 15:20:24 +08:00
Xi Ruoyao
770e789527
Package updates
- Update to systemd-253
- Update to bc-6.3.1
- Update to linux-6.2.2
- Update to procps-ng-4.0.3
- Update to iproute2-6.2.0
- Update to meson-1.0.1
- Update to make-4.4.1
- Update to elfutils-0.189
2023-03-05 10:57:09 +08:00
Xi Ruoyao
59d90df78a
systemd: remove an extra word "both"
It seems introduced unintentionally.  I'm wondering what has happened
with David's text editor :).
2023-01-27 01:45:12 +08:00
Douglas R. Reno
c349b4a2b3 Fix the build of systemd due to the last commit 2023-01-25 15:01:12 -06:00
David Bryant
69854d2a87 Edit systemd chapters for grammar and idiom. 2023-01-25 13:10:44 -06:00
Douglas R. Reno
e193e35799 Patch systemd against CVE-2022-4415 2022-12-28 09:52:50 -06:00
Xi Ruoyao
5156c40031
systemd: fix and simply the command to disable systemd-sysupdate
"systemd disable" seems a typo...

And we don't need the ".timer" suffix because these .service units are
tied to the .timer units.
2022-11-04 10:42:03 +08:00
Douglas R. Reno
172185a9f7 Update to systemd-252. 2022-11-03 14:33:43 -05:00
Bruce Dubbs
1b11115cd2 Package updates.
Update to binutils-2.38.
Update to util-linux-2.38.1.
Update to Python3-3.10.6.
Update to glibc-2.36.
2022-08-06 17:40:17 -05:00
Xi Ruoyao
f99a7eb572
systemd: disable systemd-sysupdate 2022-05-29 14:12:11 +08:00
Xi Ruoyao
77e340bc4a
systemd: use a better way to disable /usr/lib/pam.d 2022-05-29 12:29:20 +08:00
Xi Ruoyao
f435668903
systemd: remove unnecessary options
-Dblkid is automatically detected, and other three options are meson
defaults.
2022-05-29 12:29:20 +08:00
Xi Ruoyao
b4008bb22c
update to systemd-251 (#5064) 2022-05-29 12:29:20 +08:00
Bruce Dubbs
f30c2e8029 Add in the patch needed for systemd with the 5.17 kernel 2022-03-31 12:39:23 -05:00
Xi Ruoyao
9c7e6ff853
systemd: remove --strip-compoents=1 from man page installation command
systemd-man-pages-250.tar.xz has no additional leading components.

An errata is required.
2022-03-16 00:13:35 +08:00
Xi Ruoyao
c19371f6f9
systemd: remove unneeded command
For systmed-250, systemd-time-wait-sync.service is disabled by
systemctl preset-all.
2022-02-23 15:25:28 +08:00
Xi Ruoyao
96fa6f2558
systemd: trivial indent fix :) 2022-02-23 15:10:03 +08:00
Xi Ruoyao
9f0a6427ab
short description should not end with "." 2022-02-18 14:03:51 +08:00
Xi Ruoyao
662f6497ff
systemd: remove systemd-cryptenroll and bootctl
bootctl is not built because LFS doesn't have gnu-efi.

systemd-cryptenroll is disabled if cryptsetup is not installed (should
be added into BLFS).
2022-02-17 19:39:07 +08:00
Xi Ruoyao
f09dd59a81
systemd: /etc/{passwd,group} was created in Chapter 7 2022-02-05 22:17:26 +08:00
Xi Ruoyao
69c4524b6d
systemd: remove unneeded LANG=en_US.UTF-8 settings
They were added because ninja had printed warnings about "non UTF-8
locale".  Current version of ninja no longer does this.
2022-02-05 20:37:44 +08:00
Douglas R. Reno
0a75d62658 Minor tweaks to systemd 2022-02-04 19:54:13 -06:00
Douglas R. Reno
c8df034e5f Fix CVE-2021-3997 in systemd. 2022-01-13 15:16:37 -06:00
Douglas R. Reno
6d19228191 Package Updates:
Update to systemd-250 (BLFS coming shortly)
Update to meson-0.60.3
Kernel Configuration: Enable the framebuffer since it's disabled by
default in Linux-5.15.
Kernel Configuration: Add a note about CONFIG_DEFAULT_HOSTNAME on
systemd.
2021-12-30 11:39:08 -06:00
Xi Ruoyao
394bd9caff
systemd: minor reword for Linux header >= 5.14 issue
It does not affect using systemd with Linux >= 5.14, but only affects
building systemd with kernel header >= 5.14.
2021-11-15 23:34:44 +08:00
Bruce Dubbs
0d78c2c179 Package updates.
Update to iana-etc-20211112.
Update to elfutils-0.186.
Update to jinja2-3.0.3.
Update to bc-5.2.0.
Update to ncurses-6.3.
Update to libpipeline-1.5.4.
Update to meson-0.60.1.
Update to iproute2-5.15.0.
Update to linux-5.15.2.

One change was needed to systemd-249 due to changes in the linux
keernel version 5.14 and later.

A change to ncurses was needed to ensure the .pc files are placed in
the right location (/usr/lib/pkgconfig).
2021-11-14 12:22:12 -06:00