3 ms·
I've fixed a lot of problems on a lot of systems and never needed to recompile systemd. The majority of them I've fixed by editing text files. What kinds of pr
by akerl_ 2y ago
I've fixed a lot of problems on a lot of systems and never needed to recompile systemd. The majority of them I've fixed by editing text files.
What kinds of problems are you hitting where you need to recompile systemd?
- smaudet 2y agoI could simply trace shell scripts with some file io, or echo statements. Now there are systems using python, even better I can set breakpoints and modify, no need to recompile. Configuring the system with textfiles only works if the system anticipated all your needs, and to anticipate all needs is not only complex but error prone.
- akerl_ 2y agoSystemd unit files can exec shell scripts… There have been times where I needed to do something that wasn’t available in the unit file syntax, so I just do it in a shell script and ExecStart that.
- smaudet 2y agoI suppose, can you arbitrarily replace portions of systemd with scripts, though? If so, perhaps it is less of a problem than it used to be. It still doesn't fit every need but it's better if it can get out of the way when told to.