]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: improve log messages when we cannot process a mount point
authorLennart Poettering <lennart@poettering.net>
Sun, 24 May 2020 22:37:26 +0000 (00:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 May 2020 07:17:48 +0000 (09:17 +0200)
commit2c905207db37c691d4abef868165ad5ea2dd0f4f
tree307833744faffac2af1e1d5255124a83462d611c
parent5aec5c751a86ec2430b1d38ed925ce29ed35407b
core: improve log messages when we cannot process a mount point

Whenever we pick up a new line in /proc/self/mountinfo and want to
synthesize a new mount unit from it, let's say which one it is.
Moreover, downgrade the log message when we encounter a mount point with
an overly long name to LOG_WARNING, since it's generally fine to ignore
such mount points.

Also, attach a catalog entry to explain the situation further.

Prompted-By: #15221
catalog/systemd.catalog.in
src/core/mount.c
src/systemd/sd-messages.h