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

Spawn: Function not implemented #8

Closed
pszafer opened this issue Nov 28, 2024 · 3 comments
Closed

Spawn: Function not implemented #8

pszafer opened this issue Nov 28, 2024 · 3 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@pszafer
Copy link

pszafer commented Nov 28, 2024

Hi,

This is error I got on Synology NAS in docker logs:

[custom-init] No custom files found, skipping...
[key_setup] 2024-11-28 20:54:01 Client encryption keyfile does not exist. Creating new client encryption keyfile.
[key_setup] 2024-11-28 20:54:02 spawn proxmox-backup-client key create
send: spawn id exp3 not open
    while executing
"send "$random_password\r""
    (file "/etc/s6-overlay/s6-rc.d/key_setup/client_key" line 5)
[key_setup] 2024-11-28 20:54:02 creating default key at: "/root/.config/proxmox-backup/encryption-key.json"
s6-rc: warning: unable to start service key_setup: command exited 1
[key_setup] 2024-11-28 20:54:02 Error: Function not implemented (os error 38)
[key_setup] 2024-11-28 20:54:02 Error occurred (Exit code: 1)

I can do the initialization part on another system, so it's not big deal, but just thought that's its worth you know about that.

@Aterfax
Copy link
Owner

Aterfax commented Nov 28, 2024

Interesting. It suggests that something in proxmox-backup-client is likely making an unsupported system call so the expect script has nothing to wait for as the process halts.

This might be something restricted by the Synology docker setup or possibly caused by the kernel used?

It seems likely that the backup client may not work at all under Synology given this, but I cannot do any testing as I don't have one.

If you run the container interactively and call the proxmox-backup-client command or proxmox-backup-client key create command what happens?

Please also try setting

    privileged: true

Cheers!

@pszafer
Copy link
Author

pszafer commented Nov 29, 2024

With privileged or without it prints:

root@pbs-client:/# proxmox-backup-client key create
creating default key at: "/root/.config/proxmox-backup/encryption-key.json"
Error: Function not implemented (os error 38)

I see I'm not the only one https://forum.proxmox.com/threads/backup-client-encryption-not-working-inside-docker-container.139054/

@pszafer pszafer closed this as completed Nov 29, 2024
@Aterfax
Copy link
Owner

Aterfax commented Nov 30, 2024

@Aterfax Aterfax self-assigned this Nov 30, 2024
@Aterfax Aterfax added the wontfix This will not be worked on label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants