Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
man: rescue.target could be seen as single-user.target #7323
Hmm... I am not sure redundant names are really that much better. Ultimately the concept of "single user mode" is UNIX folklore, and "rescue mode" is more descriptive. I wonder if a this time we really should add more UNIX compatbility...
I wonder if this wouldn't better be handles as documentation issue, i.e. we beef up documentation so that people looking for single user mode easily find to rescue.target.
Dunno, @keszybz any idea about this one?
Well, it's a very good question why we named multi-user.target the way we named it. And the main reason for that is that we really couldn't come up with a better name back then. For "single-user mode" we did come up with a better name however, and then used that.
Aliases are not a good thing in general, I'd rather have less of them, than more. We add them when there's a technical necessity for them, but they not only make the technical implementation of things a bit harder, but are also a bit more confusing for the user, as there are multiple terms then to refer to the same concept. The "runlevel1.target" alias btw where created as that's how the initctl compat layer of systemd worked, and back then we wanted to support that people can map their legacy runlevel numbers in different ways to the modern names. That turned out to be a bad idea, but we did have a technical reason back then... Adding aliases today is a different thing: there's no technical reason for it, afaics. It's mostly about adding some kind of "conceptual compatibility", but I both think it's too late for that now (given that sysvinit was phased out on many distros years ago), and I also think it comes at a price.
hence, let's treat this as documentation issue. let's not add yet another alias.
I hope that makes some sense?
@poettering Thank you for your kind explanations. Yes, it makes sense to me.
I was hoping that