@ 799, I got these errors when using the repo-version of docker instead of docker-ce directly (see my last 2-3 posts) here.
See https://docs.docker.com/install/linux/docker-ce/debian/ and https://docs.docker.com/install/linux/docker-ce/fedora/ for download instructions. @Thomas Leonard: YES, I got through!! My error was my fault, some files were owned by root and not user, the Lord knows why. Your line docker run --rm -it --entrypoint bash -v $(pwd):/home/opam/qubes-mirage-firewall qubes-mirage-firewall helped me out of that. THANK YOU for your patience. On 4/9/19 7:40 AM, 799 wrote:
Hello, I've created a howto page in the Qubes Community docs to collect all information which is needed to build/install the mirage firewall for qubes OS. https://github.com/Qubes-Community/Contents/blob/master/docs/customization/mirage-firewall.md I tried to build mirage in a new template VM which is based on fedora-29-minimal, but run into an error. Can you take a look and give me a hint what I am missing? --- --- 8< --- --- --- --- |MirageTemplateVM=|t-fedora-29-mirage |# create a new template VM qvm-clone fedora-29-minimal $|MirageTemplateVM| # Resize private disk to 10 GB qvm-volume extend |$|MirageTemplateVM||:private 10GB # Create a symbolic link to safe docker into the home directory qvm-run --auto --user root --pass-io --no-gui |$|MirageTemplateVM ||\ 'ln -s /var/lib/docker /home/user/docker' # Install docker and git qvm-run --user root --pass-io --no-gui |$|MirageTemplateVM ||\ 'dnf -y install docker git' # To get networking in the template VM qvm-run --auto --user root --pass-io --no-gui |$|MirageTemplateVM ||\ 'dnf install qubes-core-agent-networking' qvm-shutdown --wait |$|MirageTemplateVM|| qvm-prefs |$|MirageTemplateVM|| sys-firewall qvm-start |$|MirageTemplateVM|| # Launch docker qvm-run --user root --pass-io --no-gui |$|MirageTemplateVM ||\ 'systemctl start docker' # Download and build mirage for qubes qvm-run --user root --pass-io --no-gui |$|MirageTemplateVM ||\ 'cd /home/user && \ git clone https://github.com/mirage/qubes-mirage-firewall.git && \' cd qubes-mirage-firewall && \ ./build-with-docker.sh' | --- --- 8< --- --- --- --- |Unfortunately I run into an error during the build process: [...] |Building Firewall... error while executing ocamlbuild -use-ocamlfind -classic-display -tags bin_annot -quiet -Xs _build-solo5-hvt,_build-ukvm -pkgs mirage config.cmxs + mkdir /home/opam/qubes-mirage-firewall/_build mkdir: cannot create directory '/home/opam/qubes-mirage-firewall/_build': Permission denied Command exited with code 1. Failure: Error during command "mkdir /home/opam/qubes-mirage-firewall/_build": Ocamlbuild_pack.My_std.Exit_with_code(10) || | | |Maybe because there is no folder /home/opam/... ?? | |I have also integrated pull request 52 via: ||qvm-run --user root --pass-io --no-gui |$|MirageTemplateVM ||\ | 'git pull origin pull/52/head && \ rm -rf _build && \ sudo ./build-with-docker.sh' And I have manually created the missing folder above via |qvm-run --user root --pass-io --no-gui |$|MirageTemplateVM ||\ | '||mkdir /home/opam/qubes-mirage-firewall/' || ||Even then I still run into the same error. || ||Any ideas what I am missing? || ||- O|| -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/CAJ3yz2u9BpTd93vgjZ5NL7q%2BMaB49TDE%2BY2uRmJ50CgTuEws7Q%40mail.gmail.com <https://groups.google.com/d/msgid/qubes-users/CAJ3yz2u9BpTd93vgjZ5NL7q%2BMaB49TDE%2BY2uRmJ50CgTuEws7Q%40mail.gmail.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/79032be9-688f-9e7c-b6ee-5c6ee4a3b7a4%40web.de. For more options, visit https://groups.google.com/d/optout.
