Skip to content

unitd 1.30.0 change the option --tmp to --tmpdir #876

Closed
@elrido

Description

@elrido

Hi there and thanks for this cool project. It seems that the latest release 1.30.0 changed the option --tmp to --tmpdir, so when starting the daemon with the same arguments as with 1.29.1, it errors out with:

unknown option "--tmp", try "/usr/sbin/unitd -h" for available options

We found this in a smoketest on an alpine based image that makes use of it - alpine upgraded to 1.30.0 shortly after releasing their stable release (3.18).

I would suggest that we document this change in behaviour for 1.30.0 - I can raise a PR against the CHANGES file, if that is Ok?

I'm not sure if this is a fully intentional change, though. It looks to me as if this was changed in 5a37171#diff-bfe6a52baf895e8f15c2c57cc0e7365440c73301ea0597acc9ba7bb88aa9ee7fR1068 and the commit message reads to me as if this was intended to deprecate tmp for tmpdir, but keep the old options supported, for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions