Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • N Nikola
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • SentinelSentinel
  • Nikola
  • Merge requests
  • !17

Fix default location of logrotate config file

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Martin Prudek requested to merge logconf into master Aug 06, 2020
  • Overview 3
  • Commits 2
  • Changes 2

Fix default location of logrotate config file. This is exapmle error output:

root@turris-test:~# sentinel-nikola
error: cannot stat /etc/logrotate.d/iptables: No such file or directory
Exception thrown: Command '('/usr/sbin/logrotate', '-f', '/etc/logrotate.d/iptables')' returned non-zero exit status 1.
Exception traceback: [<FrameSummary file /usr/lib/python3.7/site-packages/sentinel_nikola/__main__.py, line 65 in main>, <FrameSummary file /usr/lib/python3.7/site-packages/sentinel_nikola/__main__.py, line 94 in rotate_syslog_file>, <FrameSummary file /usr/lib/python3.7/subprocess.py, line 411 in check_output>, <FrameSummary file /usr/lib/python3.7/subprocess.py, line 512 in run>]
Edited Feb 01, 2021 by Vojtech Myslivec
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: logconf