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

Contents 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.2 - (show annotations) (download)
Tue Mar 16 20:52:15 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-samba-2_6_0-19_el7_sme, e-smith-samba-2_6_0-25_el7_sme, e-smith-samba-2_6_0-20_el7_sme, e-smith-samba-2_6_0-23_el7_sme, e-smith-samba-2_6_0-26_el7_sme, e-smith-samba-2_6_0-21_el7_sme, e-smith-samba-2_6_0-24_el7_sme, e-smith-samba-2_6_0-27_el7_sme, e-smith-samba-2_6_0-28_el7_sme, e-smith-samba-2_6_0-22_el7_sme, HEAD
Changes since 1.1: +2 -2 lines
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-19.sme
- clean rsyslog syntax for smbd and nmbd [SME: 11422]

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 +& stop
18 +
19 +#nmbd
20 +:programname, isequal, "nmbd" /var/log/nmbd/nmbd.log
21 +& 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