Bug #3334

Samba core files are listed by log viewer

Added by Davide Principi over 5 years ago. Updated over 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.7
Security class: Resolution:
Affected version:v6.7 NEEDINFO:No

Description

If a Samba core file is dumped the log viewer in server-manager lists it. The ``core`` file is binary: it can be viewed!

Reported by @fasttech here
https://github.com/NethServer/dev/issues/5005

Associated revisions

Revision 6406f675
Added by Davide Principi over 5 years ago

logviewer.conf: exclude Samba core files. Refs #3334

Also, claim ownerfship of logviewer.conf file.

Revision 637d8af3
Added by Davide Principi over 5 years ago

logviewer.conf: exclude Samba core files. Refs #3334

Also, claim ownerfship of logviewer.conf file.

History

#1 Updated by Davide Principi over 5 years ago

  • Status changed from NEW to TRIAGED
  • Assignee set to Davide Principi
  • Target version changed from ~FUTURE to v6.7
  • % Done changed from 0 to 20

#2 Updated by Davide Principi over 5 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#3 Updated by Davide Principi over 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Trivial fix

#4 Updated by Davide Principi over 5 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing
nethserver-base-2.9.6-1.1.g6406f67.ns6.noarch.rpm

#5 Updated by Giacomo Sanchietti over 5 years ago

  • Assignee set to Giacomo Sanchietti

#6 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Created a couples of files inside the core dir:

echo "test" > /var/log/samba/cores/test.log
echo "test" > /var/log/samba/cores/smbd/test.log

The files are not displayed inside the log viewer page.

#7 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in 6.7 updates:
  • nethserver-base-2.9.7-1.ns6.noarch.rpm
Released in 7 updates:
  • nethserver-base-2.9.7-1.70.g6d24a00.ns7.noarch.rpm

Also available in: Atom PDF