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

Error trying to install on DSM-7.2 (platform Geminilake) #45

Open
rabdalov opened this issue Jun 19, 2023 · 4 comments
Open

Error trying to install on DSM-7.2 (platform Geminilake) #45

rabdalov opened this issue Jun 19, 2023 · 4 comments

Comments

@rabdalov
Copy link

[2023-06-19 11:21:31,626] INFO: tar -xhf /toolkit/toolkit_tarballs/ds.geminilake-
7.2.dev.txz -C /toolkit/build_env/ds.geminilake-7.2
mount: /toolkit/build_env/ds.geminilake-7.2/proc: cannot mount none read-only.
Traceback (most recent call last):
File "/toolkit/pkgscripts-ng/./EnvDeploy", line 77, in
main(sys.argv[1:])
File "/toolkit/pkgscripts-ng/./EnvDeploy", line 71, in main
toolkit.deploy()
File "/toolkit/pkgscripts-ng/include/python/pkgdeploy.py", line 207, in deploy
self.link_pkgscripts(envs[platform])
File "/toolkit/pkgscripts-ng/include/python/pkgdeploy.py", line 166, in link_pk
gscripts
env.link('pkgscripts-ng', 'pkgscripts')
File "/toolkit/pkgscripts-ng/include/python/exec_env.py", line 61, in link
self.execute(['ln', '-sf', src, dest])
File "/toolkit/pkgscripts-ng/include/python/exec_env.py", line 68, in execute
subprocess.check_call(['mount', '-t', 'proc', 'none', mount_point])
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['mount', '-t', 'proc', 'none', '/toolkit
/build_env/ds.geminilake-7.2/proc']' returned non-zero exit status 32.

@rabdalov rabdalov changed the title Error trying to install on DSM-7.2 Error trying to install on DSM-7.2 (platform Geminilake) Jun 19, 2023
@HBrendy
Copy link

HBrendy commented Dec 21, 2023

Yep, I can confirm: same version, same platform, same error.

@SynologyOpenSource
Copy link
Owner

Have you tried other platforms to see if the same error message occurs?
What is the error output when you run the command 'mount -t proc none /toolkit/build_env/ds.geminilake-7.2/proc' directly?"

@jcarnat
Copy link

jcarnat commented Feb 25, 2024

Same thing happens here with a different platform:

# mount -t proc none /toolkit/build_env/ds.apollolake-7.2/proc
mount: /toolkit/build_env/ds.apollolake-7.2/proc: cannot mount none read-only.

If I run:

# docker create -it --name synodev --privileged --security-opt systempaths=unconfined ubuntu:latest

the error message disappear.

@pjdubya
Copy link

pjdubya commented Jun 5, 2024

I had this error but I found that it went away when I deleted a different platform install, i.e. whatever else may have been at /toolkit/build_env/*

And/or it was when I updated my docker container to have elevated permissions.

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

5 participants