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

Allow systemd-ssh-generator to load net-pf-40 #2329

Closed

Commits on Aug 28, 2024

  1. Allow systemd-ssh-generator to load net-pf-40

    see:
    https://www.freedesktop.org/software/systemd/man/devel/systemd-ssh-generator.html
    "systemd-ssh-generator binds a socket-activated SSH server to local AF_VSOCK"
    
    and modinfo suggests net-pf-40 to be the kernel modules for virtual sockets
    
    Fixes:
    > Aug 22 05:17:20 localhost kernel: audit: type=1400 audit(1724303839.663:5): avc:  denied  { module_request } for  pid=593 comm="systemd-ssh-gen" kmod="net-pf-40" scontext=system_u:system_r:systemd_ssh_generator_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=0
    
    Signed-off-by: Cathy Hu <[email protected]>
    ca-hu committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    fa1dd32 View commit details
    Browse the repository at this point in the history