Skip to content
Snippets Groups Projects
  1. Nov 23, 2017
    • Marek Vavruša's avatar
      Added luacheck for linting Lua files and static analysis · 0e2ffb5d
      Marek Vavruša authored
      This is super useful for checking things like misusing undefined
      variables or modifying globals, especially in modules when it's
      not immediately visible which variables are in the global
      namespace and which are not.
      
      I added several exceptions for files in daemon/lua and tests,
      as for example sandbox module needs to legitimately modify
      global namespace.
      
      There's a lot of things failing, so I didn't make it part of the
      standard `make check`, but we should eventually enable it to
      improve code quality and spot problems with CI.
      0e2ffb5d
  2. Nov 20, 2017
  3. Nov 16, 2017
  4. Nov 15, 2017
  5. Nov 13, 2017
  6. Nov 06, 2017
  7. Nov 02, 2017
  8. Nov 01, 2017
  9. Oct 24, 2017
  10. Oct 20, 2017
  11. Oct 19, 2017
    • Daniel Kahn Gillmor's avatar
      systemd: drop RefuseManualStart=true, disable kresd.service by default · a0d93df6
      Daniel Kahn Gillmor authored
      I introduced RefuseManualStart=true last year when writing the initial
      systemd unit file for kresd.  I did this because i didn't want to
      start running the daemon if no one was going to talk to it.
      
      I'm no longer convinced that this directive has a good justification.
      While i think that there is no need to activate the service without
      socket activation, i think preventing manual invocation is actively
      harmful (admins will reflexively do "systemctl restart kresd" just
      like they do "systemctl restart apache2" and it's jarring to have it
      rejected).
      
      A distributor who wants to (by default) delay kresd startup until it
      is accessed can ship the preset file included here, but leave the
      *.socket units enabled by default.
      a0d93df6
  12. Oct 13, 2017