Difference between revisions of "Systemd"
Jump to navigation
Jump to search
↑ https://www.freedesktop.org/wiki/Software/systemd/inhibit/
↑ http://manpages.ubuntu.com/manpages/bionic/man1/systemd-inhibit.1.html
↑ https://www.freedesktop.org/software/systemd/man/systemd.mount.html
↑ https://wiki.ubuntu.com/DebuggingSystemd
↑ https://wiki.ubuntu.com/DebuggingSystemd
(39 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[wikipedia:systemd|systemd]] is a Linux initialization system and service manager introduced in 2010 and adopted by default in [[ | + | [[wikipedia:systemd|systemd]] is a Linux initialization system and service manager introduced in [[2010]] and adopted by default in [[RHEL 7.0]] (2014), that includes features like: |
* On-demand starting of daemons | * On-demand starting of daemons | ||
− | * Inhibitor | + | * Inhibitor locks which allows to block or delay system [[sleep]] and [[shutdown]] requests from the user <ref>https://www.freedesktop.org/wiki/Software/systemd/inhibit/</ref><ref>http://manpages.ubuntu.com/manpages/bionic/man1/systemd-inhibit.1.html</ref> |
− | * Mount and automount point maintenance (<code>[[systemd-mount]]</code><ref>https://www.freedesktop.org/software/systemd/man/systemd.mount.html</ref>, <code>systemd-umount</code> ) | + | * Mount and automount point maintenance (<code>[[systemd-mount]]</code><ref>https://www.freedesktop.org/software/systemd/man/systemd.mount.html</ref>, <code>[[systemd-umount]]</code> ) |
* Snapshot support | * Snapshot support | ||
− | * [[Processes]] tracking using Linux control groups (<code>systemd-cgls</code><code>[[systemd-cgtop]]</code>) | + | * [[ps|Processes]] tracking using Linux control groups (<code>[[systemd-cgls]]</code><code>[[systemd-cgtop]]</code>) |
* Logging daemon, see <code>[[journalctl]]</code> and <code>[[systemd-cat]]</code> | * Logging daemon, see <code>[[journalctl]]</code> and <code>[[systemd-cat]]</code> | ||
+ | * [[Resource management]] | ||
− | + | == Configuration files == | |
− | * <code>/etc/systemd/logind.conf</code> | + | * <code>[[/etc/]]systemd/[[logind.conf]]</code> |
+ | * <code>[[/etc/]]systemd/[[system.conf]]</code> | ||
+ | * <code>[[/etc/systemd/resolved.conf]]</code> | ||
+ | * <code>[[/etc/systemd/system/]]</code> | ||
Line 15: | Line 19: | ||
* systemd: <code>[[systemctl]]</code> | * systemd: <code>[[systemctl]]</code> | ||
* systemd-journald: <code>[[journalctl]]</code> | * systemd-journald: <code>[[journalctl]]</code> | ||
− | * [[systemd-logind]] | + | * [[systemd-logind]]: <code>[[loginctl]]</code> |
− | * systemd-networkd: <code>[[networkctl]]</code>, [[netplan]] | + | * [[systemd-networkd]]: <code>[[networkctl]]</code>, [[netplan]] |
− | * systemd-timesyncd | + | * [[systemd-timesyncd]] |
* systemd-resolved: [[systemd-resolve]], <code>[[hostnamectl]]</code> | * systemd-resolved: [[systemd-resolve]], <code>[[hostnamectl]]</code> | ||
* systemd-udevd | * systemd-udevd | ||
+ | * [[systemd-nspawn]] | ||
− | <code>/lib/systemd/systemd-fsck</code> | + | <code>[[/lib/systemd/]]systemd-fsck</code> |
+ | |||
+ | |||
+ | <code>[[/lib/systemd/system/]]</code> | ||
+ | |||
+ | == Activities == | ||
+ | * Read systemd for Administrators: http://0pointer.de/blog/projects/resources.html | ||
+ | * Read [[systemd v228]] local root exploit https://lwn.net/Articles/712367/ | ||
+ | |||
+ | == Related == | ||
+ | * <code>systemd-tmpfiles --create</code> | ||
+ | * [[OpenRC]] | ||
+ | * [[machinectl]] | ||
+ | * [[hostnamectl]] | ||
+ | * systemd 250 | ||
+ | * [[systemd socket activation]] ([[Ubuntu 22.10]]) | ||
== See also == | == See also == | ||
+ | * {{systemd}} | ||
* {{macOS commands}} | * {{macOS commands}} | ||
− | * | + | * {{Daemontools}} |
− | * | + | * {{Service management}} |
+ | * {{cron}} | ||
* [[elogind]] | * [[elogind]] | ||
+ | * {{init}} | ||
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:systemd]] | [[Category:systemd]] |
Latest revision as of 15:49, 2 April 2023
systemd is a Linux initialization system and service manager introduced in 2010 and adopted by default in RHEL 7.0 (2014), that includes features like:
- On-demand starting of daemons
- Inhibitor locks which allows to block or delay system sleep and shutdown requests from the user [1][2]
- Mount and automount point maintenance (
systemd-mount
[3],systemd-umount
) - Snapshot support
- Processes tracking using Linux control groups (
systemd-cgls
systemd-cgtop
) - Logging daemon, see
journalctl
andsystemd-cat
- Resource management
Configuration files[edit]
Systemd components of daemons and binaries[4]:
- systemd:
systemctl
- systemd-journald:
journalctl
- systemd-logind:
loginctl
- systemd-networkd:
networkctl
, netplan - systemd-timesyncd
- systemd-resolved: systemd-resolve,
hostnamectl
- systemd-udevd
- systemd-nspawn
/lib/systemd/systemd-fsck
Activities[edit]
- Read systemd for Administrators: http://0pointer.de/blog/projects/resources.html
- Read systemd v228 local root exploit https://lwn.net/Articles/712367/
Related[edit]
systemd-tmpfiles --create
- OpenRC
- machinectl
- hostnamectl
- systemd 250
- systemd socket activation (Ubuntu 22.10)
See also[edit]
- Systemd:
systemctl
,systemd-journald
,journalctl
systemd-cat
,systemd-logind
,systemd-networkd
:networkctl
,systemd-timesyncd
,systemd-resolved
,systemd-udevd
[5],Systemd-logind: loginctl
,hostnamectl
,udevadm
,systemd-run
,portablectl
,systemd-nspawn
, systemd resource management, Timer (systemd), systemd logs,/etc/systemd/
, systemd services,systemd-mount
,/run/systemd/
,.service
,/usr/lib/systemd/
,/usr/lib/systemd/system/
,/usr/lib/systemd/system/systemd-resolved.service
,/lib/systemd/
, machinectl, systemd-oomd, systemd-analyze - macOS:
launctl
- systemd, daemontools, runit and https://en.wikipedia.org/wiki/Process_supervision
systemd
,runsv
cron
,crontab
,systemctl list-timers
, anacron, Kubernetes scheduler, Systemd services,CronJobsStack
,cron.schedule
,crontab -l
,0x004b
,at, /etc/cron.deny, /etc/cron.allow, /etc/crontab, /var/spool/cron/crontabs/
- elogind
- init (
inittab
), supervisor, systemd, upstart,service
,chkconfig
, OpenRC, s6-svstat
Advertising: