]> www.infradead.org Git - users/jedix/linux-maple.git/commit
um: run_helper: Write error message to kernel log on exec failure on host
authorGlenn Washburn <development@efficientek.com>
Thu, 3 Mar 2022 07:53:33 +0000 (01:53 -0600)
committerRichard Weinberger <richard@nod.at>
Fri, 11 Mar 2022 09:56:17 +0000 (10:56 +0100)
commit82017457957a550d7d00dde419435dd74a890887
treec7a5ec0332ae472c2c6b98dd39a66ac154aefbe8
parent3cb5a7f167c620a8b0e38b0446df2e024d2243dc
um: run_helper: Write error message to kernel log on exec failure on host

The best place to log errors from the host side is in the kernel log within
the UML guest. Letting the user now that exec() failed and why is very
helpful when the user is trying to determine why some aspect of UML is not
working. For instance, when telneting into the UML instance, if the
connection is established and then immediately dropped, this may be due to
exec() failing because in.telnetd is not found.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/helper.c