Hello Peter,
On 2/4/21 12:23 PM, Mgr. Peter Tuharsky wrote:
> I hope the program or the documentation should give the information.
A broken passwd should have been reported long ago by any of the tools
that handle passwd, e.g. init, login, sudo, pam, gdm... You may file bug
reports there for such a message.
LTSP is the 5th wheel there, the python exception handling system is
kind enough to show us the full call stack and pinpoint the problem, but
we can't catch thousands of exceptions and write specific messages for
any unrelated-to-ltsp problem that a system might have.
Apart from the huge effort that would involve, it would also make the
LTSP code unreadable.
So IMHO the best approach is to use python exceptions like this one,
and I've also set up a similar thing in shell, where the "re() - Run or
die and show the Error" function tells which shell command fails.
E.g. LTSP will tell you "LTSP command failed: cp blah blah",
but it won't bother to check and tell you that cp failed because your
SSD is dying; that's a task for a different package, not LTSP.
Now if someone could properly close this bug report as I'm a bit time
pressed currently to search how to do it... :D
Cheers!