/[smeserver]/rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz11349-logging.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz11349-logging.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Feb 22 04:52:16 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-samba-2_6_0-18_el7_sme
* Sun Feb 21 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
- fix noise in message log from nmbd and smbd redirected to dedicated logs [SME: 11349]

1 jpp 1.1 diff -Nur e-smith-samba-2.6.0.old/createlinks e-smith-samba-2.6.0/createlinks
2     --- e-smith-samba-2.6.0.old/createlinks 2021-02-21 23:43:42.417000000 -0500
3     +++ e-smith-samba-2.6.0/createlinks 2021-02-21 23:49:54.782000000 -0500
4     @@ -119,3 +119,5 @@
5     # systemd-specific action mandatory for this package-update event
6     event_link("systemd-reload", $event, "89");
7     event_link("systemd-default", $event, "88");
8     +templates2events("/etc/rsyslog.conf",$event);
9     +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
10     diff -Nur e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32samba e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32samba
11     --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32samba 1969-12-31 19:00:00.000000000 -0500
12     +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32samba 2021-02-21 23:45:02.140000000 -0500
13     @@ -0,0 +1,9 @@
14     +
15     +#smbd
16     +:programname, isequal, "smbd" /var/log/smbd/smbd.log
17     +:programname, isequal, "smbd" stop
18     +
19     +#nmbd
20     +:programname, isequal, "nmbd" /var/log/nmbd/nmbd.log
21     +:programname, isequal, "nmbd" stop
22     +
23     diff -Nur e-smith-samba-2.6.0.old/root/etc/logrotate.d/samba-sme e-smith-samba-2.6.0/root/etc/logrotate.d/samba-sme
24     --- e-smith-samba-2.6.0.old/root/etc/logrotate.d/samba-sme 1969-12-31 19:00:00.000000000 -0500
25     +++ e-smith-samba-2.6.0/root/etc/logrotate.d/samba-sme 2021-02-21 23:47:31.081000000 -0500
26     @@ -0,0 +1,8 @@
27     +/var/log/nmbd/nmbd.log /var/log/smbd/smbd.log {
28     + notifempty
29     + olddir /var/log/samba/old
30     + missingok
31     + sharedscripts
32     + copytruncate
33     +}
34     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed