Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #605

Closed
Open
Opened Mar 22, 2023 by czp czp@czp

隐私计算模拟时报错是什么意思

执行命令gramine-direct ./enclave-server -module=1报错如下

error: PAL failed No 'loader.entrypoint' is specified in the manifest

我的配置文件式:

loader.preload = "file:{{ gramine.libos }}"

libos.entrypoint = "{{ entrypoint }}"

loader.log_level = "{{ log_level }}"

loader.env.LD_LIBRARY_PATH = "/lib:{{ arch_libdir }}:/usr/lib:/usr{{ arch_libdir }}"

loader.pal_internal_mem_size = "1G"

loader.insecure__use_cmdline_argv = true

sys.enable_sigterm_injection = true

fs.mount.lib.type = "chroot"

fs.mount.lib.path = "/lib"

fs.mount.lib.uri = "file:{{ gramine.runtimedir() }}"

fs.mount.lib2.type = "chroot"

fs.mount.lib2.path = "{{ arch_libdir }}"

fs.mount.lib2.uri = "file:{{ arch_libdir }}"

fs.mount.tmp.type = "chroot"

fs.mount.tmp.path = "/tmp"

fs.mount.tmp.uri = "file:/tmp"

fs.mount.libos.type = "chroot"

fs.mount.libos.path = "/opt/data/src/graphene/"

fs.mount.libos.uri = "file:/opt/data/src/graphene/"

sgx.nonpie_binary = true

sgx.enclave_size = "16G"

sys.stack.size = "128M"

sgx.thread_num = 256

sgx.trusted_files = [

"file:{{ entrypoint }}",

"file:{{ gramine.runtimedir() }}/",

"file:{{ arch_libdir }}/",

"file:/usr{{ arch_libdir }}/",

"file:/etc/mime.types",

"file:/etc/default/apport",

]

sgx.allowed_files = [

"file:/etc/nsswitch.conf",

"file:/etc/ethers",

"file:/etc/hosts",

"file:/etc/group",

"file:/etc/passwd",

"file:/etc/gai.conf",

"file:/etc/host.conf",

"file:/etc/resolv.conf",

"file:./configs/",

"file:/tmp",

"file:/opt/data/src/graphene/",

"file:./logs",

]

Edited Mar 22, 2023 by czp czp
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#605

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。