dracut
dracut copied to clipboard
fix(lvm): ignore expected error message from lvm lvs --nolocking
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