Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remount: ignore ENOENT error during SELinux relabeling #3266

Merged

Commits on Jun 18, 2024

  1. remount: ignore ENOENT error during SELinux relabeling

    Ignore ENOENT error in selinux_restorecon to avoid failures when
    temporary files created by systemd-sysusers in /etc are missing during
    relabeling. This prevents errors such as:
    
      "Failed to relabel /etc/.#gshadowJzu4Rx: No such file or directory"
    
    and allows the process to continue.
    
    Co-Authored-By: Alexander Larsson <[email protected]>
    Signed-off-by: Eric Curtin <[email protected]>
    ericcurtin and alexlarsson committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    e25ca80 View commit details
    Browse the repository at this point in the history