Aterfax / pbs-client-docker

A Docker image to run the Proxmox Backup Server client and backup things from any directory mounted within /backups inside the container.
GNU General Public License v3.0
6 stars 0 forks source link

Spawn: Function not implemented #8

Open pszafer opened 3 hours ago

pszafer commented 3 hours ago

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 commented 3 hours ago

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!