Re:Linux Kernel Developers Fed Up with Ridiculous Bugs in Sy...
by yawaramin on Thursday October 08, 2020 @09:17PM
(#24725728)
> It loves to tell you that a service has failed to start, but doesn't try to do anything like show you stderr from the process that might help debug.
It does, actually.
sudo systemctl status the-service
...prints out the last few lines of the service log. sudo journactl -u the-service
...shows you all the logs. You can jump to the bottom if you want and start debugging right away.
Anything to do with systemd logging is a goddamn nightmare though. It loves to tell you that a service has failed to start, but doesn't try to do anything like show you stderr from the process that might help debug.