You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
(44) |
Nov
(63) |
Dec
(29) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(13) |
Feb
(20) |
Mar
(89) |
Apr
(41) |
May
(53) |
Jun
(231) |
Jul
(40) |
Aug
(89) |
Sep
(90) |
Oct
(338) |
Nov
(124) |
Dec
(99) |
2004 |
Jan
(108) |
Feb
(140) |
Mar
(103) |
Apr
(61) |
May
(52) |
Jun
(70) |
Jul
(194) |
Aug
(112) |
Sep
(77) |
Oct
(66) |
Nov
(11) |
Dec
(6) |
2005 |
Jan
(16) |
Feb
(34) |
Mar
(42) |
Apr
(59) |
May
(37) |
Jun
(175) |
Jul
(19) |
Aug
|
Sep
(8) |
Oct
(49) |
Nov
(1) |
Dec
|
2006 |
Jan
(16) |
Feb
(12) |
Mar
(46) |
Apr
(10) |
May
(6) |
Jun
(23) |
Jul
(22) |
Aug
(16) |
Sep
(17) |
Oct
(11) |
Nov
(3) |
Dec
(12) |
2007 |
Jan
(19) |
Feb
(35) |
Mar
(20) |
Apr
(30) |
May
(36) |
Jun
(27) |
Jul
(21) |
Aug
(40) |
Sep
(31) |
Oct
(14) |
Nov
(11) |
Dec
(2) |
2008 |
Jan
|
Feb
(28) |
Mar
(6) |
Apr
(26) |
May
|
Jun
(23) |
Jul
(15) |
Aug
(17) |
Sep
(87) |
Oct
(4) |
Nov
|
Dec
(25) |
2009 |
Jan
|
Feb
(29) |
Mar
(33) |
Apr
(5) |
May
(35) |
Jun
(79) |
Jul
(186) |
Aug
(61) |
Sep
(43) |
Oct
(15) |
Nov
(8) |
Dec
(22) |
2010 |
Jan
(12) |
Feb
|
Mar
(2) |
Apr
(7) |
May
|
Jun
(2) |
Jul
(1) |
Aug
(77) |
Sep
(40) |
Oct
(1) |
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(105) |
Oct
(65) |
Nov
|
Dec
|
From: <cv...@ci...> - 2012-10-16 05:39:47
|
Update of /usr/local/cvsroot/ceps-utils In directory sseethap-lnx02:/tmp/cvs-serv25744 Modified Files: ceps-utils.spec.in configure.in getnetavailip.c printerdump.c Log Message: Index: ceps-utils.spec.in =================================================================== RCS file: /usr/local/cvsroot/ceps-utils/ceps-utils.spec.in,v retrieving revision 2.9 retrieving revision 2.10 diff -C2 -d -r2.9 -r2.10 *** ceps-utils.spec.in 16 Mar 2005 04:46:45 -0000 2.9 --- ceps-utils.spec.in 16 Oct 2012 05:39:34 -0000 2.10 *************** *** 32,39 **** Version: %{_ver} Release: %{_rel} ! Copyright: GPL Group: Applications/CEPS URL: http://ceps.sourceforge.net/ ! Packager: Damian Ivereigh <da...@ci...> Source: %{_pkgver}.tar.gz BuildRoot: %{_buildtmp}/%{_pkg}-%{_ver}-%{_rel}/ --- 32,39 ---- Version: %{_ver} Release: %{_rel} ! License: GPL Group: Applications/CEPS URL: http://ceps.sourceforge.net/ ! Packager: Saravana Kumar, C <sa...@ci...> Source: %{_pkgver}.tar.gz BuildRoot: %{_buildtmp}/%{_pkg}-%{_ver}-%{_rel}/ Index: configure.in =================================================================== RCS file: /usr/local/cvsroot/ceps-utils/configure.in,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** configure.in 9 Sep 2008 11:15:16 -0000 1.21 --- configure.in 16 Oct 2012 05:39:34 -0000 1.22 *************** *** 3,7 **** AC_REVISION($Revision$)dnl ! AC_INIT(ceps-utils,1.7.0) dnl Initialize the automake stuff --- 3,7 ---- AC_REVISION($Revision$)dnl ! AC_INIT(ceps-utils,1.8.1) dnl Initialize the automake stuff *************** *** 9,13 **** dnl package variables ! VERSION=1.7.0 PACKAGE=ceps-utils --- 9,13 ---- dnl package variables ! VERSION=1.8.1 PACKAGE=ceps-utils Index: getnetavailip.c =================================================================== RCS file: /usr/local/cvsroot/ceps-utils/getnetavailip.c,v retrieving revision 2.1 retrieving revision 2.2 diff -C2 -d -r2.1 -r2.2 *** getnetavailip.c 12 Apr 2005 06:30:50 -0000 2.1 --- getnetavailip.c 16 Oct 2012 05:39:34 -0000 2.2 *************** *** 3,6 **** --- 3,14 ---- /* * $Log$ + * Revision 2.2 2012/10/16 05:39:34 jabasa + * *** empty log message *** + * + * Revision 2.1.6.1 2009/07/25 07:00:55 sanradha + * Increased the size if iid from 20 to 21. + * Thhis will avoid segmentation violation error when sddrequest() is called + * with iid, as inside the sddb function it copies in 21st byte to NULL. + * * Revision 2.1 2005/04/12 06:30:50 damo * Added getnetavailip - a program to list out all the available IP addresses *************** *** 46,50 **** SDDB_REC *dkey, *dfldp; char dynip[20]; ! char iid[20]; unsigned long seqno; int nbits; --- 54,58 ---- SDDB_REC *dkey, *dfldp; char dynip[20]; ! char iid[21]={0,}; unsigned long seqno; int nbits; Index: printerdump.c =================================================================== RCS file: /usr/local/cvsroot/ceps-utils/printerdump.c,v retrieving revision 2.2 retrieving revision 2.3 diff -C2 -d -r2.2 -r2.3 *** printerdump.c 22 Jun 2005 05:33:30 -0000 2.2 --- printerdump.c 16 Oct 2012 05:39:34 -0000 2.3 *************** *** 3,6 **** --- 3,14 ---- /* * $Log$ + * Revision 2.3 2012/10/16 05:39:34 jabasa + * *** empty log message *** + * + * Revision 2.2.6.1 2009/07/25 07:00:55 sanradha + * Increased the size if iid from 20 to 21. + * Thhis will avoid segmentation violation error when sddrequest() is called + * with iid, as inside the sddb function it copies in 21st byte to NULL. + * * Revision 2.2 2005/06/22 05:33:30 damo * printerdump now uses single quotes *************** *** 55,59 **** extern int optind; SDDB_REC *key, *rec; ! char iid[20]; unsigned long seqno; char *name=NULL; --- 63,67 ---- extern int optind; SDDB_REC *key, *rec; ! char iid[21]={0,}; unsigned long seqno; char *name=NULL; |
From: <cv...@ci...> - 2012-10-16 05:27:47
|
Update of /usr/local/cvsroot/ceps-sysfiles/ssh In directory sseethap-lnx02:/tmp/cvs-serv25590/ssh Modified Files: ssh_known_hosts sshd_config Log Message: Index: ssh_known_hosts =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/ssh/ssh_known_hosts,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ssh_known_hosts 17 Sep 2003 13:37:23 -0000 1.5 --- ssh_known_hosts 16 Oct 2012 05:27:26 -0000 1.6 *************** *** 1,6 **** - faramir 1024 37 108303347541719887002776760547746839789610605826395207283927973050808470724583242316771512034466083985967541987531840468667240664761845503681531569093450111788188607538088735695545954799640067658902506464645478276420101187572405606427677509300407515767491378148435331914248932084509877374744554851557358959117 - faramir.cisco.com,171.68.222.141 1024 37 108303347541719887002776760547746839789610605826395207283927973050808470724583242316771512034466083985967541987531840468667240664761845503681531569093450111788188607538088735695545954799640067658902506464645478276420101187572405606427677509300407515767491378148435331914248932084509877374744554851557358959117 turambar.cisco.com,171.70.157.214 1024 37 134203846711065827606753491877064993672946252520128758914166953589009966333894851827085167136445460232440271285511479721473583428883886347233685298974275436566394251782390034316363093309021623410979791531206789776130466813296160381747666230551972071464633531586570895435709847568656393378702400774390087848607 teiglin.cisco.com,171.70.156.232 1024 37 126419057132154373281078016760731162253570187222145237323003449320303162013413341331594371069455089016980341115870540055101069937199272177096262735739324218983963099530265533947856827828778860015232850047963880343527691803627869176828056428322148536863542215183170745737590072141234845121125598406837634723207 - ferny.cisco.com,64.104.204.4 1024 33 156814337344489789246240305266723424971905014886669400926989898276347255658957419639569076056439801097352430806851857413722897776731219935557991601569490119218771850085645247511862357975709705553917522281661401558628450501932692358705163593297928936383898192830933776960734983069776609017902533276193739046507 ivrin.cisco.com,171.68.222.144 1024 35 125012378176915172942236354124710995630339490284415688645386696300829843161546261916474344231328884434521372533854377474056209869510531230935695062547033589993390254494748437970053112781850108272110864541767563118132221451114370431823997412262913702288441775908890709254983899940038017286935429906544772361371 --- 1,3 ---- Index: sshd_config =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/ssh/sshd_config,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** sshd_config 22 Nov 2004 22:35:05 -0000 1.3 --- sshd_config 16 Oct 2012 05:27:26 -0000 1.4 *************** *** 1,56 **** ! # This is ssh server systemwide configuration file. Port 22 #Protocol 2,1 ListenAddress 0.0.0.0 #ListenAddress :: #HostKey /etc/ssh/ssh_host_key ServerKeyBits 768 ! LoginGraceTime 600 ! KeyRegenerationInterval 3600 ! PermitRootLogin yes ! # ! # Don't read ~/.rhosts and ~/.shosts files ! IgnoreRhosts no ! # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication ! #IgnoreUserKnownHosts yes ! StrictModes yes ! X11Forwarding no ! X11DisplayOffset 10 ! PrintMotd yes ! KeepAlive yes # Logging SyslogFacility AUTH LogLevel INFO - #obsoletes QuietMode and FascistLogging ! RhostsAuthentication no ! # ! # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts ! RhostsRSAAuthentication yes ! # RSAAuthentication yes # To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes PermitEmptyPasswords no - # Uncomment to disable s/key passwords - #SkeyAuthentication no - #KbdInteractiveAuthentication yes ! # To change Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes ! #AFSTokenPassing no ! #KerberosTicketCleanup no ! # Kerberos TGT Passing does only work with the AFS kaserver ! #KerberosTgtPassing yes ! #CheckMail no #UseLogin no ! # Uncomment if you want to enable sftp Subsystem sftp /usr/libexec/openssh/sftp-server - #MaxStartups 10:30:60 --- 1,99 ---- ! # This is the sshd server system-wide configuration file. See ! # sshd_config(5) for more information. Port 22 #Protocol 2,1 + #AddressFamily any ListenAddress 0.0.0.0 #ListenAddress :: #HostKey /etc/ssh/ssh_host_key ServerKeyBits 768 ! KeyRegenerationInterval 3600 # Logging + # obsoletes QuietMode and FascistLogging SyslogFacility AUTH LogLevel INFO ! # Authentication: ! ! LoginGraceTime 600 ! PermitRootLogin yes ! StrictModes yes ! #MaxAuthTries 6 ! RSAAuthentication yes + #PubkeyAuthentication yes + #AuthorizedKeysFile .ssh/authorized_keys + + # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts + RhostsRSAAuthentication yes + # similar for protocol version 2 + #HostbasedAuthentication no + # Change to yes if you don't trust ~/.ssh/known_hosts for + # RhostsRSAAuthentication and HostbasedAuthentication + #IgnoreUserKnownHosts no + # Don't read the user's ~/.rhosts and ~/.shosts files + IgnoreRhosts no # To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes PermitEmptyPasswords no ! # Change to no to disable s/key passwords ! #ChallengeResponseAuthentication yes ! ChallengeResponseAuthentication no ! ! # Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes ! #KerberosTicketCleanup yes ! #KerberosGetAFSToken no ! # GSSAPI options ! #GSSAPIAuthentication no ! #GSSAPIAuthentication yes ! #GSSAPICleanupCredentials yes ! #GSSAPICleanupCredentials yes ! # Set this to 'yes' to enable PAM authentication, account processing, ! # and session processing. If this is enabled, PAM authentication will ! # be allowed through the ChallengeResponseAuthentication mechanism. ! # Depending on your PAM configuration, this may bypass the setting of ! # PasswordAuthentication, PermitEmptyPasswords, and ! # "PermitRootLogin without-password". If you just want the PAM account and ! # session checks to run without PAM authentication, then enable this but set ! # ChallengeResponseAuthentication=no ! #UsePAM no ! #UsePAM yes ! ! # Accept locale-related environment variables ! #AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES ! #AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT ! #AcceptEnv LC_IDENTIFICATION LC_ALL ! #AllowTcpForwarding yes ! #GatewayPorts no ! #X11Forwarding no ! X11Forwarding no ! X11DisplayOffset 10 ! #X11UseLocalhost yes ! PrintMotd yes ! #PrintLastLog yes ! TCPKeepAlive yes #UseLogin no + #UsePrivilegeSeparation yes + #PermitUserEnvironment no + #Compression delayed + #ClientAliveInterval 0 + #ClientAliveCountMax 3 + #ShowPatchLevel no + #UseDNS yes + #PidFile /var/run/sshd.pid + #MaxStartups 10 + #PermitTunnel no ! # no default banner path ! #Banner /some/path ! ! # override default of no subsystems Subsystem sftp /usr/libexec/openssh/sftp-server |
From: <cv...@ci...> - 2012-10-16 05:27:45
|
Update of /usr/local/cvsroot/ceps-sysfiles/cron In directory sseethap-lnx02:/tmp/cvs-serv25590/cron Modified Files: Makefile.am crontab crontab.emea Log Message: Index: Makefile.am =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/cron/Makefile.am,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Makefile.am 3 Mar 2009 07:31:26 -0000 1.12 --- Makefile.am 16 Oct 2012 05:27:25 -0000 1.13 *************** *** 27,31 **** cronotherdir = ${crondir}/cron.other ! cronother_SCRIPTS = updprstats waiting-record test_epage esl_update ALLSCRIPTS = $(cronhourly_SCRIPTS) $(crondaily_SCRIPTS) \ --- 27,31 ---- cronotherdir = ${crondir}/cron.other ! cronother_SCRIPTS = updprstats waiting-record test_epage esl_update updateCname ALLSCRIPTS = $(cronhourly_SCRIPTS) $(crondaily_SCRIPTS) \ *************** *** 52,55 **** --- 52,61 ---- # $Log$ + # Revision 1.13 2012/10/16 05:27:25 jabasa + # *** empty log message *** + # + # Revision 1.12.2.1 2010/04/14 08:00:03 saravanc + # Included the updateCname.sh tool as part of cron.others + # # Revision 1.12 2009/03/03 07:31:26 sanradha # Added crontab.emea Index: crontab =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/cron/crontab,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** crontab 27 Feb 2009 11:51:15 -0000 1.26 --- crontab 16 Oct 2012 05:27:25 -0000 1.27 *************** *** 13,19 **** # Work out "active" stats 01 23 * * * root /etc/cron.other/updprstats ! 30 20 * * 1 root /etc/cron.other/test_epage 01 4,16 * * * root /etc/cron.other/waiting-record 01,31 * * * * root /etc/cron.other/esl_update # akruchkoff: collect average loading every minute --- 13,21 ---- # Work out "active" stats 01 23 * * * root /etc/cron.other/updprstats ! # http://timeanddate.com/worldclock/meetingtime.html?month=9&day=22&year=2010&p1=438&p2=225&p3=207&iv=0 ! 30 07 * * 2 root /etc/cron.other/test_epage 01 4,16 * * * root /etc/cron.other/waiting-record 01,31 * * * * root /etc/cron.other/esl_update + 0,5,10,15,20,25,30,35,40,45,50,55 * * * * root /etc/cron.other/updateCname # akruchkoff: collect average loading every minute *************** *** 25,28 **** --- 27,45 ---- # $Log$ + # Revision 1.27 2012/10/16 05:27:25 jabasa + # *** empty log message *** + # + # Revision 1.26.2.4 2011/03/07 12:51:05 saravanc + # Updated the crontab for test_epage + # + # Revision 1.26.2.3 2010/09/21 15:17:33 saravanc + # Updated the epage mesage time + # + # Revision 1.26.2.2 2010/09/21 07:35:00 saravanc + # Changed the epage time in crontab + # + # Revision 1.26.2.1 2010/04/14 08:06:28 saravanc + # Updated the crontab to call the updateCname for every 5 minutes + # # Revision 1.26 2009/02/27 11:51:15 sanradha # Removed ceps-run-parts for esl_update Index: crontab.emea =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/cron/crontab.emea,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** crontab.emea 3 Mar 2009 07:30:18 -0000 1.1 --- crontab.emea 16 Oct 2012 05:27:25 -0000 1.2 *************** *** 13,19 **** # Work out "active" stats 01 23 * * * root /etc/cron.other/updprstats ! 30 20 * * 1 root /etc/cron.other/test_epage 01 4,16 * * * root /etc/cron.other/waiting-record 01,31 * * * * root /etc/cron.other/esl_update # akruchkoff: collect average loading every minute --- 13,20 ---- # Work out "active" stats 01 23 * * * root /etc/cron.other/updprstats ! 30 07 * * 2 root /etc/cron.other/test_epage 01 4,16 * * * root /etc/cron.other/waiting-record 01,31 * * * * root /etc/cron.other/esl_update + 0,5,10,15,20,25,30,35,40,45,50,55 * * * * root /etc/cron.other/updateCname # akruchkoff: collect average loading every minute *************** *** 25,28 **** --- 26,38 ---- # $Log$ + # Revision 1.2 2012/10/16 05:27:25 jabasa + # *** empty log message *** + # + # Revision 1.1.2.2 2011/03/07 12:51:05 saravanc + # Updated the crontab for test_epage + # + # Revision 1.1.2.1 2010/09/21 15:17:33 saravanc + # Updated the epage mesage time + # # Revision 1.1 2009/03/03 07:30:18 sanradha # Initial version. |
From: <cv...@ci...> - 2012-10-16 05:27:45
|
Update of /usr/local/cvsroot/ceps-sysfiles/profile.d In directory sseethap-lnx02:/tmp/cvs-serv25590/profile.d Modified Files: fortune.sh Log Message: Index: fortune.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/profile.d/fortune.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** fortune.sh 24 Mar 2005 02:16:37 -0000 1.3 --- fortune.sh 16 Oct 2012 05:27:25 -0000 1.4 *************** *** 1,3 **** #!/bin/sh ! [ `id --user` -gt 200 ] && fortune --- 1,3 ---- #!/bin/sh ! #[ `id --user` -gt 200 ] && fortune |
From: <cv...@ci...> - 2012-10-16 05:27:43
|
Update of /usr/local/cvsroot/ceps-sysfiles/cisco In directory sseethap-lnx02:/tmp/cvs-serv25590/cisco Modified Files: lpenv Log Message: Index: lpenv =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/cisco/lpenv,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** lpenv 27 Oct 2009 10:01:42 -0000 1.30 --- lpenv 16 Oct 2012 05:27:25 -0000 1.31 *************** *** 9,23 **** # # $Log$ ! # Revision 1.30 2009/10/27 10:01:42 saravanc ! # Renamed the service group value to hardcoded value for SERVER_STAT as many ! # utilities are using the direct value. # ! # Revision 1.29 2009/09/22 10:41:53 saravanc ! # Updated the DNS entries and changed the stat server from hardcoded value to ! # service group "stats". # ! # Revision 1.28 2009/09/22 08:51:07 saravanc ! # Updated the lpenv file for DNS entries and stat server name renamed ! # as service group instead of hardcode value # # Revision 1.27 2008/07/02 14:10:22 saravanc --- 9,27 ---- # # $Log$ ! # Revision 1.31 2012/10/16 05:27:25 jabasa ! # *** empty log message *** # ! # Revision 1.27.4.3 2011/03/07 10:21:33 saravanc ! # Updated the lpenv for SEED Server from IP address to Service Group ! # SDDBSEED # ! # Revision 1.27.4.2 2009/10/27 09:55:15 saravanc ! # changed the lpenv file STAT_SERVER variable value from ! # service group to static value "uldor.cisco.com", as the many ! # utilities are implemented to use the direct stat server name. ! # ! # Revision 1.27.4.1 2009/09/22 10:37:22 saravanc ! # Updated the DNS entries and changed the stat server to dynamically loading ! # from "stats" # # Revision 1.27 2008/07/02 14:10:22 saravanc *************** *** 146,150 **** INIT_LPOPTS=8x11 SMB_DOMAIN=CISCO-PRINT ! SDDB_SEED_SERVER=171.68.222.148 EMAIL_DOMAIN=cisco.com ATALK_RUNSVR=N # atalk --- 150,154 ---- INIT_LPOPTS=8x11 SMB_DOMAIN=CISCO-PRINT ! SDDB_SEED_SERVER=sddbseed.cisco.com EMAIL_DOMAIN=cisco.com ATALK_RUNSVR=N # atalk *************** *** 162,166 **** #WINS_SERVERS="171.68.225.116" # winsservers WINS_SERVERS="171.71.179.89" # winsservers ! STATS_SERVER=uldor.cisco.com # Statistics server MAILERRTO=cep...@ci... CONSOLETTY="" # consoletty --- 166,170 ---- #WINS_SERVERS="171.68.225.116" # winsservers WINS_SERVERS="171.71.179.89" # winsservers ! STATS_SERVER=uldor.cisco.com # Statistics server MAILERRTO=cep...@ci... CONSOLETTY="" # consoletty |
Update of /usr/local/cvsroot/ceps-sysfiles/init.d In directory sseethap-lnx02:/tmp/cvs-serv25590/init.d Modified Files: console.sh fixkconst.sh fixlilo.sh functions.sh services snort.sh sshd.sh upswatch.sh watchdog.sh Log Message: Index: console.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/init.d/console.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** console.sh 8 Aug 2004 00:27:20 -0000 1.5 --- console.sh 16 Oct 2012 05:27:25 -0000 1.6 *************** *** 6,10 **** # description: Setup serial console # ! # Source function library. . /etc/rc.d/init.d/functions --- 6,10 ---- # description: Setup serial console # ! exit 0 # Source function library. . /etc/rc.d/init.d/functions Index: fixkconst.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/init.d/fixkconst.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** fixkconst.sh 30 Jul 2009 09:06:23 -0000 1.5 --- fixkconst.sh 16 Oct 2012 05:27:25 -0000 1.6 *************** *** 1,4 **** #!/bin/sh ! # fixkconst Fix up various kernel constants # --- 1,4 ---- #!/bin/sh ! exit 0 # fixkconst Fix up various kernel constants # Index: fixlilo.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/init.d/fixlilo.sh,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** fixlilo.sh 8 Apr 2005 02:36:03 -0000 1.7 --- fixlilo.sh 16 Oct 2012 05:27:25 -0000 1.8 *************** *** 7,11 **** # into multi-user mode directly - run after an \ # orderly startup and an orderly shutdown ! # Source function library. . /etc/rc.d/init.d/functions --- 7,11 ---- # into multi-user mode directly - run after an \ # orderly startup and an orderly shutdown ! exit 0 # Source function library. . /etc/rc.d/init.d/functions Index: functions.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/init.d/functions.sh,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** functions.sh 7 Apr 2005 02:30:03 -0000 1.8 --- functions.sh 16 Oct 2012 05:27:25 -0000 1.9 *************** *** 11,15 **** # Set up a default search path. ! PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin" export PATH --- 11,15 ---- # Set up a default search path. ! PATH="/sbin:/usr/sbin:/bin:/usr/bin" export PATH *************** *** 20,37 **** if [ -f /etc/sysconfig/i18n -a -z "${NOLOCALE:-}" ] ; then ! . /etc/sysconfig/i18n ! if [ "$CONSOLETYPE" != "pty" ]; then ! case "${LANG:-}" in ! ja_JP*|ko_KR*|zh_CN*|zh_TW*) ! export LC_MESSAGES=en_US ! export LANG ! ;; ! *) ! export LANG ! ;; ! esac ! else ! export LANG ! fi fi --- 20,24 ---- if [ -f /etc/sysconfig/i18n -a -z "${NOLOCALE:-}" ] ; then ! . /etc/profile.d/lang.sh fi *************** *** 68,71 **** --- 55,63 ---- fi + # Interpret escape sequences in an fstab entry + fstab_decode_str() { + fstab-decode echo "$1" + } + # Check if $pid (could be plural) are running checkpid() { *************** *** 73,87 **** for i in $* ; do ! [ -d "/proc/$i" ] || return 1 done ! return 0 } ! # A function to start a program. daemon() { # Test syntax. ! local gotbase= force= ! local base= user= nice= bg= pid= nicelevel=0 while [ "$1" != "${1##[-+]}" ]; do --- 65,166 ---- for i in $* ; do ! [ -d "/proc/$i" ] && return 0 done ! return 1 ! } ! ! __readlink() { ! ls -bl "$@" 2>/dev/null| awk '{ print $NF }' ! } ! ! # __umount_loop awk_program fstab_file first_msg retry_msg umount_args ! # awk_program should process fstab_file and return a list of fstab-encoded ! # paths; it doesn't have to handle comments in fstab_file. ! __umount_loop() { ! local remaining sig= ! local retry=3 ! ! remaining=$(LC_ALL=C awk "/^#/ {next} $1" "$2" | sort -r) ! while [ -n "$remaining" -a "$retry" -gt 0 ]; do ! if [ "$retry" -eq 3 ]; then ! action "$3" fstab-decode umount $5 $remaining ! else ! action "$4" fstab-decode umount $5 $remaining ! fi ! sleep 2 ! remaining=$(LC_ALL=C awk "/^#/ {next} $1" "$2" | sort -r) ! [ -z "$remaining" ] && break ! fstab-decode /sbin/fuser -k -m $sig $remaining >/dev/null ! sleep 5 ! retry=$(($retry -1)) ! sig=-9 ! done ! } ! ! # Similar to __umount loop above, specialized for loopback devices ! __umount_loopback_loop() { ! local remaining devremaining sig= ! local retry=3 ! ! remaining=$(awk '$1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts) ! devremaining=$(awk '$1 ~ /^\/dev\/loop/ && $2 != "/" {print $1}' /proc/mounts) ! while [ -n "$remaining" -a "$retry" -gt 0 ]; do ! if [ "$retry" -eq 3 ]; then ! action $"Unmounting loopback filesystems: " \ ! fstab-decode umount $remaining ! else ! action $"Unmounting loopback filesystems (retry):" \ ! fstab-decode umount $remaining ! fi ! for dev in $devremaining ; do ! losetup $dev > /dev/null 2>&1 && \ ! action $"Detaching loopback device $dev: " \ ! losetup -d $dev ! done ! remaining=$(awk '$1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts) ! devremaining=$(awk '$1 ~ /^\/dev\/loop/ && $2 != "/" {print $1}' /proc/mounts) ! [ -z "$remaining" ] && break ! fstab-decode /sbin/fuser -k -m $sig $remaining >/dev/null ! sleep 5 ! retry=$(($retry -1)) ! sig=-9 ! done ! } ! ! # __proc_pids {program} [pidfile] ! # Set $pid to pids from /var/run* for {program}. $pid should be declared ! # local in the caller. ! # Returns LSB exit code for the 'status' action. ! __pids_var_run() { ! local base=${1##*/} ! local pid_file=${2:-/var/run/$base.pid} ! ! pid= ! if [ -f "$pid_file" ] ; then ! local line p ! read line < "$pid_file" ! for p in $line ; do ! [ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid="$pid $p" ! done ! if [ -n "$pid" ]; then ! return 0 ! fi ! return 1 # "Program is dead and /var/run pid file exists" ! fi ! return 3 # "Program is not running" } ! ! # Output PIDs of matching processes, found using pidof ! __pids_pidof() { ! pidof -c -o $$ -o $PPID -o %PPID -x "$1" || \ ! pidof -c -o $$ -o $PPID -o %PPID -x "${1##*/}" ! } ! # A function to start a program. daemon() { # Test syntax. ! local gotbase= force= nicelevel corelimit ! local pid base= user= nice= bg= pid_file= nicelevel=0 while [ "$1" != "${1##[-+]}" ]; do *************** *** 107,110 **** --- 186,197 ---- shift ;; + --pidfile) + pid_file=$2 + shift 2 + ;; + --pidfile=?*) + pid_file=${1#--pidfile=} + shift + ;; --force) force="force" *************** *** 124,152 **** # See if it's already running. Look *only* at the pid file. ! if [ -f /var/run/${base}.pid ]; then ! local line p ! read line < /var/run/${base}.pid ! for p in $line ; do ! [ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid="$pid $p" ! done ! fi ! ! [ -n "${pid:-}" -a -z "${force:-}" ] && return ! # make sure it doesn't core dump anywhere; while this could mask ! # problems with the daemon, it also closes some security problems ! ulimit -S -c 0 >/dev/null 2>&1 # if they set NICELEVEL in /etc/sysconfig/foo, honor it ! [ -n "$NICELEVEL" ] && nice="nice -n $NICELEVEL" # Echo daemon ! [ "${BOOTUP:-}" = "verbose" -a -z "$LSB" ] && echo -n " $base" # And start it up. if [ -z "$user" ]; then ! $nice initlog $INITLOG_ARGS -c "$*" else ! $nice initlog $INITLOG_ARGS -c "su -s /bin/bash - $user -c \"$*\"" fi [ "$?" -eq 0 ] && success $"$base startup" || failure $"$base startup" --- 211,232 ---- # See if it's already running. Look *only* at the pid file. ! __pids_var_run "$base" "$pid_file" ! [ -n "$pid" -a -z "$force" ] && return ! ! # make sure it doesn't core dump anywhere unless requested ! corelimit="ulimit -S -c ${DAEMON_COREFILE_LIMIT:-0}" # if they set NICELEVEL in /etc/sysconfig/foo, honor it ! [ -n "${NICELEVEL:-}" ] && nice="nice -n $NICELEVEL" # Echo daemon ! [ "${BOOTUP:-}" = "verbose" -a -z "${LSB:-}" ] && echo -n " $base" # And start it up. if [ -z "$user" ]; then ! $nice /bin/bash -c "$corelimit >/dev/null 2>&1 ; $*" else ! $nice runuser -s /bin/bash - $user -c "$corelimit >/dev/null 2>&1 ; $*" fi [ "$?" -eq 0 ] && success $"$base startup" || failure $"$base startup" *************** *** 155,173 **** # A function to stop a program. killproc() { ! RC=0 # Test syntax. if [ "$#" -eq 0 ]; then ! echo $"Usage: killproc {program} [signal]" return 1 fi - notset=0 # check for second arg to be kill level ! if [ -n "$2" ]; then ! killlevel=$2 ! else ! notset=1 ! killlevel="-9" ! fi # Save basename. --- 235,258 ---- # A function to stop a program. killproc() { ! local RC killlevel= base pid pid_file= delay ! ! RC=0; delay=3 # Test syntax. if [ "$#" -eq 0 ]; then ! echo $"Usage: killproc [-p pidfile] [ -d delay] {program} [-signal]" return 1 fi + if [ "$1" = "-p" ]; then + pid_file=$2 + shift 2 + fi + if [ "$1" = "-d" ]; then + delay=$2 + shift 2 + fi + # check for second arg to be kill level ! [ -n "${2:-}" ] && killlevel=$2 # Save basename. *************** *** 175,203 **** # Find pid. ! pid= ! if [ -f /var/run/${base}.pid ]; then ! local line p ! read line < /var/run/${base}.pid ! for p in $line ; do ! [ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid="$pid $p" ! done ! fi ! if [ -z "$pid" ]; then ! pid=`pidof -o $$ -o $PPID -o %PPID -x $1 || \ ! pidof -o $$ -o $PPID -o %PPID -x $base` fi # Kill it. ! if [ -n "${pid:-}" ] ; then ! [ "$BOOTUP" = "verbose" -a -z "$LSB" ] && echo -n "$base " ! if [ "$notset" -eq "1" ] ; then if checkpid $pid 2>&1; then # TERM first, then KILL if not dead ! kill -TERM $pid usleep 100000 if checkpid $pid && sleep 1 && ! checkpid $pid && sleep 3 && checkpid $pid ; then ! kill -KILL $pid usleep 100000 fi --- 260,280 ---- # Find pid. ! __pids_var_run "$1" "$pid_file" ! if [ -z "$pid_file" -a -z "$pid" ]; then ! pid="$(__pids_pidof "$1")" fi # Kill it. ! if [ -n "$pid" ] ; then ! [ "$BOOTUP" = "verbose" -a -z "${LSB:-}" ] && echo -n "$base " ! if [ -z "$killlevel" ] ; then if checkpid $pid 2>&1; then # TERM first, then KILL if not dead ! kill -TERM $pid >/dev/null 2>&1 usleep 100000 if checkpid $pid && sleep 1 && ! checkpid $pid && sleep $delay && checkpid $pid ; then ! kill -KILL $pid >/dev/null 2>&1 usleep 100000 fi *************** *** 210,226 **** else if checkpid $pid; then ! kill $killlevel $pid RC=$? [ "$RC" -eq 0 ] && success $"$base $killlevel" || failure $"$base $killlevel" fi fi else ! failure $"$base shutdown" ! RC=1 fi # Remove pid file if any. ! if [ "$notset" = "1" ]; then ! rm -f /var/run/$base.pid fi return $RC --- 287,309 ---- else if checkpid $pid; then ! kill $killlevel $pid >/dev/null 2>&1 RC=$? [ "$RC" -eq 0 ] && success $"$base $killlevel" || failure $"$base $killlevel" + elif [ -n "${LSB:-}" ]; then + RC=7 # Program is not running fi fi else ! if [ -n "${LSB:-}" -a -n "$killlevel" ]; then ! RC=7 # Program is not running ! else ! failure $"$base shutdown" ! RC=0 ! fi fi # Remove pid file if any. ! if [ -z "$killlevel" ]; then ! rm -f "${pid_file:-/var/run/$base.pid}" fi return $RC *************** *** 229,234 **** # A function to find the pid of a program. Looks *only* at the pidfile pidfileofproc() { ! local base=${1##*/} ! # Test syntax. if [ "$#" = 0 ] ; then --- 312,317 ---- # A function to find the pid of a program. Looks *only* at the pidfile pidfileofproc() { ! local pid ! # Test syntax. if [ "$#" = 0 ] ; then *************** *** 237,293 **** fi ! # First try "/var/run/*.pid" files ! if [ -f /var/run/$base.pid ] ; then ! local line p pid= ! read line < /var/run/$base.pid ! for p in $line ; do ! [ -z "${p//[0-9]/}" -a -d /proc/$p ] && pid="$pid $p" ! done ! if [ -n "$pid" ]; then ! echo $pid ! return 0 ! fi ! fi } # A function to find the pid of a program. pidofproc() { ! base=${1##*/} # Test syntax. if [ "$#" = 0 ]; then ! echo $"Usage: pidofproc {program}" return 1 fi # First try "/var/run/*.pid" files ! if [ -f /var/run/$base.pid ]; then ! local line p pid= ! read line < /var/run/$base.pid ! for p in $line ; do ! [ -z "${p//[0-9]/}" -a -d /proc/$p ] && pid="$pid $p" ! done ! if [ -n "$pid" ]; then ! echo $pid ! return 0 ! fi fi ! pidof -o $$ -o $PPID -o %PPID -x $1 || \ ! pidof -o $$ -o $PPID -o %PPID -x $base } status() { ! local base=${1##*/} ! local pid # Test syntax. if [ "$#" = 0 ] ; then ! echo $"Usage: status {program}" return 1 fi # First try "pidof" ! pid=`pidof -o $$ -o $PPID -o %PPID -x $1 || \ ! pidof -o $$ -o $PPID -o %PPID -x ${base}` if [ -n "$pid" ]; then echo $"${base} (pid $pid) is running..." --- 320,371 ---- fi ! __pids_var_run "$1" ! [ -n "$pid" ] && echo $pid ! return 0 } # A function to find the pid of a program. pidofproc() { ! local RC pid pid_file= # Test syntax. if [ "$#" = 0 ]; then ! echo $"Usage: pidofproc [-p pidfile] {program}" return 1 fi + if [ "$1" = "-p" ]; then + pid_file=$2 + shift 2 + fi + fail_code=3 # "Program is not running" # First try "/var/run/*.pid" files ! __pids_var_run "$1" "$pid_file" ! RC=$? ! if [ -n "$pid" ]; then ! echo $pid ! return 0 fi ! ! [ -n "$pid_file" ] && return $RC ! __pids_pidof "$1" || return $RC } status() { ! local base pid pid_file= # Test syntax. if [ "$#" = 0 ] ; then ! echo $"Usage: status [-p pidfile] {program}" return 1 fi + if [ "$1" = "-p" ]; then + pid_file=$2 + shift 2 + fi + base=${1##*/} # First try "pidof" ! pid="$(__pids_pidof "$1")" if [ -n "$pid" ]; then echo $"${base} (pid $pid) is running..." *************** *** 296,306 **** # Next try "/var/run/*.pid" files ! if [ -f /var/run/${base}.pid ] ; then ! read pid < /var/run/${base}.pid ! if [ -n "$pid" ]; then echo $"${base} dead but pid file exists" return 1 ! fi ! fi # See if /var/lock/subsys/${base} exists if [ -f /var/lock/subsys/${base} ]; then --- 374,388 ---- # Next try "/var/run/*.pid" files ! __pids_var_run "$1" "$pid_file" ! case "$?" in ! 0) ! echo $"${base} (pid $pid) is running..." ! return 0 ! ;; ! 1) echo $"${base} dead but pid file exists" return 1 ! ;; ! esac # See if /var/lock/subsys/${base} exists if [ -f /var/lock/subsys/${base} ]; then *************** *** 314,322 **** echo_success() { [ "$BOOTUP" = "color" ] && $MOVE_TO_COL ! echo -n "[ " [ "$BOOTUP" = "color" ] && $SETCOLOR_SUCCESS ! echo -n $"OK" [ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL ! echo -n " ]" echo -ne "\r" return 0 --- 396,404 ---- echo_success() { [ "$BOOTUP" = "color" ] && $MOVE_TO_COL ! echo -n "[" [ "$BOOTUP" = "color" ] && $SETCOLOR_SUCCESS ! echo -n $" OK " [ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL ! echo -n "]" echo -ne "\r" return 0 *************** *** 366,378 **** # Log that something succeeded success() { ! if [ -z "${IN_INITLOG:-}" ]; then ! initlog $INITLOG_ARGS -n $0 -s "$1" -e 1 ! else ! # silly hack to avoid EPIPE killing rc.sysinit ! trap "" SIGPIPE ! echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 1" >&21 ! trap - SIGPIPE ! fi ! [ "$BOOTUP" != "verbose" -a -z "$LSB" ] && echo_success return 0 } --- 448,455 ---- # Log that something succeeded success() { ! #if [ -z "${IN_INITLOG:-}" ]; then ! # initlog $INITLOG_ARGS -n $0 -s "$1" -e 1 ! #fi ! [ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_success return 0 } *************** *** 380,392 **** # Log that something failed failure() { ! rc=$? ! if [ -z "${IN_INITLOG:-}" ]; then ! initlog $INITLOG_ARGS -n $0 -s "$1" -e 2 ! else ! trap "" SIGPIPE ! echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 2" >&21 ! trap - SIGPIPE ! fi ! [ "$BOOTUP" != "verbose" -a -z "$LSB" ] && echo_failure [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes return $rc --- 457,465 ---- # Log that something failed failure() { ! local rc=$? ! #if [ -z "${IN_INITLOG:-}" ]; then ! # initlog $INITLOG_ARGS -n $0 -s "$1" -e 2 ! #fi ! [ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_failure [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes return $rc *************** *** 395,407 **** # Log that something passed, but may have had errors. Useful for fsck passed() { ! rc=$? ! if [ -z "${IN_INITLOG:-}" ]; then ! initlog $INITLOG_ARGS -n $0 -s "$1" -e 1 ! else ! trap "" SIGPIPE ! echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 1" >&21 ! trap - SIGPIPE ! fi ! [ "$BOOTUP" != "verbose" -a -z "$LSB" ] && echo_passed return $rc } --- 468,476 ---- # Log that something passed, but may have had errors. Useful for fsck passed() { ! local rc=$? ! #if [ -z "${IN_INITLOG:-}" ]; then ! # initlog $INITLOG_ARGS -n $0 -s "$1" -e 1 ! #fi ! [ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_passed return $rc } *************** *** 409,421 **** # Log a warning warning() { ! rc=$? ! if [ -z "${IN_INITLOG:-}" ]; then ! initlog $INITLOG_ARGS -n $0 -s "$1" -e 1 ! else ! trap "" SIGPIPE ! echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 1" >&21 ! trap - SIGPIPE ! fi ! [ "$BOOTUP" != "verbose" -a -z "$LSB" ] && echo_warning return $rc } --- 478,486 ---- # Log a warning warning() { ! local rc=$? ! #if [ -z "${IN_INITLOG:-}" ]; then ! # initlog $INITLOG_ARGS -n $0 -s "$1" -e 1 ! #fi ! [ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_warning return $rc } *************** *** 423,432 **** # Run some action. Log its output. action() { STRING=$1 echo -n "$STRING " shift ! initlog $INITLOG_ARGS -c "$*" && success $"$STRING" || failure $"$STRING" rc=$? echo return $rc } --- 488,511 ---- # Run some action. Log its output. action() { + local STRING rc + STRING=$1 echo -n "$STRING " + if [ "${RHGB_STARTED:-}" != "" -a -w /etc/rhgb/temp/rhgb-console ]; then + echo -n "$STRING " > /etc/rhgb/temp/rhgb-console + fi shift ! "$@" && success $"$STRING" || failure $"$STRING" rc=$? echo + if [ "${RHGB_STARTED:-}" != "" -a -w /etc/rhgb/temp/rhgb-console ]; then + if [ "$rc" = "0" ]; then + echo_success > /etc/rhgb/temp/rhgb-console + else + echo_failure > /etc/rhgb/temp/rhgb-console + [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes + fi + echo > /etc/rhgb/temp/rhgb-console + fi return $rc } *************** *** 456,459 **** --- 535,585 ---- } + # resolve a device node to its major:minor numbers in decimal or hex + get_numeric_dev() { + ( + fmt="%d:%d" + if [ "$1" == "hex" ]; then + fmt="%x:%x" + fi + ls -lH "$2" | awk '{ sub(/,/, "", $5); printf("'"$fmt"'", $5, $6); }' + ) 2>/dev/null + } + + # find the working name for a running dm device with the same table as one + # that dmraid would create + resolve_dm_name() { + ( + name="$1" + + line=$(/sbin/dmraid -ay -t --ignorelocking | \ + egrep -iv "no block devices found|No RAID disks" | \ + awk -F ':' "{ if (\$1 ~ /^$name$/) { print \$2; }}") + for x in $line ; do + if [[ "$x" =~ "^/dev/" ]] ; then + majmin=$(get_numeric_dev dec $x) + line=$(echo "$line" | sed -e "s,$x\( \|$\),$majmin\1,g") + fi + done + line=$(echo "$line" | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//' \ + -e 's/ core [12] [[:digit:]]\+ / core [12] [[:digit:]]\\+ /') + /sbin/dmsetup table | \ + sed -n -e "s/.*\(no block devices found\|No devices found\).*//" \ + -e "s/\(^[^:]\+\): $line\( \+$\|$\)/\1/p" + ) 2>/dev/null + } + + # Check whether file $1 is a backup or rpm-generated file and should be ignored + is_ignored_file() { + case "$1" in + *~ | *.bak | *.orig | *.rpmnew | *.rpmorig | *.rpmsave) + return 0 + ;; + esac + return 1 + } + # A sed expression to filter out the files that is_ignored_file recognizes + __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d' + # Default our nice value to zero renice 0 $$ > /dev/null + Index: services =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/init.d/services,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** services 30 Jul 2009 09:06:23 -0000 1.29 --- services 16 Oct 2012 05:27:25 -0000 1.30 *************** *** 13,17 **** portmap updcname - hylafax-config lpd nicwatch --- 13,16 ---- *************** *** 24,43 **** syslog timetrig - upswatch - watchdog ntpd nscd httpd-ceps network - random sendmail nfs atd crond netfs - rawdevices - fixkconst sosver - fixlilo nfslock cepsconfig --- 23,37 ---- syslog timetrig ntpd nscd httpd-ceps network sendmail nfs atd crond + hylafax-config netfs sosver nfslock cepsconfig *************** *** 57,60 **** --- 51,56 ---- netbios-rpc smb + snort + snortd " *************** *** 70,74 **** updstatic updcname - fixkconst cepsconfig xinetd --- 66,69 ---- *************** *** 82,86 **** # /etc/rc.d/init.d/<services> stop SERVICES_STOP=" - inetd " --- 77,80 ---- *************** *** 102,106 **** # chkconfig --del <service> SERVICES_DELETED=" - inetd kdcrotate httpd --- 96,99 ---- Index: snort.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/init.d/snort.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** snort.sh 25 Nov 2003 02:40:15 -0000 1.2 --- snort.sh 16 Oct 2012 05:27:25 -0000 1.3 *************** *** 1,42 **** ! #! /bin/sh ! # ! # Init file for snort intrustion detector # ! # chkconfig: 23 01 90 ! # description: snort - a network intrustion detector # ! # processname: snort # - # rc file author: Damian Ivereigh <da...@ci...> # Source function library. . /etc/rc.d/init.d/functions ! test -x /usr/bin/snort || exit 0 # See how we were called. case "$1" in start) ! echo -n "Starting intrusion detector: " ! daemon /usr/bin/snort -N -D -c /etc/snort/snort.conf ! echo ! touch /var/lock/subsys/snort ! ;; stop) ! echo -n "Stopping intrusion detector: " ! killproc snort ! echo ! rm -f /var/lock/subsys/snort ! ;; status) ! status snort ! ;; ! restart|reload) ! $0 stop ! $0 start ! ;; *) ! echo "Usage: snort {start|stop|status|restart|reload}" ! exit 1 esac --- 1,198 ---- ! #!/bin/sh ! # $Id$ # ! # snortd Start/Stop the snort IDS daemon. # ! # chkconfig: 2345 40 60 ! # description: snort is a lightweight network intrusion detection tool that \ ! # currently detects more than 1100 host and network \ ! # vulnerabilities, portscans, backdoors, and more. # # Source function library. . /etc/rc.d/init.d/functions ! # Source the local configuration file ! . /etc/sysconfig/snort ! ! # Convert the /etc/sysconfig/snort settings to something snort can ! # use on the startup line. ! if [ "$ALERTMODE"X = "X" ]; then ! ALERTMODE="" ! else ! ALERTMODE="-A $ALERTMODE" ! fi ! ! if [ "$USER"X = "X" ]; then ! USER="snort" ! fi ! ! if [ "$GROUP"X = "X" ]; then ! GROUP="snort" ! fi ! ! if [ "$BINARY_LOG"X = "1X" ]; then ! BINARY_LOG="-b" ! else ! BINARY_LOG="" ! fi ! ! if [ "$CONF"X = "X" ]; then ! CONF="-c /etc/snort/snort.conf" ! else ! CONF="-c $CONF" ! fi ! ! if [ "$INTERFACE"X = "X" ]; then ! INTERFACE="-i eth0" ! else ! INTERFACE="-i $INTERFACE" ! fi ! ! if [ "$DUMP_APP"X = "1X" ]; then ! DUMP_APP="-d" ! else ! DUMP_APP="" ! fi ! ! if [ "$NO_PACKET_LOG"X = "1X" ]; then ! NO_PACKET_LOG="-N" ! else ! NO_PACKET_LOG="" ! fi ! ! if [ "$PRINT_INTERFACE"X = "1X" ]; then ! PRINT_INTERFACE="-I" ! else ! PRINT_INTERFACE="" ! fi ! ! if [ "$PASS_FIRST"X = "1X" ]; then ! PASS_FIRST="-o" ! else ! PASS_FIRST="" ! fi ! ! if [ "$LOGDIR"X = "X" ]; then ! LOGDIR=/var/log/snort ! fi ! ! # These are used by the 'stats' option ! if [ "$SYSLOG"X = "X" ]; then ! SYSLOG=/var/log/messages ! fi ! ! if [ "$SECS"X = "X" ]; then ! SECS=5 ! fi ! ! if [ ! "$BPFFILE"X = "X" ]; then ! BPFFILE="-F $BPFFILE" ! fi ! ! ###################################### ! # Now to the real heart of the matter: # See how we were called. case "$1" in start) ! echo -n "Starting snort: " ! cd $LOGDIR ! if [ "$INTERFACE" = "-i ALL" ]; then ! for i in `cat /proc/net/dev|grep eth|awk -F ":" '{ print $1; }'` ! do ! mkdir -p "$LOGDIR/$i" ! chown -R $USER:$GROUP $LOGDIR ! daemon /usr/sbin/snort $ALERTMODE $BINARY_LOG $NO_PACKET_LOG $DUMP_APP -D $PRINT_INTERFACE -i $i -u $USER -g $GROUP $CONF -l $LOGDIR/$i $PASS_FIRST $BPFFILE $BPF ! done ! else ! # check if more than one interface is given ! if [ `echo $INTERFACE|wc -w` -gt 2 ]; then ! for i in `echo $INTERFACE | sed s/"-i "//` ! do ! mkdir -p "$LOGDIR/$i" ! chown -R $USER:$GROUP $LOGDIR ! daemon /usr/sbin/snort $ALERTMODE $BINARY_LOG $NO_PACKET_LOG $DUMP_APP -D $PRINT_INTERFACE -i $i -u $USER -g $GROUP $CONF -l $LOGDIR/$i $PASS_FIRST $BPFFILE $BPF ! done ! else ! # Run with a single interface (default) ! daemon /usr/sbin/snort $ALERTMODE $BINARY_LOG $NO_PACKET_LOG $DUMP_APP -D $PRINT_INTERFACE $INTERFACE -u $USER -g $GROUP $CONF -l $LOGDIR $PASS_FIRST $BPFFILE $BPF ! fi ! fi ! touch /var/lock/subsys/snort ! echo ! ;; stop) ! echo -n "Stopping snort: " ! killproc snort ! rm -f /var/lock/subsys/snort ! echo ! ;; ! reload) ! echo "Sorry, not implemented yet" ! ;; ! restart) ! $0 stop ! $0 start ! ;; ! condrestart) ! [ -e /var/lock/subsys/snort ] && $0 restart ! ;; status) ! status snort ! ;; ! stats) ! TC=125 # Trailing context to grep ! SNORTNAME='snort' # Process name to look for ! ! if [ ! -x "/sbin/pidof" ]; then ! echo "/sbin/pidof not present, sorry, I cannot go on like this!" ! exit 1 ! fi ! ! #Grab Snort's PID ! PID=`pidof -o $$ -o $PPID -o %PPID -x ${SNORTNAME}` ! ! if [ ! -n "$PID" ]; then # if we got no PID then: ! echo "No PID found: ${SNORTNAME} must not running." ! exit 2 ! fi ! ! echo "" ! echo "*******" ! echo "WARNING: This feature is EXPERIMENTAL - please report errors!" ! echo "*******" ! echo "" ! echo "You can also run: $0 stats [long | opt]" ! echo "" ! echo "Dumping ${SNORTNAME}'s ($PID) statistics" ! echo "please wait..." ! ! # Get the date and tell Snort to dump stats as close together in ! # time as possible--not 100%, but it seems to work. ! startdate=`date '+%b %e %H:%M:%S'` ! ! # This causes the stats to be dumped to syslog ! kill -USR1 $PID ! ! # Sleep for $SECS secs to give syslog a chance to catch up ! # May need to be adjusted for slow/busy systems ! sleep $SECS ! ! if [ "$2" = "long" ]; then # Long format ! egrep -B 3 -A $TC "^$startdate .* snort.*: ={79}" $SYSLOG | \ ! grep snort.*: ! elif [ "$2" = "opt" ]; then # OPTimize format ! # Just show stuff useful for optimizing Snort ! egrep -B 3 -A $TC "^$startdate .* snort.*: ={79}" $SYSLOG | \ ! egrep "snort.*: Snort analyzed |snort.*: dropping|emory .aults:" ! else # Default format ! egrep -B 3 -A $TC "^$startdate .* snort.*: ={79}" $SYSLOG | \ ! grep snort.*: | cut -d: -f4- ! fi ! ;; *) ! echo "Usage: $0 {start|stop|reload|restart|condrestart|status|stats (long|opt)}" ! exit 2 esac Index: sshd.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/init.d/sshd.sh,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** sshd.sh 24 Nov 2003 02:40:32 -0000 1.9 --- sshd.sh 16 Oct 2012 05:27:25 -0000 1.10 *************** *** 30,33 **** --- 30,35 ---- PID_FILE=/var/run/sshd.pid + runlevel=$(set -- $(runlevel); eval "echo \$$#" ) + do_rsa1_keygen() { if [ ! -s $RSA1_KEY ]; then *************** *** 36,39 **** --- 38,44 ---- chmod 600 $RSA1_KEY chmod 644 $RSA1_KEY.pub + if [ -x /sbin/restorecon ]; then + /sbin/restorecon $RSA1_KEY.pub + fi success $"RSA1 key generation" echo *************** *** 52,55 **** --- 57,63 ---- chmod 600 $RSA_KEY chmod 644 $RSA_KEY.pub + if [ -x /sbin/restorecon ]; then + /sbin/restorecon $RSA_KEY.pub + fi success $"RSA key generation" echo *************** *** 68,71 **** --- 76,82 ---- chmod 600 $DSA_KEY chmod 644 $DSA_KEY.pub + if [ -x /sbin/restorecon ]; then + /sbin/restorecon $DSA_KEY.pub + fi success $"DSA key generation" echo *************** *** 94,100 **** do_rsa_keygen do_dsa_keygen ! echo -n $"Starting $prog:" ! nice -n "${NICELEVEL:-0}" initlog -c "$SSHD $OPTIONS" && success || failure RETVAL=$? [ "$RETVAL" = 0 ] && touch /var/lock/subsys/sshd --- 105,113 ---- do_rsa_keygen do_dsa_keygen + + cp -af /etc/localtime /var/empty/sshd/etc ! echo -n $"Starting $prog: " ! nice -n "${NICELEVEL:-0}" $SSHD $OPTIONS && success || failure RETVAL=$? [ "$RETVAL" = 0 ] && touch /var/lock/subsys/sshd *************** *** 104,110 **** stop() { ! echo -n $"Stopping $prog:" ! killproc $SSHD -TERM RETVAL=$? [ "$RETVAL" = 0 ] && rm -f /var/lock/subsys/sshd echo --- 117,132 ---- stop() { ! echo -n $"Stopping $prog: " ! if [ -n "`pidfileofproc $SSHD`" ] ; then ! killproc $SSHD ! else ! failure $"Stopping $prog" ! fi RETVAL=$? + # if we are in halt or reboot runlevel kill all running sessions + # so the TCP connections are closed cleanly + if [ "x$runlevel" = x0 -o "x$runlevel" = x6 ] ; then + killall $prog 2>/dev/null + fi [ "$RETVAL" = 0 ] && rm -f /var/lock/subsys/sshd echo *************** *** 113,118 **** reload() { ! echo -n $"Reloading $prog:" ! killproc $SSHD -HUP RETVAL=$? echo --- 135,144 ---- reload() { ! echo -n $"Reloading $prog: " ! if [ -n "`pidfileofproc $SSHD`" ] ; then ! killproc $SSHD -HUP ! else ! failure $"Reloading $prog" ! fi RETVAL=$? echo *************** *** 145,149 **** ;; status) ! status $SSHD RETVAL=$? ;; --- 171,175 ---- ;; status) ! status -p $PID_FILE openssh-daemon RETVAL=$? ;; Index: upswatch.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/init.d/upswatch.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** upswatch.sh 30 Jul 2009 09:06:23 -0000 1.6 --- upswatch.sh 16 Oct 2012 05:27:25 -0000 1.7 *************** *** 7,11 **** # # processname: upswatch ! SCRIPT="/usr/ceps/bin/upswatch" # Source function library. --- 7,11 ---- # # processname: upswatch ! exit 0 SCRIPT="/usr/ceps/bin/upswatch" # Source function library. Index: watchdog.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/init.d/watchdog.sh,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** watchdog.sh 29 Jun 2005 01:09:10 -0000 1.12 --- watchdog.sh 16 Oct 2012 05:27:25 -0000 1.13 *************** *** 1,88 **** ! #!/bin/bash ! # ! # Init file for Software Watchdog daemon. ! # ! # Written by Dag Wieers <da...@wi...>. # ! # chkconfig: 2345 98 01 ! # description: Software Watchdog Daemon # ! # processname: watchdog ! # config: /etc/watchdog.conf ! # pidfile: /var/run/watchdog ! ! source /etc/rc.d/init.d/functions ! [ -x /usr/sbin/watchdog ] || exit 1 ! [ -r /etc/watchdog.conf ] || exit 1 ! ### Default variables ! SYSCONFIG="/etc/sysconfig/watchdog" ! OPTIONS="-v" ! ### Read configuration ! [ -r "$SYSCONFIG" ] && source "$SYSCONFIG" RETVAL=0 ! prog="watchdog" ! desc="Software Watchdog daemon" start() { - echo -n $"Starting $desc ($prog): " - - ### For some people it is a module, for others not. We force it because - ### for kernels < 2.1, we need kerneld, and it's not running yet. - modprobe softdog &>/dev/null - modprobe pcwd &>/dev/null - modprobe acquirewdt &>/dev/null ! daemon $prog $OPTIONS RETVAL=$? echo - [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog return $RETVAL } stop() { ! echo -n $"Shutting down $desc ($prog): " ! killproc $prog ! ! ### If you compiled your kernel with CONFIG_WATCHDOG_NOWAYOUT, you may ! ### not want to remove the module as sometimes /etc/rc.d/init.d/halt ! ### will hang on umounting some remote nfs partition or for some other ! ### reason, and you may then want the kernel to reboot by itself. ! ### However, this means that if you stop watchdog, your system has one ! ### minute to reboot cleanly, or it will be rebooted by the kernel. If ! ### this behavior isn't what you want, just uncomment the following ! ### lines ! #rmmod softdog &>/dev/null ! #rmmod pcwd &>/dev/null ! #rmmod acquirewdt &>/dev/null ! RETVAL=$? echo ! [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog return $RETVAL } restart() { ! stop ! start ! } case "$1" in start) ! start ;; stop) ! stop ;; ! restart|reload) ! restart ;; condrestart) ! [ -e /var/lock/subsys/$prog ] && restart ! RETVAL=$? ! ;; status) status $prog --- 1,80 ---- ! #! /bin/sh # ! # chkconfig: - 2345 98 02 ! # description: A software watchdog # ! # rc file author: Marc Merlin <mar...@me...> ! # Henning P. Schmiedehausen <hp...@ta...> ! # Source function library. ! . /etc/rc.d/init.d/functions ! [ -x /usr/sbin/watchdog -a -e /etc/watchdog.conf ] || exit 0 ! VERBOSE="no" ! if [ -f /etc/sysconfig/watchdog ]; then ! . /etc/sysconfig/watchdog ! fi RETVAL=0 ! prog=watchdog ! pidfile=/var/run/watchdog.pid ! lockfile=/var/lock/subsys/watchdog start() { ! echo -n $"Starting $prog: " ! if [ -n "$(pidofproc $prog)" ]; then ! echo -n $"$prog: already running" ! echo_failure ! echo ! return 1 ! fi ! if [ "$VERBOSE" = "yes" ]; then ! daemon /usr/sbin/${prog} -v ! else ! daemon /usr/sbin/${prog} ! fi RETVAL=$? + [ $RETVAL -eq 0 ] && touch $lockfile + [ $RETVAL -eq 0 ] && echo_success + [ $RETVAL -ne 0 ] && echo_failure echo return $RETVAL } stop() { ! echo -n "Stopping $prog: " ! # We are forcing it to _only_ use -TERM as killproc could use ! # -KILL which would result in BMC timer not being set properly ! # and reboot the box. ! killproc $prog -TERM RETVAL=$? echo ! [ $RETVAL -eq 0 ] && rm -f $lockfile $pidfile return $RETVAL } restart() { ! stop ! sleep 6 ! start ! } case "$1" in start) ! start ;; stop) ! stop ;; ! reload|restart) ! restart ;; condrestart) ! if [ -f $lockfile ]; then ! restart ! fi ! ;; status) status $prog *************** *** 90,97 **** ;; *) ! echo $"Usage: $0 {start|stop|restart|condrestart|status}" ! RETVAL=1 ! ;; esac - - exit $RETVAL --- 82,86 ---- ;; *) ! echo $"Usage: $0 {start|stop|restart|status|condrestart}" ! exit 1 esac |
From: <cv...@ci...> - 2012-10-16 05:27:42
|
Update of /usr/local/cvsroot/ceps-sysfiles/rc.d In directory sseethap-lnx02:/tmp/cvs-serv25590/rc.d Modified Files: rc.sysinit.sh Log Message: Index: rc.sysinit.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/rc.d/rc.sysinit.sh,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** rc.sysinit.sh 22 Jul 2004 06:04:32 -0000 1.51 --- rc.sysinit.sh 16 Oct 2012 05:27:26 -0000 1.52 *************** *** 10,13 **** --- 10,16 ---- # + # Kill the dam nash-hotplug process chocking the cpu :) + killall -9 nash-hotplug + # Rerun ourselves through initlog if [ -z "$IN_INITLOG" -a -x /sbin/initlog ]; then *************** *** 15,18 **** --- 18,25 ---- fi + echo "############################################" + echo "## CEPS Customized rc.sysinit ##" + echo "############################################" + DEBUG=false INTDEBUG=false *************** *** 34,37 **** --- 41,46 ---- #[ -c /dev/watchdog ] && echo > /dev/watchdog + echo "Bring up the interface - eth0" + ifconfig eth0 up . /etc/init.d/functions *************** *** 60,64 **** { set +x; debugfunc mount_proc ! mount -n -t proc none /proc } --- 69,74 ---- { set +x; debugfunc mount_proc ! mount -n -t proc /proc /proc ! mount -n -t sysfs /sys /sys >/dev/null 2>&1 } *************** *** 140,144 **** echo Creating Ramdisk.. ! mkfs -text2 $RAMDEV 4096 echo Mounting Ramdisk.. --- 150,154 ---- echo Creating Ramdisk.. ! mkfs -text3 $RAMDEV 4096 echo Mounting Ramdisk.. *************** *** 161,164 **** --- 171,183 ---- # Merely extract the current settings for use in this script . /sbin/gethdinfo + #RAW_HDDEV=`sfdisk --list | grep -m 1 Disk | awk '{ print $2 }' | awk -F: '{ print $1 }'` + #REC_HDDEV=${RAW_HDDEV}1 + #MAIN_HDDEV=${RAW_HDDEV}4 + #SWAP_HDDEV=${RAW_HDDEV}2 + #USR_HDDEV= + #VAR_HDDEV= + #REC_FSTYPE=ext3 + #MAIN_FSTYPE=ext3 + } *************** *** 333,337 **** sleep 5 ! reboot -f elif [ "$rc" = "1" -a -x /sbin/quotacheck ]; then echo "Checking root filesystem quotas" --- 352,356 ---- sleep 5 ! # reboot -f elif [ "$rc" = "1" -a -x /sbin/quotacheck ]; then echo "Checking root filesystem quotas" *************** *** 346,353 **** if ${MAIN_ROOT} then ! if [ -x /sbin/quotaon ]; then ! echo "Turning on user and group quotas for root filesystem" ! /sbin/quotaon / ! fi # Remount the root filesystem read-write. --- 365,372 ---- if ${MAIN_ROOT} then ! #if [ -x /sbin/quotaon ]; then ! # echo "Turning on user and group quotas for root filesystem" ! # /sbin/quotaon / ! #fi # Remount the root filesystem read-write. *************** *** 385,388 **** --- 404,410 ---- done } + + # Create boot255 to avoid the cepslilo error + mknod /dev/boot255 b 0 255 > /etc/fstab *************** *** 393,397 **** # This file is generated by /etc/rc.d/rc.sysinit on bootup # Note the duplicate entries for ${REC_HDDEV} ! ${REC_HDDEV} / ${REC_FSTYPE} defaults 1 1 ${REC_HDDEV} /recover ${REC_FSTYPE} noauto 0 0 ${MAIN_HDDEV} /main ${MAIN_FSTYPE} noauto 0 0 --- 415,419 ---- # This file is generated by /etc/rc.d/rc.sysinit on bootup # Note the duplicate entries for ${REC_HDDEV} ! ${REC_HDDEV} / ${REC_FSTYPE} defaults,usrquota 1 1 ${REC_HDDEV} /recover ${REC_FSTYPE} noauto 0 0 ${MAIN_HDDEV} /main ${MAIN_FSTYPE} noauto 0 0 *************** *** 415,419 **** # This file is generated by /etc/rc.d/rc.sysinit on bootup ${REC_HDDEV} /recover ${REC_FSTYPE} ro 1 2 ! ${MAIN_HDDEV} / ${MAIN_FSTYPE} defaults 1 1 ${SWAP_HDDEV} swap ${SWAP_FSTYPE} defaults 0 0 !! --- 437,441 ---- # This file is generated by /etc/rc.d/rc.sysinit on bootup ${REC_HDDEV} /recover ${REC_FSTYPE} ro 1 2 ! ${MAIN_HDDEV} / ${MAIN_FSTYPE} defaults,usrquota 1 1 ${SWAP_HDDEV} swap ${SWAP_FSTYPE} defaults 0 0 !! *************** *** 433,437 **** cat >> /etc/fstab << !! /dev/fd0 /mnt/floppy ext2 noauto 0 0 ! none /proc proc defaults 0 0 !! } --- 455,461 ---- cat >> /etc/fstab << !! /dev/fd0 /mnt/floppy ext2 noauto 0 0 ! proc /proc proc defaults 0 0 ! devpts /dev/pts devpts gid=5,mode=620 0 0 ! sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 !! } *************** *** 500,506 **** fi ! if [ -x /sbin/kerneld -a -n "$USEMODULES" ]; then ! /sbin/kerneld ! fi } --- 524,530 ---- fi ! #if [ -x /sbin/kerneld -a -n "$USEMODULES" ]; then ! # /sbin/kerneld ! #fi } *************** *** 511,514 **** --- 535,540 ---- if [ ! -f /fastboot -a "$MAIN_ROOT" = true ]; then echo "Checking filesystems." + echo "MAIN_FSTYPE = $MAIN_FSTYPE" + echo "REC_FSTYPE = $REC_FSTYPE" fsck -R -A -V -a *************** *** 560,563 **** --- 586,599 ---- } + disable_selinux() { + echo $"*** Making selinux permissive." + echo "0" > /selinux/enforce + + echo $"*** Disable selinux, when the system reboots next" + sed -e 's/^SELINUX=enforcing/SELINUX=disabled/' \ + -e 's/^SELINUX=permissive/SELINUX=disabled/' < /etc/sysconfig/selinux >/etc/sysconfig/selinux-mod + mv /etc/sysconfig/selinux-mod /etc/sysconfig/selinux + } + fix_tmp2() { *************** *** 600,604 **** --- 636,643 ---- # Delete X locks rm -f /tmp/.X*-lock + } + registerServices() + { # Set the system clock. ARC=0 *************** *** 653,661 **** #swapon -a 2>&1 | grep -v "busy" # Initialize the serial ports. ! if [ -f /etc/rc.d/rc.serial ]; then ! . /etc/rc.d/rc.serial fi # Load modules (for backward compatibility with VARs) if [ -f /etc/rc.d/rc.modules ]; then --- 692,724 ---- #swapon -a 2>&1 | grep -v "busy" + # Initialize hardware + if [ -f /proc/sys/kernel/modprobe ]; then + if ! strstr "$cmdline" nomodules && [ -f /proc/modules ] ; then + sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1 + else + # We used to set this to NULL, but that causes 'failed to exec' messages" + sysctl -w kernel.modprobe="/bin/true" >/dev/null 2>&1 + fi + fi + + + # Set up binfmt_misc + /bin/mount -t binfmt_misc none /proc/sys/fs/binfmt_misc > /dev/null 2>&1 + # Initialize the serial ports. ! if [ -f /etc/rc.serial ]; then ! . /etc/rc.serial ! fi ! ! # If they asked for ide-scsi, load it ! if strstr "$cmdline" ide-scsi ; then ! modprobe ide-cd >/dev/null 2>&1 ! modprobe ide-scsi >/dev/null 2>&1 fi + # Start the udev to create required devices under /dev + /sbin/start_udev + ifconfig eth0 + # Load modules (for backward compatibility with VARs) if [ -f /etc/rc.d/rc.modules ]; then *************** *** 681,688 **** # Now that we have all of our basic modules loaded and the kernel going, # let's dump the syslog ring somewhere so we can find it later ! dmesg > /var/log/dmesg # Feed entropy into the entropy pool ! /etc/rc.d/init.d/random start # Update our ld config (only when not running over NFS) --- 744,752 ---- # Now that we have all of our basic modules loaded and the kernel going, # let's dump the syslog ring somewhere so we can find it later ! #dmesg > /var/log/dmesg ! dmesg -s 131072 > /var/log/dmesg # Feed entropy into the entropy pool ! #/etc/rc.d/init.d/random start # Update our ld config (only when not running over NFS) *************** *** 819,822 **** --- 883,890 ---- get_consoleinfo + if [ -x /sbin/setsysfont -a -c /dev/tty1 ]; then + /sbin/setsysfont < /dev/tty1 > /dev/tty1 2>/dev/null + fi + start_ramdisk *************** *** 834,837 **** --- 902,907 ---- fi + registerServices + $MAIN_ROOT && check_rootfs $MAIN_ROOT && mount_rootfs *************** *** 850,853 **** --- 920,925 ---- $MAIN_ROOT && dumpbootinfo + disable_selinux + set_hostname *************** *** 862,868 **** fix_console ! make_inittab send_email set_lasttimer --- 934,941 ---- fix_console ! #make_inittab send_email set_lasttimer + echo "End of rc.sysinit !!!" |
From: <cv...@ci...> - 2012-10-16 05:27:41
|
Update of /usr/local/cvsroot/ceps-sysfiles/snmp In directory sseethap-lnx02:/tmp/cvs-serv25590/snmp Modified Files: snmp.conf snmpd.conf Log Message: Index: snmp.conf =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/snmp/snmp.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** snmp.conf 7 May 2001 01:48:56 -0000 1.1 --- snmp.conf 16 Oct 2012 05:27:26 -0000 1.2 *************** *** 1 **** --- 1,2 ---- + defVersion 1 mibdirs +/usr/local/share/snmp/mibs Index: snmpd.conf =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/snmp/snmpd.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** snmpd.conf 30 Mar 2000 07:46:09 -0000 1.1 --- snmpd.conf 16 Oct 2012 05:27:26 -0000 1.2 *************** *** 38,44 **** # First, map the community name "public" into a "security name" ! # sec.name source community ! com2sec local localhost public ! com2sec notConfigUser default public #### --- 38,45 ---- # First, map the community name "public" into a "security name" ! # sec.name source community ! com2sec local localhost public ! com2sec notConfigUser default public ! #### *************** *** 51,61 **** group localGroup v2c local #### # Third, create a view for us to let the group have rights to: # name incl/excl subtree mask(optional) ! view systemview included system ! view systemview included .1.3.6.1.4.enterprises.ucdavis ! view local included .1 #### --- 52,64 ---- group localGroup v2c local + #### # Third, create a view for us to let the group have rights to: + # Make at least snmpwalk -v 1 localhost -c public system fast again. # name incl/excl subtree mask(optional) ! view systemview included .1.3.6.1.2.1.1 ! view systemview included .1.3.6.1.2.1.25.1.1 ! view local included .1 #### *************** *** 64,70 **** # group context sec.model sec.level prefix read write notif access notConfigGroup "" any noauth exact systemview none none - #access notConfigGroup "" any noauth exact ucdavis none none access localGroup "" any noauth exact local none none - # ----------------------------------------------------------------------------- --- 67,71 ---- *************** *** 99,102 **** --- 100,162 ---- #access MyRWGroup "" any noauth 0 all all all + + ############################################################################### + # Sample configuration to make net-snmpd RFC 1213. + # Unfortunately v1 and v2c don't allow any user based authentification, so + # opening up the default config is not an option from a security point. + # + # WARNING: If you uncomment the following lines you allow write access to your + # snmpd daemon from any source! To avoid this use different names for your + # community or split out the write access to a different community and + # restrict it to your local network. + # Also remember to comment the syslocation and syscontact parameters later as + # otherwise they are still read only (see FAQ for net-snmp). + # + + # First, map the community name "public" into a "security name" + # sec.name source community + #com2sec notConfigUser default public + + # Second, map the security name into a group name: + # groupName securityModel securityName + #group notConfigGroup v1 notConfigUser + #group notConfigGroup v2c notConfigUser + + # Third, create a view for us to let the group have rights to: + # Open up the whole tree for ro, make the RFC 1213 required ones rw. + # name incl/excl subtree mask(optional) + #view roview included .1 + #view rwview included system.sysContact + #view rwview included system.sysName + #view rwview included system.sysLocation + #view rwview included interfaces.ifTable.ifEntry.ifAdminStatus + #view rwview included at.atTable.atEntry.atPhysAddress + #view rwview included at.atTable.atEntry.atNetAddress + #view rwview included ip.ipForwarding + #view rwview included ip.ipDefaultTTL + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteDest + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteIfIndex + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric1 + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric2 + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric3 + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric4 + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteType + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteAge + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMask + #view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric5 + #view rwview included ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaIfIndex + #view rwview included ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress + #view rwview included ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaNetAddress + #view rwview included ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaType + #view rwview included tcp.tcpConnTable.tcpConnEntry.tcpConnState + #view rwview included egp.egpNeighTable.egpNeighEntry.egpNeighEventTrigger + #view rwview included snmp.snmpEnableAuthenTraps + + # Finally, grant the group read-only access to the systemview view. + # group context sec.model sec.level prefix read write notif + #access notConfigGroup "" any noauth exact roview rwview none + + + ############################################################################### # System contact information *************** *** 110,114 **** # Example output of snmpwalk: ! # % snmpwalk -v 1 localhost public system # system.sysDescr.0 = "SunOS name sun4c" # system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.sunos4 --- 170,174 ---- # Example output of snmpwalk: ! # % snmpwalk -v 1 localhost -c public system # system.sysDescr.0 = "SunOS name sun4c" # system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.sunos4 *************** *** 151,155 **** # A snmpwalk of the process mib tree would look something like this: # ! # % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.2 # enterprises.ucdavis.procTable.prEntry.prIndex.1 = 1 # enterprises.ucdavis.procTable.prEntry.prIndex.2 = 2 --- 211,215 ---- # A snmpwalk of the process mib tree would look something like this: # ! # % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.2 # enterprises.ucdavis.procTable.prEntry.prIndex.1 = 1 # enterprises.ucdavis.procTable.prEntry.prIndex.2 = 2 *************** *** 222,226 **** # Then, ! # % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.8 # enterprises.ucdavis.extTable.extEntry.extIndex.1 = 1 # enterprises.ucdavis.extTable.extEntry.extIndex.2 = 2 --- 282,286 ---- # Then, ! # % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.8 # enterprises.ucdavis.extTable.extEntry.extIndex.1 = 1 # enterprises.ucdavis.extTable.extEntry.extIndex.2 = 2 *************** *** 259,263 **** #disk / 10000 ! # % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.9 # enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0 # enterprises.ucdavis.diskTable.dskEntry.diskPath.1 = "/" Hex: 2F --- 319,323 ---- #disk / 10000 ! # % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.9 # enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0 # enterprises.ucdavis.diskTable.dskEntry.diskPath.1 = "/" Hex: 2F *************** *** 288,292 **** #load 12 14 14 ! # % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.10 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1 = 1 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.2 = 2 --- 348,352 ---- #load 12 14 14 ! # % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.10 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1 = 1 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.2 = 2 *************** *** 331,335 **** # exec .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest ! # % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.50 # enterprises.ucdavis.50.1.1 = 1 # enterprises.ucdavis.50.2.1 = "shelltest" --- 391,395 ---- # exec .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest ! # % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.50 # enterprises.ucdavis.50.1.1 = 1 # enterprises.ucdavis.50.2.1 = "shelltest" *************** *** 374,378 **** # pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/local/local/passtest ! # % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.255 # enterprises.ucdavis.255.1 = "life the universe and everything" # enterprises.ucdavis.255.2.1 = 42 --- 434,438 ---- # pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/local/local/passtest ! # % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.255 # enterprises.ucdavis.255.1 = "life the universe and everything" # enterprises.ucdavis.255.2.1 = 42 *************** *** 393,396 **** --- 453,459 ---- # as well as the local/passtest script used in the above example. + # Added for support of bcm5820 cards. + pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat + ############################################################################### # Further Information |
From: <cv...@ci...> - 2012-10-16 05:27:41
|
Update of /usr/local/cvsroot/ceps-sysfiles In directory sseethap-lnx02:/tmp/cvs-serv25590 Modified Files: Makefile.am VERSION ceps-sysfiles.spec.in cepslilo.sh configure.in gethdinfo.sh ld.so.conf rsyncd.conf services syslog.conf Log Message: Index: Makefile.am =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/Makefile.am,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Makefile.am 4 Jul 2005 02:48:36 -0000 1.11 --- Makefile.am 16 Oct 2012 05:27:25 -0000 1.12 *************** *** 13,17 **** SUBDIRS = init.d rc.d cisco cron logrotate inittab.d root \ sysconfig profile.d stdhome snmp junkbuster ssh snort \ ! exports.d mail ntp hylafax httpd # SUBDIRS ==> floppy init.d rc.d cisco httpd fax cron logrotate inittab.d root \ # sysconfig profile.d stdhome snmp junkbuster ssh snort --- 13,17 ---- SUBDIRS = init.d rc.d cisco cron logrotate inittab.d root \ sysconfig profile.d stdhome snmp junkbuster ssh snort \ ! exports.d mail ntp hylafax httpd selinux # SUBDIRS ==> floppy init.d rc.d cisco httpd fax cron logrotate inittab.d root \ # sysconfig profile.d stdhome snmp junkbuster ssh snort Index: VERSION =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/VERSION,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** VERSION 24 Aug 1999 06:48:53 -0000 1.5 --- VERSION 16 Oct 2012 05:27:25 -0000 1.6 *************** *** 1 **** ! ceps-sysfiles-1.2.2 --- 1 ---- ! ceps-sysfiles-1.3.40 Index: ceps-sysfiles.spec.in =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/ceps-sysfiles.spec.in,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ceps-sysfiles.spec.in 3 Mar 2009 07:32:08 -0000 1.16 --- ceps-sysfiles.spec.in 16 Oct 2012 05:27:25 -0000 1.17 *************** *** 31,39 **** Version: %{_ver} Release: %{_rel} ! Copyright: GPL Group: Applications/CEPS URL: http://ceps.sourceforge.net/ Source: %{_pkgver}.tar.gz ! Packager: Damian Ivereigh <da...@ci...> Requires: sddb-clients BuildRoot: %{_buildtmp}/%{_pkg}-%{_ver}-%{_rel}/ --- 31,40 ---- Version: %{_ver} Release: %{_rel} ! License: GPL Group: Applications/CEPS URL: http://ceps.sourceforge.net/ Source: %{_pkgver}.tar.gz ! Packager: Saravana Kumar, C <sa...@ci...> ! Vendor: Hewlett-Packard Development Co. Requires: sddb-clients BuildRoot: %{_buildtmp}/%{_pkg}-%{_ver}-%{_rel}/ *************** *** 120,123 **** --- 121,159 ---- etc/watchdog.conf \ root/.bash_profile \ + etc/selinux/config \ + etc/selinux/restorecond.conf \ + etc/selinux/semanage.conf \ + etc/selinux/targeted/modules/active/homedir_template \ + etc/selinux/targeted/modules/active/modules/ricci.pp \ + etc/selinux/targeted/modules/active/modules/ipsec.pp \ + etc/selinux/targeted/modules/active/modules/amavis.pp \ + etc/selinux/targeted/modules/active/modules/virt.pp \ + etc/selinux/targeted/modules/active/modules/ccs.pp \ + etc/selinux/targeted/modules/active/modules/razor.pp \ + etc/selinux/targeted/modules/active/modules/dcc.pp \ + etc/selinux/targeted/modules/active/modules/iscsid.pp \ + etc/selinux/targeted/modules/active/modules/evolution.pp \ + etc/selinux/targeted/modules/active/modules/pcscd.pp \ + etc/selinux/targeted/modules/active/modules/prelude.pp \ + etc/selinux/targeted/modules/active/modules/mplayer.pp \ + etc/selinux/targeted/modules/active/modules/mozilla.pp \ + etc/selinux/targeted/modules/active/modules/oddjob.pp \ + etc/selinux/targeted/modules/active/modules/pyzor.pp \ + etc/selinux/targeted/modules/active/modules/zosremote.pp \ + etc/selinux/targeted/modules/active/modules/clamav.pp \ + etc/selinux/targeted/modules/active/modules/pki.pp \ + etc/selinux/targeted/modules/active/modules/nagios.pp \ + etc/selinux/targeted/modules/active/modules/smartmon.pp \ + etc/selinux/targeted/modules/active/modules/dnsmasq.pp \ + etc/selinux/targeted/modules/active/file_contexts.template \ + etc/selinux/targeted/modules/active/seusers.final \ + etc/selinux/targeted/modules/active/policy.kern \ + etc/selinux/targeted/modules/active/users_extra \ + etc/selinux/targeted/modules/active/file_contexts \ + etc/selinux/targeted/modules/active/commit_num \ + etc/selinux/targeted/modules/active/base.pp \ + etc/selinux/targeted/modules/active/netfilter_contexts \ + etc/selinux/targeted/modules/active/base.linked \ + etc/selinux/targeted/contexts/netfilter_contexts \ " *************** *** 125,129 **** rm -f $OVERLAYLIST ! mkdir -p etc/{cron.watch,cron.other,exports.d,inittab.d,junkbuster} \ root/.ssh \ ramdisk \ --- 161,168 ---- rm -f $OVERLAYLIST ! mkdir -p etc/{cron.watch,cron.other,exports.d,inittab.d,junkbuster,selinux} \ ! etc/selinux/targeted/{contexts,modules} \ ! etc/selinux/targeted/modules/active \ ! etc/selinux/targeted/modules/active/modules \ root/.ssh \ ramdisk \ *************** *** 146,149 **** --- 185,189 ---- ln -snf /var/local/tftpboot tftpboot + ln -sf ../selinux/config etc/sysconfig/selinux ln -snf . var/local/tftpboot/tftpboot ln -snf ceps var/spool/ciscolp *************** *** 280,283 **** --- 320,358 ---- /overlay/etc/watchdog.conf /overlay/root/.bash_profile + /overlay/etc/selinux/config + /overlay/etc/selinux/restorecond.conf + /overlay/etc/selinux/semanage.conf + /overlay/etc/selinux/targeted/modules/active/homedir_template + /overlay/etc/selinux/targeted/modules/active/modules/ricci.pp + /overlay/etc/selinux/targeted/modules/active/modules/ipsec.pp + /overlay/etc/selinux/targeted/modules/active/modules/amavis.pp + /overlay/etc/selinux/targeted/modules/active/modules/virt.pp + /overlay/etc/selinux/targeted/modules/active/modules/ccs.pp + /overlay/etc/selinux/targeted/modules/active/modules/razor.pp + /overlay/etc/selinux/targeted/modules/active/modules/dcc.pp + /overlay/etc/selinux/targeted/modules/active/modules/iscsid.pp + /overlay/etc/selinux/targeted/modules/active/modules/evolution.pp + /overlay/etc/selinux/targeted/modules/active/modules/pcscd.pp + /overlay/etc/selinux/targeted/modules/active/modules/prelude.pp + /overlay/etc/selinux/targeted/modules/active/modules/mplayer.pp + /overlay/etc/selinux/targeted/modules/active/modules/mozilla.pp + /overlay/etc/selinux/targeted/modules/active/modules/oddjob.pp + /overlay/etc/selinux/targeted/modules/active/modules/pyzor.pp + /overlay/etc/selinux/targeted/modules/active/modules/zosremote.pp + /overlay/etc/selinux/targeted/modules/active/modules/clamav.pp + /overlay/etc/selinux/targeted/modules/active/modules/pki.pp + /overlay/etc/selinux/targeted/modules/active/modules/nagios.pp + /overlay/etc/selinux/targeted/modules/active/modules/smartmon.pp + /overlay/etc/selinux/targeted/modules/active/modules/dnsmasq.pp + /overlay/etc/selinux/targeted/modules/active/file_contexts.template + /overlay/etc/selinux/targeted/modules/active/seusers.final + /overlay/etc/selinux/targeted/modules/active/policy.kern + /overlay/etc/selinux/targeted/modules/active/users_extra + /overlay/etc/selinux/targeted/modules/active/file_contexts + /overlay/etc/selinux/targeted/modules/active/commit_num + /overlay/etc/selinux/targeted/modules/active/base.pp + /overlay/etc/selinux/targeted/modules/active/netfilter_contexts + /overlay/etc/selinux/targeted/modules/active/base.linked + /overlay/etc/selinux/targeted/contexts/netfilter_contexts ########################################################################## Index: cepslilo.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/cepslilo.sh,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** cepslilo.sh 7 Apr 2005 02:11:36 -0000 1.29 --- cepslilo.sh 16 Oct 2012 05:27:25 -0000 1.30 *************** *** 446,449 **** --- 446,458 ---- # $Log$ + # Revision 1.30 2012/10/16 05:27:25 jabasa + # *** empty log message *** + # + # Revision 1.29.8.2 2009/09/02 14:30:54 saravanc + # Modifed to generic approach to use initrd.img + # + # Revision 1.29.8.1 2009/08/23 10:11:25 saravanc + # Modifed to handle the main mode and rec/nfs mode differently + # # Revision 1.29 2005/04/07 02:11:36 damo # Fixed cepslilo to no longer use the extended vga mode - it upsets rilo Index: configure.in =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/configure.in,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** configure.in 27 Oct 2009 10:01:42 -0000 1.35 --- configure.in 16 Oct 2012 05:27:25 -0000 1.36 *************** *** 3,7 **** AC_REVISION($Revision$)dnl ! AC_INIT(ceps-sysfiles,1.3.27) dnl Initialize the automake stuff --- 3,7 ---- AC_REVISION($Revision$)dnl ! AC_INIT(ceps-sysfiles,1.3.40) dnl Initialize the automake stuff *************** *** 10,14 **** dnl package variables PACKAGE=ceps-sysfiles ! VERSION=1.3.27 AC_SUBST(VERSION) --- 10,14 ---- dnl package variables PACKAGE=ceps-sysfiles ! VERSION=1.3.40 AC_SUBST(VERSION) *************** *** 172,175 **** --- 172,176 ---- mail/Makefile ntp/Makefile + selinux/Makefile hylafax/Makefile httpd/Makefile Index: gethdinfo.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/gethdinfo.sh,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** gethdinfo.sh 25 Apr 2007 11:19:31 -0000 1.14 --- gethdinfo.sh 16 Oct 2012 05:27:25 -0000 1.15 *************** *** 28,33 **** fi #### Added for VMWare server - Suresh Krishna, 23 Aprl 2007 ##### ! if [ -z "$HD_PREFIX" -a -f /proc/scsi/mptscsih/0 ] then # We are using a VMWare server with MPT Fusion SCSI Drives --- 28,40 ---- fi + if [ -z "$HD_PREFIX" -a -f /proc/scsi/scsi ] + then + # We are using a HP DL320 G3 with SATA Drives - RHEL5.3 + HD_PREFIX=/dev/sda + RAW_HDDEV=$HD_PREFIX + fi + #### Added for VMWare server - Suresh Krishna, 23 Aprl 2007 ##### ! if [ -z "$HD_PREFIX" -a -f /proc/scsi/mptspi/0 ] then # We are using a VMWare server with MPT Fusion SCSI Drives *************** *** 47,51 **** if [ -z "$HD_PREFIX" ] then ! HD_PREFIX=/dev/hda RAW_HDDEV=$HD_PREFIX fi --- 54,59 ---- if [ -z "$HD_PREFIX" ] then ! HD_PREFIX=`/sbin/sfdisk -l | grep -m 1 Disk | awk '{ print $2 }' | awk -F: '{ print $1 }'` ! #HD_PREFIX=/dev/hda RAW_HDDEV=$HD_PREFIX fi *************** *** 57,61 **** REC_HDDEV=${HD_PREFIX}1 ! REC_FSTYPE=ext2 if [ "$part3id" = 82 -a "$part2id" = 83 ] then --- 65,69 ---- REC_HDDEV=${HD_PREFIX}1 ! REC_FSTYPE=ext3 if [ "$part3id" = 82 -a "$part2id" = 83 ] then *************** *** 86,89 **** --- 94,113 ---- # $Log$ + # Revision 1.15 2012/10/16 05:27:25 jabasa + # *** empty log message *** + # + # Revision 1.14.8.4 2009/09/08 14:06:35 saravanc + # The SATA Drivers are differntly loaded in the RHEL5.3. Hence added the + # condition to detect the disk type + # + # Revision 1.14.8.3 2009/09/07 15:54:09 saravanc + # The default handler modified to get the dynamic value using the sfdisk + # + # Revision 1.14.8.2 2009/08/27 06:58:20 saravanc + # changed the VMWare SCSI disk checking from mptscsih to mptspi for RHEL5.3 + # + # Revision 1.14.8.1 2009/08/24 11:21:53 saravanc + # changed the fstype from ext2 to ext3 for REC Mode + # # Revision 1.14 2007/04/25 11:19:31 morgopal # Made changes for VMWare server support. This changes helps to detect LSI Index: ld.so.conf =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/ld.so.conf,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ld.so.conf 7 Oct 2003 06:52:14 -0000 1.5 --- ld.so.conf 16 Oct 2012 05:27:25 -0000 1.6 *************** *** 1,6 **** # Do not edit this file on a local system # The master file is held under CVS:ceps-sysfiles ! /usr/kerberos/lib ! /usr/X11R6/lib /usr/local/lib - /opt/lib --- 1,5 ---- # Do not edit this file on a local system # The master file is held under CVS:ceps-sysfiles ! /lib ! /usr/lib /usr/local/lib Index: rsyncd.conf =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/rsyncd.conf,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** rsyncd.conf 26 Jun 2008 15:45:34 -0000 1.29 --- rsyncd.conf 16 Oct 2012 05:27:25 -0000 1.30 *************** *** 90,91 **** --- 90,124 ---- comment = Sddb data + # New for CEPS Direct Print Client Drivers + [11] + path = /usr/ceps/drivers/1.1 + comment = Version 1.1 path + + [12] + path = /usr/ceps/drivers/1.2 + comment = Version 1.2 path + + [Checksum] + path = /usr/ceps/drivers/ + comment = Checksum file + include = \ + + Checksum* \ + - * + [Version] + path = /usr/ceps/drivers/ + comment = Version xml and txt file + include = \ + + Version* \ + - * + + [W32X86] + path = /usr/ceps/drivers/W32X86 + comment = Vendor printer drivers for CEPS DPC for 32-bit environment + + [x64] + path = /usr/ceps/drivers/x64 + comment = Vendor printer drivers for CEPS DPC for 64-bit environment + + [Webdrv] + path = /usr/ceps/web/html/printerdrivers + comment = CEPS-Web Driver repository of Printer drivers for Direct Print Client Index: services =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/services,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** services 14 Aug 2003 04:00:55 -0000 1.6 --- services 16 Oct 2012 05:27:25 -0000 1.7 *************** *** 2,16 **** # The master file is held under CVS:ceps-sysfiles # ! # services This file describes the various services that are ! # available from the TCP/IP subsystem. It should be ! # consulted instead of using the numbers in the ARPA ! # include files, or, worse, just guessing them. # ! # Version: @(#)/etc/services 2.00 04/30/93 # ! # Author: Fred N. van Kempen, <wa...@uw...> # ! tcpmux 1/tcp # rfc-1078 echo 7/tcp echo 7/udp --- 2,16 ---- # The master file is held under CVS:ceps-sysfiles # ! # services This file describes the various services that are ! # available from the TCP/IP subsystem. It should be ! # consulted instead of using the numbers in the ARPA ! # include files, or, worse, just guessing them. # ! # Version: @(#)/etc/services 2.00 04/30/93 # ! # Author: Fred N. van Kempen, <wa...@uw...> # ! tcpmux 1/tcp # TCP port service multiplexer echo 7/tcp echo 7/udp *************** *** 20,24 **** daytime 13/tcp daytime 13/udp ! netstat 15/tcp qotd 17/tcp quote chargen 19/tcp ttytst source --- 20,24 ---- daytime 13/tcp daytime 13/udp ! netstat 15/tcp qotd 17/tcp quote chargen 19/tcp ttytst source *************** *** 26,30 **** ftp-data 20/tcp ftp 21/tcp ! ssh 22/tcp telnet 23/tcp smtp 25/tcp mail --- 26,30 ---- ftp-data 20/tcp ftp 21/tcp ! ssh 22/tcp # SSH Remote Login Protocol telnet 23/tcp smtp 25/tcp mail *************** *** 32,139 **** time 37/udp timserver rlp 39/udp resource # resource location ! name 42/udp nameserver ! whois 43/tcp nicname # usually to sri-nic ! domain 53/tcp domain 53/udp mtp 57/tcp # deprecated ! bootps 67/udp # bootp server ! bootpc 68/udp # bootp client tftp 69/udp ! gopher 70/tcp # gopher server ! rje 77/tcp finger 79/tcp ! http 80/tcp # www is used by some broken ! www 80/tcp # progs, http is more correct ! link 87/tcp ttylink ! kerberos 88/udp kdc # Kerberos authentication--udp ! kerberos 88/tcp kdc # Kerberos authentication--tcp ! supdup 95/tcp # BSD supdupd(8) ! hostnames 101/tcp hostname # usually to sri-nic ! iso-tsap 102/tcp ! x400 103/tcp # ISO Mail ! x400-snd 104/tcp ! csnet-ns 105/tcp ! pop-2 109/tcp # PostOffice V.2 ! pop-3 110/tcp # PostOffice V.3 ! pop 110/tcp # PostOffice V.3 ! sunrpc 111/tcp ! sunrpc 111/tcp portmapper # RPC 4.0 portmapper UDP ! sunrpc 111/udp ! sunrpc 111/udp portmapper # RPC 4.0 portmapper TCP ! auth 113/tcp ident # User Verification sftp 115/tcp uucp-path 117/tcp ! nntp 119/tcp usenet # Network News Transfer ! ntp 123/tcp # Network Time Protocol ntp 123/udp # Network Time Protocol ! netbios-rpc 135/tcp msrpc # Microsoft RPC system ! netbios-ns 137/tcp nbns ! netbios-ns 137/udp nbns ! netbios-dgm 138/tcp nbdgm ! netbios-dgm 138/udp nbdgm ! netbios-ssn 139/tcp nbssn ! imap 143/tcp # imap network mail protocol ! NeWS 144/tcp news # Window System ! snmp 161/udp ! snmp-trap 162/udp snpp 444/tcp # Simple Network Paging Protocol ! exec 512/tcp # BSD rexecd(8) ! biff 512/udp comsat ! login 513/tcp # BSD rlogind(8) ! who 513/udp whod # BSD rwhod(8) ! shell 514/tcp cmd # BSD rshd(8) ! syslog 514/udp # BSD syslogd(8) ! printer 515/tcp spooler # BSD lpd(8) ! talk 517/udp # BSD talkd(8) ! ntalk 518/udp # SunOS talkd(8) efs 520/tcp # for LucasFilm ! route 520/udp router routed # 521/udp too ! timed 525/udp timeserver tempo 526/tcp newdate ! courier 530/tcp rpc # experimental conference 531/tcp chat netnews 532/tcp readnews netwall 533/udp # -for emergency broadcasts ! uucp 540/tcp uucpd # BSD uucpd(8) UUCP service ! klogin 543/tcp # Kerberos authenticated rlogin ! kshell 544/tcp cmd # and remote shell ! new-rwho 550/udp new-who # experimental remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem ! rmonitor 560/udp rmonitord # experimental ! monitor 561/udp # experimental ! pcserver 600/tcp # ECD Integrated PC board srvr ! mount 635/udp # NFS Mount Service ! pcnfs 640/udp # PC-NFS DOS Authentication ! bwnfs 650/udp # BW-NFS DOS Authentication ! kerberos-adm 749/tcp # Kerberos 5 admin/changepw ! kerberos-adm 749/udp # Kerberos 5 admin/changepw ! kerberos-sec 750/udp # Kerberos authentication--udp ! kerberos-sec 750/tcp # Kerberos authentication--tcp ! kerberos_master 751/udp # Kerberos authentication ! kerberos_master 751/tcp # Kerberos authentication ! krb5_prop 754/tcp # Kerberos slave propagation ! rsync 873/tcp # rsync daemon ! listen 1025/tcp listener RFS remote_file_sharing ! nterm 1026/tcp remote_login network_terminal ! sddbtcp 1027/tcp # Pradmin ! dhcp 1028/udp # DHCP (temporary) ! cepsprint 1029/tcp # CEPS Printing service (tcp) ! cepsprint 1029/udp # CEPS Printing service (dgram) ! kpop 1109/tcp # Pop with Kerberos ingreslock 1524/tcp tnet 1600/tcp # transputer net daemon ! cfinger 2003/tcp # GNU finger ! nfs 2049/udp # NFS File Service ! eklogin 2105/tcp # Kerberos encrypted rlogin ! krb524 4444/tcp # Kerberos 5 to 4 ticket xlator ! hylafax 4559/tcp # HylaFAX client-server protocol ! irc 6667/tcp # Internet Relay Chat ! dos 7000/tcp msdos # Appletalk Services ! rtmp 1/ddp # Routing Table Maintenance Protocol ! nbp 2/ddp # Name Binding Protocol ! echo 4/ddp # AppleTalk Echo Protocol ! zip 6/ddp # Zone Information Protocol # End of services. --- 32,139 ---- time 37/udp timserver rlp 39/udp resource # resource location ! nameserver 42/udp name # IEN 116 ! nicname 43/tcp whois ! domain 53/tcp # name-domain server domain 53/udp mtp 57/tcp # deprecated ! bootps 67/udp ! bootpc 68/udp dhcpc tftp 69/udp ! gopher 70/tcp # Internet Gopher ! rje 77/tcp finger 79/tcp ! http 80/tcp www www-http # WorldWideWeb HTTP ! www 80/tcp ! link 87/tcp ttylink ! kerberos 88/tcp kerberos5 krb5 # Kerberos v5 ! kerberos 88/udp kerberos5 krb5 # Kerberos v5 ! supdup 95/tcp ! hostname 101/tcp hostnames # usually from sri-nic ! iso-tsap 102/tcp tsap # part of ISODE. ! x400 103/tcp # ISO Mail ! x400-snd 104/tcp ! csnet-ns 105/tcp cso # also used by CSO name server ! pop2 109/tcp pop-2 postoffice # POP version 2 ! pop3 110/tcp pop-3 # POP version 3 ! pop 110/tcp # PostOffice V.3 ! sunrpc 111/tcp ! sunrpc 111/tcp portmapper # RPC 4.0 portmapper TCP ! sunrpc 111/udp ! sunrpc 111/udp portmapper # RPC 4.0 portmapper UDP ! auth 113/tcp authentication tap ident sftp 115/tcp uucp-path 117/tcp ! nntp 119/tcp readnews untp # USENET News Transfer Protocol ! ntp 123/tcp ntp 123/udp # Network Time Protocol ! netbios-rpc 135/tcp msrpc # Microsoft RPC system ! netbios-ns 137/tcp # NETBIOS Name Service ! netbios-ns 137/udp ! netbios-dgm 138/tcp # NETBIOS Datagram Service ! netbios-dgm 138/udp ! netbios-ssn 139/tcp # NETBIOS session service ! imap 143/tcp imap2 # Interim Mail Access Proto v2 ! NeWS 144/tcp news # Window System ! snmp 161/udp # Simple Net Mgmt Proto ! snmptrap 162/udp snmp-trap # Traps for SNMP snpp 444/tcp # Simple Network Paging Protocol ! exec 512/tcp # BSD rexecd(8) ! biff 512/udp comsat ! login 513/tcp # BSD rlogind(8) ! who 513/udp whod # BSD rwhod(8) ! shell 514/tcp cmd # BSD rshd(8) ! syslog 514/udp # BSD syslogd(8) ! printer 515/tcp spooler # BSD lpd(8) ! talk 517/udp # BSD talkd(8) ! ntalk 518/udp # SunOS talkd(8) efs 520/tcp # for LucasFilm ! route 520/udp router routed # 521/udp too ! timed 525/udp timeserver tempo 526/tcp newdate ! courier 530/tcp rpc # experimental conference 531/tcp chat netnews 532/tcp readnews netwall 533/udp # -for emergency broadcasts ! uucp 540/tcp uucpd # BSD uucpd(8) UUCP service ! klogin 543/tcp # Kerberos authenticated rlogin ! kshell 544/tcp cmd # and remote shell ! new-rwho 550/udp new-who # experimental remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem ! rmonitor 560/udp rmonitord # experimental ! monitor 561/udp # experimental ! pcserver 600/tcp # ECD Integrated PC board srvr ! mount 635/udp # NFS Mount Service ! pcnfs 640/udp # PC-NFS DOS Authentication ! bwnfs 650/udp # BW-NFS DOS Authentication ! kerberos-adm 749/tcp # Kerberos `kadmin' (v5) ! kerberos-adm 749/udp # Kerberos 5 admin/changepw ! kerberos-iv 750/udp kerberos4 kerberos-sec kdc ! kerberos-iv 750/tcp kerberos4 kerberos-sec kdc ! kerberos_master 751/udp # Kerberos authentication ! kerberos_master 751/tcp # Kerberos authentication ! krb5_prop 754/tcp # Kerberos slave propagation ! rsync 873/tcp # rsync ! listen 1025/tcp listener RFS remote_file_sharing ! nterm 1026/tcp remote_login network_terminal ! sddbtcp 1027/tcp # Pradmin ! dhcp 1028/udp # DHCP (temporary) ! cepsprint 1029/tcp # CEPS Printing service (tcp) ! cepsprint 1029/udp # CEPS Printing service (dgram) ! kpop 1109/tcp # Pop with Kerberos ingreslock 1524/tcp tnet 1600/tcp # transputer net daemon ! cfinger 2003/tcp # GNU finger ! nfs 2049/udp # NFS File Service ! eklogin 2105/tcp # Kerberos encrypted rlogin ! krb524 4444/tcp # Kerberos 5 to 4 ticket xlator ! hylafax 4559/tcp # HylaFAX client-server protocol ! irc 6667/tcp # Internet Relay Chat ! dos 7000/tcp msdos # Appletalk Services ! rtmp 1/ddp # Routing Table Maintenance Protocol ! nbp 2/ddp # Name Binding Protocol ! echo 4/ddp # AppleTalk Echo Protocol ! zip 6/ddp # Zone Information Protocol # End of services. Index: syslog.conf =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/syslog.conf,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** syslog.conf 22 Sep 2009 10:24:39 -0000 1.12 --- syslog.conf 16 Oct 2012 05:27:25 -0000 1.13 *************** *** 5,9 **** # Log anything (except mail) of level info or higher. # Don't log private authentication messages! ! *.notice;mail.none;authpriv.none /var/log/messages # The authpriv file has restricted access. --- 5,9 ---- # Log anything (except mail) of level info or higher. # Don't log private authentication messages! ! *.notice;mail.none;authpriv.none /var/log/messages # The authpriv file has restricted access. *************** *** 21,37 **** # Save mail and news errors of level err and higher in a ! # special file. uucp,news.crit /var/log/spooler ! daemon.info /var/log/daemon ! # *.debug /var/log/debug ! #local0.* @pmx.cisco.com # Log snort alerts to the Infosec servers ! #local5.=info @dmz-syslog.esl.cisco.com ! #local5.=info @maelstrom.cisco.com ! #local5.=info @pmx.cisco.com # Save boot messages also to boot.log local7.* /var/log/boot.log --- 21,37 ---- # Save mail and news errors of level err and higher in a ! # special file. uucp,news.crit /var/log/spooler ! daemon.info /var/log/daemon ! # *.debug /var/log/debug ! #local0.* @pmx.cisco.com # Log snort alerts to the Infosec servers ! #local5.=info @dmz-syslog.esl.cisco.com ! #local5.=info @maelstrom.cisco.com ! #local5.=info @pmx.cisco.com # Save boot messages also to boot.log local7.* /var/log/boot.log |
From: <cv...@ci...> - 2012-10-16 05:27:39
|
Update of /usr/local/cvsroot/ceps-sysfiles/snort In directory sseethap-lnx02:/tmp/cvs-serv25590/snort Modified Files: snort.conf Log Message: Index: snort.conf =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/snort/snort.conf,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** snort.conf 28 Nov 2003 04:06:46 -0000 1.9 --- snort.conf 16 Oct 2012 05:27:26 -0000 1.10 *************** *** 1,4 **** #-------------------------------------------------- ! # http://www.snort.org Snort 2.0.0 Ruleset # Contact: sno...@li... #-------------------------------------------------- --- 1,4 ---- #-------------------------------------------------- ! # http://www.snort.org Snort 2.8.4 Ruleset # Contact: sno...@li... #-------------------------------------------------- *************** [...1227 lines suppressed...] - #include $RULE_PATH/cisco.rules include $RULE_PATH/msblaster.rules --- 864,880 ---- # include $RULE_PATH/multimedia.rules # include $RULE_PATH/p2p.rules + # include $RULE_PATH/spyware-put.rules + # include $RULE_PATH/specific-threats.rules #include $RULE_PATH/experimental.rules include $RULE_PATH/msblaster.rules + + # include $PREPROC_RULE_PATH/preprocessor.rules + # include $PREPROC_RULE_PATH/decoder.rules + + # Include any thresholding or suppression commands. See threshold.conf in the + # <snort src>/etc directory for details. Commands don't necessarily need to be + # contained in this conf, but a separate conf makes it easier to maintain them. + # Note for Windows users: You are advised to make this an absolute path, + # such as: c:\snort\etc\threshold.conf + # Uncomment if needed. + # include threshold.conf |
From: <cv...@ci...> - 2012-10-16 05:27:39
|
Update of /usr/local/cvsroot/ceps-sysfiles/mail In directory sseethap-lnx02:/tmp/cvs-serv25590/mail Modified Files: sendmail.mc Log Message: Index: sendmail.mc =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/mail/sendmail.mc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** sendmail.mc 28 Jun 2005 06:43:54 -0000 1.4 --- sendmail.mc 16 Oct 2012 05:27:25 -0000 1.5 *************** *** 9,15 **** dnl # include(`/usr/share/sendmail-cf/m4/cf.m4')dnl ! VERSIONID(`setup for Red Hat Linux')dnl OSTYPE(`linux')dnl dnl # dnl # default logging level is 9, you might want to set it higher to dnl # debug the configuration --- 9,19 ---- dnl # include(`/usr/share/sendmail-cf/m4/cf.m4')dnl ! VERSIONID(`setup for linux')dnl OSTYPE(`linux')dnl dnl # + dnl # Do not advertize sendmail version. + dnl # + dnl define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl + dnl # dnl # default logging level is 9, you might want to set it higher to dnl # debug the configuration *************** *** 20,31 **** dnl # be sent out through an external mail server: dnl # ! define(`SMART_HOST',`outbound.cisco.com') dnl # ! define(`confDEF_USER_ID',``8:12'')dnl dnl define(`confAUTO_REBUILD')dnl define(`confTO_CONNECT', `1m')dnl ! define(`confTRY_NULL_MX_LIST',true)dnl ! define(`confDONT_PROBE_INTERFACES',true)dnl ! define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl define(`ALIAS_FILE', `/etc/aliases')dnl define(`STATUS_FILE', `/var/log/mail/statistics')dnl --- 24,35 ---- dnl # be sent out through an external mail server: dnl # ! define(`SMART_HOST', `outbound.cisco.com') dnl # ! define(`confDEF_USER_ID', ``8:12'')dnl dnl define(`confAUTO_REBUILD')dnl define(`confTO_CONNECT', `1m')dnl ! define(`confTRY_NULL_MX_LIST', `True')dnl ! define(`confDONT_PROBE_INTERFACES', `True')dnl ! define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl define(`ALIAS_FILE', `/etc/aliases')dnl define(`STATUS_FILE', `/var/log/mail/statistics')dnl *************** *** 50,68 **** dnl # dnl # Rudimentary information on creating certificates for sendmail TLS: dnl # make -C /usr/share/ssl/certs usage - dnl # or use the included makecert.sh script dnl # ! define(`CERT_DIR',`/etc/mail/certs') ! define(`confCACERT_PATH',`CERT_DIR') ! define(`confCACERT',`CERT_DIR/cacert.pem') ! define(`confSERVER_CERT',`CERT_DIR/cert.pem') ! define(`confSERVER_KEY',`CERT_DIR/key.pem') ! define(`confCLIENT_CERT',`CERT_DIR/cert.pem') ! define(`confCLIENT_KEY',`CERT_DIR/key.pem') dnl # dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's dnl # slapd, which requires the file to be readble by group ldap dnl # ! dnl define(`confDONT_BLAME_SENDMAIL',`groupreadablekeyfile')dnl dnl # dnl define(`confTO_QUEUEWARN', `4h')dnl --- 54,70 ---- dnl # dnl # Rudimentary information on creating certificates for sendmail TLS: + dnl # cd /usr/share/ssl/certs; make sendmail.pem + dnl # Complete usage: dnl # make -C /usr/share/ssl/certs usage dnl # ! dnl define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl ! dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl ! dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl ! dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl dnl # dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's dnl # slapd, which requires the file to be readble by group ldap dnl # ! dnl define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl dnl # dnl define(`confTO_QUEUEWARN', `4h')dnl *************** *** 72,79 **** define(`confTO_IDENT', `0')dnl dnl FEATURE(delay_checks)dnl ! FEATURE(`no_default_msa',`dnl')dnl ! FEATURE(`smrsh',`/usr/sbin/smrsh')dnl ! FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl ! FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl FEATURE(redirect)dnl FEATURE(always_add_domain)dnl --- 74,81 ---- define(`confTO_IDENT', `0')dnl dnl FEATURE(delay_checks)dnl ! FEATURE(`no_default_msa', `dnl')dnl ! FEATURE(`smrsh', `/usr/sbin/smrsh')dnl ! FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl ! FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl FEATURE(redirect)dnl FEATURE(always_add_domain)dnl *************** *** 81,91 **** FEATURE(use_ct_file)dnl dnl # dnl # The -t option will retry delivery if e.g. the user runs over his quota. dnl # ! FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl ! FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl FEATURE(`blacklist_recipients')dnl EXPOSED_USER(`root')dnl dnl # dnl # The following causes sendmail to only listen on the IPv4 loopback address dnl # 127.0.0.1 and not on any other network devices. Remove the loopback --- 83,113 ---- FEATURE(use_ct_file)dnl dnl # + dnl # The following limits the number of processes sendmail can fork to accept + dnl # incoming messages or process its message queues to 20.) sendmail refuses + dnl # to accept connections once it has reached its quota of child processes. + dnl # + dnl define(`confMAX_DAEMON_CHILDREN', `20')dnl + dnl # + dnl # Limits the number of new connections per second. This caps the overhead + dnl # incurred due to forking new sendmail processes. May be useful against + dnl # DoS attacks or barrages of spam. (As mentioned below, a per-IP address + dnl # limit would be useful but is not available as an option at this writing.) + dnl # + dnl define(`confCONNECTION_RATE_THROTTLE', `3')dnl + dnl # dnl # The -t option will retry delivery if e.g. the user runs over his quota. dnl # ! FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl ! FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl FEATURE(`blacklist_recipients')dnl EXPOSED_USER(`root')dnl dnl # + dnl # For using Cyrus-IMAPd as POP3/IMAP server through LMTP delivery uncomment + dnl # the following 2 definitions and activate below in the MAILER section the + dnl # cyrusv2 mailer. + dnl # + dnl define(`confLOCAL_MAILER', `cyrusv2')dnl + dnl define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl + dnl # dnl # The following causes sendmail to only listen on the IPv4 loopback address dnl # 127.0.0.1 and not on any other network devices. Remove the loopback *************** *** 152,153 **** --- 174,176 ---- MAILER(smtp)dnl MAILER(procmail)dnl + dnl MAILER(cyrusv2)dnl |
From: <cv...@ci...> - 2012-10-16 05:27:38
|
Update of /usr/local/cvsroot/ceps-sysfiles/inittab.d In directory sseethap-lnx02:/tmp/cvs-serv25590/inittab.d Modified Files: 00std Log Message: Index: 00std =================================================================== RCS file: /usr/local/cvsroot/ceps-sysfiles/inittab.d/00std,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** 00std 26 Mar 2004 05:00:53 -0000 1.8 --- 00std 16 Oct 2012 05:27:25 -0000 1.9 *************** *** 30,34 **** # Trap CTRL-ALT-DELETE ! ca::ctrlaltdel:/sbin/ctrl-alt-del & # When our UPS tells us power has failed, assume we have a few minutes --- 30,34 ---- # Trap CTRL-ALT-DELETE ! ca::ctrlaltdel:/sbin/shutdown -t3 -r now # When our UPS tells us power has failed, assume we have a few minutes *************** *** 41,42 **** --- 41,52 ---- pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled" + # Run gettys in standard runlevels + 1:2345:respawn:/sbin/mingetty tty1 + 2:2345:respawn:/sbin/mingetty tty2 + 3:2345:respawn:/sbin/mingetty tty3 + 4:2345:respawn:/sbin/mingetty tty4 + 5:2345:respawn:/sbin/mingetty tty5 + 6:2345:respawn:/sbin/mingetty tty6 + + # Run xdm in runlevel 5 + x:5:respawn:/etc/X11/prefdm -nodaemon |
From: <cv...@ci...> - 2012-10-16 05:02:33
|
Update of /usr/local/cvsroot/sddb In directory sseethap-lnx02:/tmp/cvs-serv25419 Modified Files: configure.in sddb.spec.in Log Message: Index: configure.in =================================================================== RCS file: /usr/local/cvsroot/sddb/configure.in,v retrieving revision 2.33 retrieving revision 2.34 diff -C2 -d -r2.33 -r2.34 *** configure.in 16 Oct 2012 04:48:42 -0000 2.33 --- configure.in 16 Oct 2012 05:02:17 -0000 2.34 *************** *** 80,84 **** # # $Log$ ! # Revision 2.33 2012/10/16 04:48:42 jabasa # *** empty log message *** # --- 80,84 ---- # # $Log$ ! # Revision 2.34 2012/10/16 05:02:17 jabasa # *** empty log message *** # |
From: <cv...@ci...> - 2012-10-16 05:02:30
|
Update of /usr/local/cvsroot/sddb/sddbd In directory sseethap-lnx02:/tmp/cvs-serv25419/sddbd Modified Files: sddbd.c Log Message: Index: sddbd.c =================================================================== RCS file: /usr/local/cvsroot/sddb/sddbd/sddbd.c,v retrieving revision 2.75 retrieving revision 2.76 diff -C2 -d -r2.75 -r2.76 *** sddbd.c 16 Oct 2012 04:48:42 -0000 2.75 --- sddbd.c 16 Oct 2012 05:02:18 -0000 2.76 *************** *** 4258,4262 **** /* * $Log$ ! * Revision 2.75 2012/10/16 04:48:42 jabasa * *** empty log message *** * --- 4258,4262 ---- /* * $Log$ ! * Revision 2.76 2012/10/16 05:02:18 jabasa * *** empty log message *** * |
From: <cv...@ci...> - 2012-10-16 04:48:57
|
Update of /usr/local/cvsroot/sddb In directory sseethap-lnx02:/tmp/cvs-serv25289 Modified Files: configure.in sddb.spec.in Log Message: Index: configure.in =================================================================== RCS file: /usr/local/cvsroot/sddb/configure.in,v retrieving revision 2.32 retrieving revision 2.33 diff -C2 -d -r2.32 -r2.33 *** configure.in 30 Sep 2012 21:43:13 -0000 2.32 --- configure.in 16 Oct 2012 04:48:42 -0000 2.33 *************** *** 80,85 **** # # $Log$ ! # Revision 2.32 2012/09/30 21:43:13 rabasa ! # RHEL5U8_Migration # # Revision 2.30.2.2 2009/09/15 15:16:29 saravanc --- 80,85 ---- # # $Log$ ! # Revision 2.33 2012/10/16 04:48:42 jabasa ! # *** empty log message *** # # Revision 2.30.2.2 2009/09/15 15:16:29 saravanc |
From: <cv...@ci...> - 2012-10-16 04:48:55
|
Update of /usr/local/cvsroot/sddb/sddbd In directory sseethap-lnx02:/tmp/cvs-serv25289/sddbd Modified Files: sddbd.c Log Message: Index: sddbd.c =================================================================== RCS file: /usr/local/cvsroot/sddb/sddbd/sddbd.c,v retrieving revision 2.74 retrieving revision 2.75 diff -C2 -d -r2.74 -r2.75 *** sddbd.c 30 Sep 2012 21:43:13 -0000 2.74 --- sddbd.c 16 Oct 2012 04:48:42 -0000 2.75 *************** *** 4258,4263 **** /* * $Log$ ! * Revision 2.74 2012/09/30 21:43:13 rabasa ! * RHEL5U8_Migration * * Revision 2.72.2.2 2009/09/17 12:46:46 saravanc --- 4258,4263 ---- /* * $Log$ ! * Revision 2.75 2012/10/16 04:48:42 jabasa ! * *** empty log message *** * * Revision 2.72.2.2 2009/09/17 12:46:46 saravanc |
From: <cv...@ci...> - 2012-10-12 13:19:41
|
Update of /usr/local/cvsroot/scripts In directory sseethap-lnx02:/tmp/cvs-serv15299 Modified Files: Makefile.am ceps-scripts.spec.in configure.in Log Message: |
From: <cv...@ci...> - 2012-10-12 07:33:48
|
Update of /usr/local/cvsroot/lpr-secure In directory sseethap-lnx02:/tmp/cvs-serv9594 Modified Files: ceps-lpr-server.spec.in Log Message: |
From: <cv...@ci...> - 2012-10-12 07:33:43
|
Update of /usr/local/cvsroot/lpr-secure/lpr/common_source In directory sseethap-lnx02:/tmp/cvs-serv9594/lpr/common_source Modified Files: common.c lp.h startdaemon.c Log Message: |
From: <cv...@ci...> - 2012-10-12 07:28:23
|
Update of /usr/local/cvsroot/ceps-lib/perl In directory sseethap-lnx02:/tmp/cvs-serv9512/libceps/perl Modified Files: perl-CEPS.spec.in Log Message: |
From: <cv...@ci...> - 2012-10-12 07:28:18
|
Update of /usr/local/cvsroot/pradmin In directory sseethap-lnx02:/tmp/cvs-serv9512/pradmin Modified Files: configure.in device.c model.c pradmin.c pradmin.spec.in pradmin_probe.sh Log Message: Index: device.c =================================================================== RCS file: /usr/local/cvsroot/pradmin/device.c,v retrieving revision 2.61 retrieving revision 2.62 diff -C2 -d -r2.61 -r2.62 *** device.c 30 Sep 2012 20:30:53 -0000 2.61 --- device.c 12 Oct 2012 07:27:41 -0000 2.62 *************** *** 2893,2898 **** * * $Log$ ! * Revision 2.61 2012/09/30 20:30:53 rabasa ! * RHEL5U8_Migration * * Revision 2.58.2.9 2011/10/03 06:20:23 saravanc --- 2893,2898 ---- * * $Log$ ! * Revision 2.62 2012/10/12 07:27:41 jabasa ! * *** empty log message *** * * Revision 2.58.2.9 2011/10/03 06:20:23 saravanc Index: model.c =================================================================== RCS file: /usr/local/cvsroot/pradmin/model.c,v retrieving revision 2.19 retrieving revision 2.20 diff -C2 -d -r2.19 -r2.20 *** model.c 30 Sep 2012 20:30:53 -0000 2.19 --- model.c 12 Oct 2012 07:27:41 -0000 2.20 *************** *** 5,10 **** /* * $Log$ ! * Revision 2.19 2012/09/30 20:30:53 rabasa ! * RHEL5U8_Migration * * Revision 2.16.10.6 2010/09/16 17:10:31 saravanc --- 5,10 ---- /* * $Log$ ! * Revision 2.20 2012/10/12 07:27:41 jabasa ! * *** empty log message *** * * Revision 2.16.10.6 2010/09/16 17:10:31 saravanc Index: pradmin.c =================================================================== RCS file: /usr/local/cvsroot/pradmin/pradmin.c,v retrieving revision 2.63 retrieving revision 2.64 diff -C2 -d -r2.63 -r2.64 *** pradmin.c 30 Sep 2012 20:30:53 -0000 2.63 --- pradmin.c 12 Oct 2012 07:27:41 -0000 2.64 *************** *** 1474,1479 **** /* * $Log$ ! * Revision 2.63 2012/09/30 20:30:53 rabasa ! * RHEL5U8_Migration * * Revision 2.60.4.2 2011/03/09 08:02:12 saravanc --- 1474,1479 ---- /* * $Log$ ! * Revision 2.64 2012/10/12 07:27:41 jabasa ! * *** empty log message *** * * Revision 2.60.4.2 2011/03/09 08:02:12 saravanc Index: pradmin_probe.sh =================================================================== RCS file: /usr/local/cvsroot/pradmin/pradmin_probe.sh,v retrieving revision 2.28 retrieving revision 2.29 diff -C2 -d -r2.28 -r2.29 *** pradmin_probe.sh 30 Sep 2012 20:30:53 -0000 2.28 --- pradmin_probe.sh 12 Oct 2012 07:27:41 -0000 2.29 *************** *** 3,10 **** # RCS $Id$ # - # $Log$ - # Revision 2.28 2012/09/30 20:30:53 rabasa - # RHEL5U8_Migration - # # Revision 2.25.2.5 2011/09/22 19:02:50 saravanc # Updated the pradmin to support the new Xerox device models. --- 3,6 ---- |
From: <cv...@ci...> - 2012-10-12 07:28:11
|
Update of /usr/local/cvsroot/ceps-lib In directory sseethap-lnx02:/tmp/cvs-serv9512/libceps Modified Files: autogen.sh ceps-lib.spec.in configure.in Log Message: Index: autogen.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-lib/autogen.sh,v retrieving revision 2.7 retrieving revision 2.8 diff -C2 -d -r2.7 -r2.8 *** autogen.sh 12 Oct 2012 07:00:09 -0000 2.7 --- autogen.sh 12 Oct 2012 07:27:41 -0000 2.8 *************** *** 18,22 **** # $Log$ ! # Revision 2.7 2012/10/12 07:00:09 jabasa # *** empty log message *** # --- 18,22 ---- # $Log$ ! # Revision 2.8 2012/10/12 07:27:41 jabasa # *** empty log message *** # |
From: <cv...@ci...> - 2012-10-12 07:00:26
|
Update of /usr/local/cvsroot/ceps-lib In directory sseethap-lnx02:/tmp/cvs-serv9313 Modified Files: autogen.sh ceps-lib.spec.in configure.in Log Message: Index: autogen.sh =================================================================== RCS file: /usr/local/cvsroot/ceps-lib/autogen.sh,v retrieving revision 2.6 retrieving revision 2.7 diff -C2 -d -r2.6 -r2.7 *** autogen.sh 12 Oct 2012 06:05:58 -0000 2.6 --- autogen.sh 12 Oct 2012 07:00:09 -0000 2.7 *************** *** 18,23 **** # $Log$ ! # Revision 2.6 2012/10/12 06:05:58 jabasa ! # . # # Revision 2.3.4.2 2009/07/16 10:20:03 saravanc --- 18,23 ---- # $Log$ ! # Revision 2.7 2012/10/12 07:00:09 jabasa ! # *** empty log message *** # # Revision 2.3.4.2 2009/07/16 10:20:03 saravanc Index: configure.in =================================================================== RCS file: /usr/local/cvsroot/ceps-lib/configure.in,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** configure.in 12 Oct 2012 06:05:58 -0000 1.30 --- configure.in 12 Oct 2012 07:00:09 -0000 1.31 *************** *** 1,5 **** dnl Process this file with autoconf to produce a configure script. AC_REVISION($Revision$)dnl - AC_REVISION($Revision$)dnl AC_INIT(cepslib.c) --- 1,4 ---- |
From: <cv...@ci...> - 2012-10-12 07:00:23
|
Update of /usr/local/cvsroot/ceps-lib/perl In directory sseethap-lnx02:/tmp/cvs-serv9313/perl Modified Files: perl-CEPS.spec.in Log Message: |
From: <cv...@ci...> - 2012-10-12 06:27:55
|
Update of /usr/local/cvsroot/httpd/lib/perl/CEPS In directory sseethap-lnx02:/tmp/cvs-serv9089/lib/perl/CEPS Modified Files: perl-CEPS-CGI.spec.in Log Message: . |