Skip to content
Snippets Groups Projects

Fix default location of logrotate config file

Merged Martin Prudek requested to merge logconf into master
1 unresolved thread

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 by Vojtech Myslivec

Merge request reports

Approval is optional

Merged by Martin PrudekMartin Prudek 4 years ago (Aug 6, 2020 11:41am UTC)

Merge details

  • Changes merged into master with 60755da7.
  • Did not delete the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply