Manual review of logsync snap

The logsync-james snap has been flagged for manual review as it uses the system-files interface. This is intended as an example to show brand store customers how they could sync systemd logs to a remote log server, so it would be helpful to have this available in the store.

Source: https://github.com/slimjim777/logsync

1 Like

Looking at github, the current snapcraft.yaml uses:


plugs:
  config-logsync:
    interface: system-files
    read:
      - /etc/systemd
    write:
      - /etc/systemd/journal-upload.conf

Read access to /etc/systemd was not included as part of this request and provide quite a bit of additional information to the snap since system-files grants read access to the directory and everything under it.

Can you describe how this works? This seems like something that should instead be a snap set option on the core snap. cc @pedronis