[systemd-devel] Collect logs over serial

Lennart Poettering lennart at poettering.net
Mon Feb 4 12:06:43 UTC 2019


On Do, 31.01.19 17:34, Paul Menzel (pmenzel+systemd-devel at molgen.mpg.de) wrote:

> Dear systemd/udev folks,
>
>
> Having a large pool of (different) systems, we hit Linux kernel
> panics several times in a year. To better debug those, we want
> to make use of the serial ports still present on today’s
> systems.
>
> Unfortunately, the serial ports on the back plane, we’d like to
> use, are numbered differently. Can you recommend best practices
> how to detect where that port is on a system?

Match them in a udev rule, and use SYSTEMD_WANTS as a property to pull
in a service instance for each ttyS you care about. See
systemd.device(5) for details.

Lennart

--
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list