Changeset 2195 for branches/fc17-dev/host/debian
- Timestamp:
- May 22, 2012, 10:52:35 PM (12 years ago)
- Location:
- branches/fc17-dev
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc17-dev
- Property svn:mergeinfo changed
/trunk (added) merged: 2082-2122,2125-2148,2150-2194
- Property svn:mergeinfo changed
-
branches/fc17-dev/host/debian/scripts-syslog-ng-config/d_zroot.pl
r1969 r2195 17 17 @USERS{@USERS} = undef; 18 18 19 sub zwrite($;$$@) { 20 my ($message, $class, $instance, @recipients) = @_; 19 sub zwrite($;$$\@) { 20 my ($message, $class, $instance, $recipref) = @_; 21 my @recipients = (); 22 if (defined($recipref)) { 23 if (@$recipref) { 24 @recipients = @$recipref; 25 } else { 26 $message = '@b(Empty recipient list specified, message redacted)'; 27 $class = $ZCLASS; 28 } 29 } 21 30 $class ||= $ZCLASS; 22 31 $instance ||= 'root.'.hostname; … … 24 33 print ZWRITE $message; 25 34 close(ZWRITE); 35 } 36 37 unless (@RECIPIENTS) { 38 # Also give a warning at startup 39 zwrite('@b(No .k5login found, sensitive logs will not be zephyred)', $ZCLASS); 26 40 } 27 41 … … 120 134 } elsif ($message =~ m|^ *root : TTY=|) { 121 135 } elsif ($message =~ m|^Set /proc/self/oom_adj to |) { 136 } elsif ($message =~ m|^fatal: mm_request_receive: read: Connection reset by peer$|) { 122 137 } else { 123 138 sendmsg($message, "scripts-spew"); … … 126 141 127 142 foreach my $class (keys %toclass) { 128 if ($class eq "scripts-auto") {143 if ($class eq $ZCLASS) { 129 144 zwrite($toclass{$class}, $class); 130 145 } else { -
branches/fc17-dev/host/debian/scripts-syslog-ng-config/debian/changelog
r1970 r2195 1 scripts-syslog-ng-config (0.4) stable; urgency=low 2 3 * Synchronize filtered logs with Fedora copy (r2095). 4 * Avoid accidentally sending sensitive logs to a public class (r2096). 5 6 -- Geoffrey Thomas <geofft@mit.edu> Sat, 17 Dec 2011 03:06:59 -0500 7 8 scripts-syslog-ng-config (0.3) stable; urgency=low 9 10 * Depend on debathena-zephyr-config 11 12 -- Alexander Chernyakhovsky <achernya@mit.edu> Sat, 12 Nov 2011 23:27:51 -0500 13 1 14 scripts-syslog-ng-config (0.2) stable; urgency=low 2 15 -
branches/fc17-dev/host/debian/scripts-syslog-ng-config/debian/control
r1969 r2195 10 10 Architecture: all 11 11 Depends: ${misc:Depends}, 12 syslog-ng, 12 syslog-ng, debathena-zephyr-config 13 13 Description: Configures syslog-ng for zephyr logging 14 14 Configures a machine to log messages sent to syslog-ng to zephyr.
Note: See TracChangeset
for help on using the changeset viewer.