Skip to content

Problem with path search in upsdrvctl WIN32 builds #2883

@jimklimov

Description

@jimklimov

Bypass upsdrvctl (Bug Workaround): The upsdrvctl start command consistently failed with a misleading No such file or directory error. Debugging revealed it was likely due to a bug in how upsdrvctl.exe constructs paths on Windows/MSYS2 (it tried to run C:\msys64\ucrt64\sbin//ucrt64/bin/nutdrv_qx.exe.exe at one point).

Workaround: Launch the driver directly instead of using upsdrvctl.

Originally posted by @andresg97 in #2881

Metadata

Metadata

Assignees

No one assigned

    Labels

    Windowsimpacts-release-2.8.2Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks)service/daemon start/stopGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions