When Arch Linux takes too long to shut down…

Tags: howtos, linux

After switchin to systemd, the shutdown process in Arch Linux suddenly seemed to take very long. The console output stopped at Stopped target Remote File Systems. From this point on, it took almost 2min for the next line to appear.

The freedesktop.org wiki hat some helpful information about debugging systemd shutdown problems. Basically, I added some debug options to /boot/grub/menu.lst. Afterwards, the next shutdown resulted in a log file that contained details about the started services. The culprit turned out to be acpid. Since systemd is capable of hibernation and suspending the computer, too, I decided to scrap acpid for the time being and remove it via pacman --remove acpid.

I have to admit that I did not look again into the issues with acpid. Especially for laptops, it is probably preferable to use acpid than a pure systemd. If I suddenly get acpid working again, I will post an update to this note.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.3081141710281372, "perplexity": 3677.3358575715683}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2019-18/segments/1555578681624.79/warc/CC-MAIN-20190425034241-20190425060241-00087.warc.gz"}