dracut icon indicating copy to clipboard operation
dracut copied to clipboard

fix(lvm): ignore expected error message from lvm lvs --nolocking

Open jiayi0118 opened this issue 3 years ago • 0 comments

With "--nolocking" argument, the "lvm lvs" command is expected to report an error message: WARNING: File locking is disabled.

Direct this message to /dev/null so it do not appear as noise in system logs.

Changes

Noisy error message WARNING: File locking is disabled. is ignored during system startup.

Checklist

  • [x] I have tested it locally

jiayi0118 avatar Aug 23 '22 13:08 jiayi0118