selinux/policycoreutils/scripts
Petr Lautrbach cd8d6c7f82 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 <ctubbsii@fedoraproject.org>
Signed-off-by: Petr Lautrbach <lautrbach@redhat.com>
Acked-by: James Carter <jwcart2@gmail.com>
2024-11-15 13:59:07 -05:00
..
.gitignore
fixfiles fixfiles: use grep -F when search in mounts 2024-11-15 13:59:07 -05:00
fixfiles.8 policycoreutils: Add examples to man pages 2023-06-08 15:10:05 -04:00
Makefile Do not automatically install Russian translations 2023-08-16 13:33:47 -04:00