News for hackers. Stuff that matters.
Re:Systemd Rolling Out "run0" As sudo Alternative by aragilar on Wednesday May 01, 2024 @03:56AM (#40220649)
You can't think of ways this could break things? I would find this a useful feature, but I'm also aware of how this works, and the issues it could cause.
Re:Systemd Rolling Out "run0" As sudo Alternative by Spivak on Wednesday May 01, 2024 @08:36AM (#40222283)
No? Of all the esoteric escape sequences that terminals handle the ones that change colors are well trodden.
Re:Systemd Rolling Out "run0" As sudo Alternative by aragilar on Wednesday May 01, 2024 @09:37AM (#40223028)
There are at least 3 different ways of expressing colour as covered by https://en.wikipedia.org/wiki/ANSI_escape_code#Colors, and given the wide propensity of newer terminals to misidentify what they are (I know I have some additional checking in my shell startup to unbreak things if needed), and/or bad termcap/terminfo settings on older systems, sending terminal sequences that are apparently supported but are not happens surprisingly often (enough such that I've made sure to always install two different terminals which use different rendering backends, e.g. xterm and VTE).
Re:Systemd Rolling Out "run0" As sudo Alternative by throwaway7356 on Saturday May 04, 2024 @06:29AM (#40256479)
Will you install a new systemd version on such an old system with wrong termcap/terminfo settings or attached to a physical vt100?
Re:Systemd Rolling Out "run0" As sudo Alternative by acdha on Wednesday May 01, 2024 @12:43PM (#40225740)
It could, but this is a non-default tool focused on new use so the first question I’d ask is how many of the people using it are running the weird edge-case terminals where that’d break something. I wouldn’t want to end up in a Microsoft-style trap where nothing can improve because someone somewhere depends on strict fidelity with 1993.