Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
9223372036854775807
Description
lctl debug_daemon userspace part would happily accept relative pathname, but in fact the kernel part of the code wold reject anything that does not start with a / as EINVAL which produces a cryptic error message to the user like
start debug_daemon on debug.log failed: Invalid argument
We should either require absolute pathname in the tool or at least print a warning that the relative pathnames are unsupported and the command will likely fail (leading to the actual failure that would be a lot less cryptic).