Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uic-zigpc.service needs a working directory #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on May 24, 2022

  1. uic-zigpc.service needs a working directory

    Without a working directory specified, uic-zigpc will attempt to create files under root instead of a directory it has permissions for.
    This results in the following error:
    
    "
    May 20 12:02:04 unify-xg1 zigpc[792]: 2022-May-20 12:02:04.203583 <W> [zigpc_ota_zigbee] Error accessing or creating folder for OTA with error code: -1; errno: 13 (Permission denied)
    May 20 12:02:04 unify-xg1 zigpc[792]: 2022-May-20 12:02:04.203754 <C> [uic_component_fixtures] Failed  [1]: ZigPC OTA.
    May 20 12:02:04 unify-xg1 systemd[1]: uic-zigpc.service: Main process exited, code=exited, status=1/FAILURE
    "
    
    Expected behavior - Systemd service has a specified working directory (like /var/lib/uic) in which the 'uic' user has write privileges.
    silabs-johnh committed May 24, 2022
    Configuration menu
    Copy the full SHA
    dd26224 View commit details
    Browse the repository at this point in the history