News for hackers. Stuff that matters.
Re:Linus: “I no longer feel like I can trust ‘init’ to do th... by jhasse on Monday July 10, 2017 @02:54AM (#14733890)
You can google how to do the equivalent to `tail -f /var/log/foo.log` in a minute.

What do you mean by ./just/run/some.sh?

Re:Linus: “I no longer feel like I can trust ‘init’ to do th... by boomlinde on Monday July 10, 2017 @05:25AM (#14734455)
> You can google how to do the equivalent to `tail -f /var/log/foo.log` in a minute.

Doesn't the fact that I have to google an alternative workflow for something that behaves consistently across pretty much all other software make its UI worse, at least in that regard? I get that maybe it's a justified trade-off, but that doesn't make the UI any better.

> What do you mean by ./just/run/some.sh?

I suppose just dumping an exec command into an executable file and call it a service.

Re:Linus: “I no longer feel like I can trust ‘init’ to do th... by okdana on Monday July 10, 2017 @07:19AM (#14734907)
You can use syslog in conjunction with the systemd journal. Some distributions come set up that way by default, and for the others you can just `apt-get install rsyslog` or whatever. When you have a syslog daemon installed, `tail -f` and everything else you're used to works exactly the same as before, you can pretend the journal doesn't even exist if you want. And if you don't have a syslog daemon installed... well, i don't know if that's really journalctl's fault, is it?
Re:Linus: “I no longer feel like I can trust ‘init’ to do th... by chillydawg on Monday July 10, 2017 @09:34AM (#14735728)
Sure, just throw in several extra steps, huge numbers of syscalls and make any admin add complexity to their systems. For a busy service, this is a performance issue that the systemd devs simply reject out of hand as "doing it wrong".
Re:Linus: “I no longer feel like I can trust ‘init’ to do th... by mdekkers on Monday July 10, 2017 @10:28AM (#14736202)
you can pretend the journal doesn't even exist if you want

Why must I have it if I don't need or want it? What is this, Windows?

Re:Linus: “I no longer feel like I can trust ‘init’ to do th... by okdana on Monday July 10, 2017 @11:23AM (#14736731)
That doesn't seem like an especially compelling argument. There are components of every ready-made operating system that you 'don't need or want'. I don't need or want an IPv6 stack, or debugfs, or half of the other features that come with most distributions' Linux kernels, and i don't need or want legacy bull shit like (d)ash and cpio and Python 2. But there they always are anyway, and i don't lose much sleep over that fact.
Re:Linus: “I no longer feel like I can trust ‘init’ to do th... by vacri on Monday July 10, 2017 @08:08AM (#14735176)
journald by default doesn't keep logs from the previous boot, which is extremely annoying. What's the point of having a logging system where you have to keep the old one around to read old logs? I've also had it seemingly not have any loglines for queried units when it should have; not sure what happened there.
Re:Linus: “I no longer feel like I can trust ‘init’ to do th... by jhasse on Monday July 10, 2017 @08:12AM (#14735197)
Do you mean that logs are cleared on every boot? Because that isn't happening for me.
Re:Linus: “I no longer feel like I can trust ‘init’ to do th... by JdeBP on Monday July 10, 2017 @09:00AM (#14735481)
In one configuration, journald logs to an in-memory filesystem; in another, it logs to an on-disc filesystem; in a third, it tries on-disc and falls back to in-memory; in a fourth it does not save the log either in memory or on disc. Different distributions configure this differently.