Commit Graph

66 Commits

Author SHA1 Message Date
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
Xi Ruoyao
3328dfdc69
systemd: fix a typo 2021-11-02 21:44:49 +08:00
Bruce Dubbs
1f201845a3 Package updates
Update to gawk-5.1.1.
Update to meson-0.60.0.
Update to libcap-2.60.
Update to gdbm-1.22.
Update to file-5.41.
Update to linux-5.14.15.
Update to iana-etc-20211025.
Update to tzdata-2021e.

Change /bin to /usr/bin in passwd, and revisedchroot.
Fix systemd for new meson.
2021-10-31 14:00:21 -05:00
Pierre Labastie
d672ab7d66 Remove spaces at end o lines - chapter08 2021-09-07 22:33:18 +02:00
Douglas R. Reno
9f84752195 Update to binutils-2.37
Update to less-590
Update to meson-0.59.0
Guard systemd against CVE-2021-33910
2021-07-23 06:30:53 -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
06cdaed873
systemd: sync with BLFS 2021-06-04 21:05:13 +08:00
Douglas R. Reno
8725caed02 Remove unnecessary command for systemd. Nice eye, Xi! 2021-05-13 10:40:28 -05:00
Xi Ruoyao
871fd2f4a2
systemd: fix systemd-sysext description
Technically it's not a daemon, copy the desc from man page.
2021-05-13 01:57:28 +08:00
Douglas R. Reno
d7a942197e Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!
2021-05-11 23:24:11 -05:00