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

env.py: Dangerzone fails to run via env.py #673

Closed
deeplow opened this issue Jan 15, 2024 · 2 comments
Closed

env.py: Dangerzone fails to run via env.py #673

deeplow opened this issue Jan 15, 2024 · 2 comments

Comments

@deeplow
Copy link
Contributor

deeplow commented Jan 15, 2024

I wanted to test dangerzone on ubuntu 20.04 but unfortunately I failed to run podman under podman with the following error:

Error: 'overlay' is not supported over overlayfs, a mount_program is required: backing file system is unsupported for this graph driver
Traceback (most recent call last):
  File "./dev_scripts/dangerzone-cli", line 13, in <module>
    dangerzone.main()
  File "/root/.cache/pypoetry/virtualenvs/dangerzone-hQU0mwlP-py3.8/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/dangerzone-hQU0mwlP-py3.8/lib/python3.8/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/root/.cache/pypoetry/virtualenvs/dangerzone-hQU0mwlP-py3.8/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/root/.cache/pypoetry/virtualenvs/dangerzone-hQU0mwlP-py3.8/lib/python3.8/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/user/dangerzone/dangerzone/errors.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/home/user/dangerzone/dangerzone/cli.py", line 96, in cli_main
    dangerzone.isolation_provider.install()
  File "/home/user/dangerzone/dangerzone/isolation_provider/container.py", line 64, in install
    if Container.is_container_installed():
  File "/home/user/dangerzone/dangerzone/isolation_provider/container.py", line 106, in is_container_installed
    found_image_id = subprocess.check_output(
  File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/podman', 'image', 'list', '--format', '{{.ID}}', 'dangerzone.rocks/dangerzone']' returned non-zero exit status 125.
@deeplow
Copy link
Contributor Author

deeplow commented Jan 15, 2024

I am guessing this has something to do with the fact that ubuntu focal is extremely old software and doesn't support something which is expected. I have had issues in the past in another project regarding overlayfs incompatibilities on ubuntu-based systems.

@apyrgio
Copy link
Contributor

apyrgio commented Oct 29, 2024

Note that Ubuntu Focal will be deprecated soon by us (#965), so I don't think we need to dig deeper here. I can run tests on Ubuntu Focal successfully and so does our GHA, so that should do for now.

@apyrgio apyrgio closed this as completed Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants