Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixfiles: use
grep -F
when search in mounts
systemd escapes luks uid so that mount points contain '\' and grep should not consider this as regexp Fixes: $ cat /proc/self/mounts | sort | uniq | awk '{print $2}' /run/credentials/systemd-cryptsetup@luks\134x2d6d1f41e6\134x2d5538\134x2d41a0\134x2db383\134x2cd41c2ddcacaa.service $ sudo fixfiles -B onboot grep: Invalid back reference grep: Invalid back reference System will relabel on next boot Suggested-by: Christopher Tubbs <[email protected]> Signed-off-by: Petr Lautrbach <[email protected]> Acked-by: James Carter <[email protected]>
- Loading branch information