[dm-devel] [PATCH 1/8] libmulitpath: add section name to invalid keyword output

Martin Wilck martin.wilck at suse.com
Thu Nov 4 20:55:39 UTC 2021


On Wed, 2021-10-06 at 15:04 -0500, Benjamin Marzinski wrote:
> If users forget the closing brace for a section in multipath.conf,
> multipath has no way to detect that. When it sees the keyword at the
> start of the next section, it will complain that there is an invalid
> keyword, because that keyword doesn't belong in previous section
> (which
> was never ended with a closing brace). This can confuse users. To
> make
> this easier to understand, when multipath prints and invalid keyword
> message, it now also prints the current section name, which can give
> users a hint that they didn't end the previous section.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>

Apart from typo in the subject:

Reviewed-by: Martin Wilck <mwilck at suse.com>





More information about the dm-devel mailing list