Difference between revisions of "Systemd"

From wikieduonline
Jump to navigation Jump to search
 
(41 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 [[Red Hat Enterprise Linux|RHEL]] 7.0, that includes features like:
+
[[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 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>
+
* 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]]
  
Config files:
+
== 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]] and [[runit]]
+
* {{Daemontools}}
* [[cron]], [[ps]] and [[pstree]] ([[pstree]] -a)
+
* {{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:

Configuration files[edit]


Systemd components of daemons and binaries[4]:

/lib/systemd/systemd-fsck


/lib/systemd/system/

Activities[edit]

Related[edit]

See also[edit]

  • 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
  • Advertising: