Обновить

Комментарии 6

Подскажите, за что так не любят systemd?

Действительно, почему?

Why some Linux users do not like systemd?

Спросил у Гугла и ИИ его сказал

Key reasons for the opposition include:

  • Violation of the UNIX Philosophy: The traditional UNIX approach favors small, simple tools that "do one thing and do it well" and can be easily chained together. Critics argue that systemd is a large, monolithic, and complex suite of around 70 interconnected binaries that takes on too many responsibilities, from network management (networkd) to logging (journald) and login management (logind), which previously were handled by separate, replaceable utilities.

  • Complexity and Learning Curve: The shift to systemd requires system administrators and power users to learn a completely new set of tools, commands (like journalctl and systemctl), and configuration files (declarative units). This deprecates decades of accumulated knowledge and scripts based on older systems like SysVinit or Upstart.

  • Binary Logging Format: systemd uses a binary format for its logs (the journal) instead of plain text files. This is a major point of contention because traditional text-processing tools like grep, awk, and sed cannot be used directly. Users must rely on the specialized journalctl utility to read logs, which some view as a move away from the transparent, file-based nature of UNIX systems.

  • Invasive and All-or-Nothing Approach: Due to its deep integration into the system and its dependencies, replacing individual systemd components with alternative software is difficult, and many desktop environments and projects have come to depend on it. This reduces user choice and flexibility, creating an "all-in-one bundle" that is hard to customize.

  • Compatibility and Standardization Concerns: systemd is Linux-specific, rather than POSIX compliant, which makes it harder to port software between Linux and other Unix-like systems (like BSDs).

  • Developer Dislike and Community Dynamics: A significant, though less technical, aspect of the controversy includes personal dislike for the key developers of systemd, with some critics citing a lack of openness to community feedback and an "inflexible by design" attitude. 

И это дивно совпало с моими личными ощущениями - systemd работает хорошо и удобно, но является злом которое вредит мне так тонко и замаскировано, что я этого не замечаю. В точности то же самое относится и к wayland. Со злом я, впрочем, не борюсь если можно примкнуть к нему, в данном случае - EndeavourOS называется.

Сначала опытные админы выли потому, что у них отвалилась часть их привычных инструментов. Затем они освоились, написали новые инструменты. Теперь воют те, кто косит под опытных админов.

У SystemD есть недостатки конечно.

Многословность: то, что в других системах настраивается парой слов в конфиг, в systemD требует отдельного файла-двух. Самый частый пример – таймеры. Но это сделано ради автоматизируемости. Положить новый файл в пачку конфигов автоматически гораздо проще, чем добавить строку в конфиг (а при удалении пакета – удалить и конфиг). LLM отлично пишет конфиги для systemd.

Ползучесть: systemD занимается многими вещами, которые на первый взгляд не его собачье дело. Например, синхронизацией времени по NTP, резолвингом DNS, менеджментом пользователей в домене. Причём иногда функционал явно сделан по минимуму, а иногда systemD не просто уговорить перестать этим заниматься. Это делается ради того, чтобы эти функции посылали контрольные сигналы, понятные systemD. Ну например, от балды – можно пользователей разделить на тех, у кого хомяк локальный и тех, у кого хомяк по NFS и не позволять последним логиниться, если DNS не днс-ит. Или например systemD теперь может управлять контейнерами Podman, что оказалось в меру удобно если у тебя никакой не сервер, а Workstation и в Podman у тебя личный инстанс Tiny Tiny RSS.

Идеологические срачи отцов-основателей и связи с IBM.

Systemd оптимизировали, ну щас заживём!

Любопытно: в чьих и каких интересах разработан и продвигается?

Зарегистрируйтесь на Хабре, чтобы оставить комментарий

Другие новости