0x6A7232 wrote: Sun Apr 07, 2024 12:52 am
The issue is that the text file does not exist and must be created. Where is it supposed to be? In the directory of the libvirtd service. Oh, but I'm not really using systemd, now am I? So I'd much prefer to use a command to put it where it needs to go without me stabbing in the dark.
Then don't stab in the dark. If you want to run a foo service, you should, at the very least, read the foo documentation and learn how the basic control features of that software work. Every service will be different. This is not a bug, this is hundreds and thousands of developers building different software over several decades to do different things for different purposes.
It's fine to have your tools do the work for you. It's dangerous to fall into the trap of letting your tools do your thinking for you.
I don't mind using SysV but for whatever reason everyone is going full exclusive systemd (which is very odd given how you have 5 different install instructions for if you're using Debian based, Fedora, Arch based, etc etc etc).
No, everyone is not going full exclusive systemd. I think the maintainers of Gentoo, Void, Slackware, Artix, Devuan, antiX, MX, CRUX, Alpine, many more, as well as illumos, smartOS, openIndiana, and the dev teams of every BSD distro would beg to differ. You seem to me very quick to want to ignore fifty years of history and lessons learned building the foundational principles of system administration and sweep it all under the rug in favor of having systemctl do everything for you.
Knowing where services live on a Debian-based machine is a very basic principle and something you should learn regardless of which init system you pick. There are just basic ideas to running a UNIX-like machine you need to know if you want to start customizing it. You owe it to yourself to learn what /etc looks like, what lives under /usr/share, and what the service and update-rc.d commands do. Is this all more work than running systemctl something? Maybe. Fedora works differently than Debian does. So does SUSE. You might even want to get a job doing this kind of thing for money some day. It helps to understand what machines do, how they do them, and why they do things they way they do.
Regardless, for now I'll probably just boot systemd and run the systemctl command. After that I might go back, idk.
And you're welcome to do so. I recommend you switch to the systemd-only respin for convenience. I just wonder what you're going to do when there isn't a systemctl command to fix everything and you actually have to start learning how your software works in order to solve the problem. I promise you, systemd will bite you one day, as it does everyone, and I hope you'll know what to do when that happens.