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

freeradius service handling fixes (Bug #6404), fix chown handling and various bugs #267

Merged
merged 14 commits into from
Jan 26, 2017

Commits on Jan 25, 2017

  1. Remove unwanted freeradius restart on install/upgrade (Bug #6404)

    This breaks things due to restarting the service multiple times once here and more times when custom_php_resync_config_command is run on install, which in turn runs freeradius_settings_resync() which restarts the service, and then freeradius_users_resync() runs which restarts the service yet again.
    doktornotor authored Jan 25, 2017
    Configuration menu
    Copy the full SHA
    c984f27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7be36fd View commit details
    Browse the repository at this point in the history
  3. Do not restart service twice on resync

    It will restart after freeradius_users_resync() is finished.
    doktornotor authored Jan 25, 2017
    Configuration menu
    Copy the full SHA
    b388104 View commit details
    Browse the repository at this point in the history
  4. Bump port version

    doktornotor authored Jan 25, 2017
    Configuration menu
    Copy the full SHA
    6519bef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0f9126f View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2017

  1. Configuration menu
    Copy the full SHA
    57204cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98597de View commit details
    Browse the repository at this point in the history
  3. Stop creating a symlink to itself instead of /usr/local/etc/raddb dir…

    …ectory
    
    Probably some leftover from 2.2.x/PBI junk.
    doktornotor authored Jan 26, 2017
    Configuration menu
    Copy the full SHA
    22fe452 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1775136 View commit details
    Browse the repository at this point in the history
  5. Sanitize and fix recursive chown usage

    If $frlib was empty, the code would run chown -R on the entire /usr/local/lib. Create a function with sanity checks, use PHP's chown()/chgrp() functions instead of exec() and refuse to recursively chown invalid targets.
    doktornotor authored Jan 26, 2017
    Configuration menu
    Copy the full SHA
    eb54fa8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bca4075 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    960e97a View commit details
    Browse the repository at this point in the history
  8. Use boolean for $via_rpc

    doktornotor authored Jan 26, 2017
    Configuration menu
    Copy the full SHA
    de8f640 View commit details
    Browse the repository at this point in the history
  9. Add $restart_svc argument to more functions

    Needed to avoid more restarts madness
    doktornotor authored Jan 26, 2017
    Configuration menu
    Copy the full SHA
    af938f7 View commit details
    Browse the repository at this point in the history