Skip to content

Log level not working as documented #18

@foucdeg

Description

@foucdeg

I am trying to investigate a timeout issue at the "waiting for DNS refresh" phase.
I tried to specify a debug log level in the dehydrated config file as specified in the doc:

HOOK=/usr/bin/dehydrated-hooks/ovh/hook.py --level=debug

but the latter part is interpreted as a command and not found:

/etc/dehydrated/config: line 30: --level=debug: command not found

If I use quotes around the whole value, as such:

HOOK="/usr/bin/dehydrated-hooks/ovh/hook.py --level=debug"

I get another error, which shows that dehydrated expects HOOK to be an executable without flags:

/usr/bin/dehydrated: line 91: /usr/bin/dehydrated-hooks/ovh/hook.py --level=debug: No such file or directory

How do I pass the --level=debug flag?

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