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

Use --privileged instead of --cap-add=sys_admin due to build error #163

Merged
merged 1 commit into from
Dec 12, 2023
Merged

Use --privileged instead of --cap-add=sys_admin due to build error #163

merged 1 commit into from
Dec 12, 2023

Commits on Dec 11, 2023

  1. Use --privileged instead of --cap-add=sys_admin due to build error

    Encountring the following errors with --cap-add=sys_admin inside the dj_make_chroot script; one inside the debootstrap, and the other somewhere inside the script itself:
    
    ...
    W: Failure trying to run: chroot "/chroot/domjudge" mount -t proc proc /proc
    W: See /chroot/domjudge/debootstrap/debootstrap.log for details
    ...
    mount: /chroot/domjudge/proc: cannot mount proc read-only.
           dmesg(1) may have more information after failed mount system call.
    ...
    
    The /chroot/domjudge/debootstrap/debootstrap.log does not exist nor the dmesg to investigate further (naive approach OFC).
    agcom authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    8ea7e89 View commit details
    Browse the repository at this point in the history