Skip to content

Debian fixes#468

Merged
AltraMayor merged 3 commits intoAltraMayor:masterfrom
andrenth:debian-fixes
Apr 16, 2021
Merged

Debian fixes#468
AltraMayor merged 3 commits intoAltraMayor:masterfrom
andrenth:debian-fixes

Conversation

@andrenth
Copy link
Collaborator

Some fixes and enhancements for debian packages:

  1. Ensure the gatekeeper unprivileged user has access to /var/run/gatekeeper and /var/run/dpdk/rte.

This prevents errors such as GATEKEEPER DYN CFG: Failed to unlink(/var/run/gatekeeper/dyn_cfg.socket) - (Permission denied) and EAL: Unable to open directory /var/run/dpdk/rte.

  1. Patch staticlib.lua so that it can find if_map.lua in the package installation path (/etc/gatekeeper/if_map.lua).

  2. Add a cron job that removes log files older than 24h. Since gatekeeper "rotates" its own log files (i.e. creates log files names using the current date), this is better handled by a simple find command rather than by logrotate.

@AltraMayor AltraMayor added this to the First deployment milestone Apr 16, 2021
@AltraMayor AltraMayor added the Operational demand This issue would make Gatekeeper safer and/or cheaper to operate label Apr 16, 2021
@AltraMayor AltraMayor merged commit da5f7fc into AltraMayor:master Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Operational demand This issue would make Gatekeeper safer and/or cheaper to operate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants