Skip to content

running as unprivileged user doesn't work as documented #81

@rotanid

Description

@rotanid

running ffmap-backend on Debian 8 as unprivileged user doesn't work like it is documented.
as far as i remember it was strange, with the solution from the readme, the alfred socket access wasn't possible most of the time, worked only once in a while

we solved it by

  1. creating wrapper scripts that run batctl, batadv-vis, alfred-json via sudo
  2. create sudo entries for these
  3. change the PATH for the cronjob to include the directory containing the wrapper scripts
  4. change backend.py to copy/use the parent environment variables, see tecff@15553b8 and tecff@a2a5fcb

maybe there's a better way, but the readme should be updated regarding this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions