Skip to content

Saving account data fails when mod_md is not running as root anymore #410

@mkauf

Description

@mkauf

Usually the ACME account and the directory "accounts" in the MDStoreDir directory are created at startup, while the Apache Server is running as root.

After the startup, the Apache Server switches to the user/group that have been configured with the User and Group settings. Now mod_md cannot change the account data in the MDStoreDir directory anymore. Sometimes it tries to do it, see issue #409: md_acme_acct_validate() may call md_acme_acct_save(), this fails.

Not sure what mod_md should do, maybe save the updated account to a temporary directory and copy it to the real "accounts" directory on the next server startup?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions