Introduction to systemd
-
Upload
yusaku-ogawa -
Category
Software
-
view
922 -
download
1
Transcript of Introduction to systemd
![Page 1: Introduction to systemd](https://reader035.fdocuments.in/reader035/viewer/2022080213/55a65e6d1a28ab37798b48d2/html5/thumbnails/1.jpg)
Introduction to systemdOGAWA Yusaku
![Page 2: Introduction to systemd](https://reader035.fdocuments.in/reader035/viewer/2022080213/55a65e6d1a28ab37798b48d2/html5/thumbnails/2.jpg)
What is systemd● Init daemon● It is designed to be backwards compatible with System
V init
● Strength○ Parallel startup (Dependency-based startup)○ On-demand service activation○ Replacements for various daemons and
utilities such as syslog, cron, etc.
![Page 3: Introduction to systemd](https://reader035.fdocuments.in/reader035/viewer/2022080213/55a65e6d1a28ab37798b48d2/html5/thumbnails/3.jpg)
● Encapsulate information about system services, listening sockets, device files, and other objects that are relevant to the init system
● Unit types○ Service unit: A system service○ Device unit: A device file○ Mount unit: A fs mount point○ Target unit: A group of units○ etc.
What is unit
Target
Unit
![Page 4: Introduction to systemd](https://reader035.fdocuments.in/reader035/viewer/2022080213/55a65e6d1a28ab37798b48d2/html5/thumbnails/4.jpg)
System V boot process
Read inittab
rc.sysinit
init
BIOS/UEFI
GRUB/LILO
Kernel
Run level 3
Run level 2
Run level 4
Run level 1
Run level 5
![Page 5: Introduction to systemd](https://reader035.fdocuments.in/reader035/viewer/2022080213/55a65e6d1a28ab37798b48d2/html5/thumbnails/5.jpg)
sysinit.targetbasic.targetmulti-user.target
systemd boot process
default.target
systemd
BIOS/UEFI
GRUB/LILO
Kernel
symlink
rescue.target
Unit Unit Unit
symlink Unit
![Page 6: Introduction to systemd](https://reader035.fdocuments.in/reader035/viewer/2022080213/55a65e6d1a28ab37798b48d2/html5/thumbnails/6.jpg)
On-demand activation● Socket-based activation● Bus-based activation● Device-based activation● Path-based activation