Project

General

Profile

Bug #68842

Use correct permissions for /var/log/netdata/debug.log

Added by Waqar Ahmed 10 months ago. Updated 10 months ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Services
Seen in:
Severity:
Low Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

FreeNAS-11.2-RELEASE

Every time the netdata service starts this log message is created in /var/log/messages. Cannot open file '/var/log/netdata/debug.log'

This is the contents of that directory. The debug.log file does not exist.
ls l /var/log/netdata/
total 1
-rwSr----
1 netdata netdata 0 Dec 12 22:44 .keep

If I create the debug.log file and restart netdata the log message goes away.

PR - https://github.com/freenas/freenas/pull/2377


Related issues

Copied from FreeNAS - Bug #65052: Use correct permissions for /var/log/netdata/debug.logDone

History

#1 Updated by Waqar Ahmed 10 months ago

  • Copied from Bug #65052: Use correct permissions for /var/log/netdata/debug.log added

#2 Updated by Dru Lavigne 10 months ago

  • File deleted (debug-tubby-20181219154110.txz)

#3 Updated by Dru Lavigne 10 months ago

  • Subject changed from netdata: Cannot open file '/var/log/netdata/debug.log' to Use correct permissions for /var/log/netdata/debug.log
  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies
  • Private changed from Yes to No
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF