Skip to content

After updating to gramine 1.4 MariaDB fails to start #1

@ckaratzas

Description

@ckaratzas

Hello,
After an attempt to update to gramine 1.4 based on the current patched MariaDB image:
(replacing [FROM enclaive/gramine-os:jammy-7e9d6925] with a similar image with gramine 1.4)
MariaDB fails to restart because some files have 0 length and thus cannot be decrypted properly.
Seems to be linked to this issue:
gramineproject/gramine#830 which is supposed to be merged.
and errors are similar:

(libos_fs_encrypted.c:203:encrypted_file_internal_open) [P1:T1:mariadbd] warning: pf_open failed: Callback failed
mariadb_1               | (libos_fs_encrypted.c:41:cb_read) [P1:T1:mariadbd] warning: EOF

Is there any hint that could help mitigate the issue?
Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions