Week 8 Homework
Week 8: systemd, systemctl, rfkill, kernel options, etc.🔗
Presentation🔗
Homework🔗
- Create unit that will get all messages from the last boot with errors/warning/debug to some log file. There should be a config file, where u state, which priority messages to save.
Hint: Use journalctl and dmesg
-
Rewrite hello_world unit from the lecture using the timer (If systemd refuses to start a unit each second, trigger it each 10 sec)
-
write a timer unit that clears all versions except for the last version of the package in pacman cache.
Hint: paccache
All details, like syntax for the config in 1) are up to you. (But bash for scripting is prefered) Just write good README with explanations. If you want to add some functionality, go ahead!
Useful links for the homework:
- ArchWiki on timers
- First two links from useful links below
Useful links to read🔗
- A beautiful article about units
- systemd documentation
- systemd documentation about services
- russian archwiki systemctl
- joutnalctl facilities (and just journalctl on archwiki)
- kernel parameters archwiki
- systemd boot archwiki
- тут можна знайти кілька хороших відосів де стрьомний мужик розказує і про sytemd і про юніти і взагалі про лінукс
Questions?🔗
My telegram: @pavlohiley
think twice before writing -_-