[26222] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25462 - in trunk/debathena/debathena/pyhesiodfs/debian: . patches

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Mon Apr 2 16:56:48 2012

Date: Mon, 2 Apr 2012 16:56:47 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <201204022056.q32KulhW021188@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: geofft
Date: 2012-04-02 16:56:47 -0400 (Mon, 02 Apr 2012)
New Revision: 25462

Added:
   trunk/debathena/debathena/pyhesiodfs/debian/patches/no-syslog-on-ERR.patch
Modified:
   trunk/debathena/debathena/pyhesiodfs/debian/changelog
   trunk/debathena/debathena/pyhesiodfs/debian/patches/series
Log:
In pyhesiodfs:
  * Don't send syslog messages on ERR locker types.


Modified: trunk/debathena/debathena/pyhesiodfs/debian/changelog
===================================================================
--- trunk/debathena/debathena/pyhesiodfs/debian/changelog	2012-03-28 18:58:19 UTC (rev 25461)
+++ trunk/debathena/debathena/pyhesiodfs/debian/changelog	2012-04-02 20:56:47 UTC (rev 25462)
@@ -1,3 +1,9 @@
+debathena-pyhesiodfs (0.0.r167-0debathena10) unstable; urgency=low
+
+  * Don't send syslog messages on ERR locker types.
+
+ -- Geoffrey Thomas <geofft@mit.edu>  Mon, 02 Apr 2012 13:51:57 -0700
+
 debathena-pyhesiodfs (0.0.r167-0debathena9) unstable; urgency=low
 
   * No change rebuild to pick up config-package-dev 4.13 changes

Added: trunk/debathena/debathena/pyhesiodfs/debian/patches/no-syslog-on-ERR.patch
===================================================================
--- trunk/debathena/debathena/pyhesiodfs/debian/patches/no-syslog-on-ERR.patch	                        (rev 0)
+++ trunk/debathena/debathena/pyhesiodfs/debian/patches/no-syslog-on-ERR.patch	2012-04-02 20:56:47 UTC (rev 25462)
@@ -0,0 +1,13 @@
+Index: pyHesiodFS.py
+===================================================================
+--- pyhesiodfs/pyHesiodFS.py	(revision 25441)
++++ pyhesiodfs/pyHesiodFS.py	(working copy)
+@@ -176,6 +176,8 @@
+             if len(filsys.filsys) >= 1:
+                 pointers = filsys.filsys
+                 pointer = pointers[0]
++                if pointer['type'] == 'ERR':
++                    return None
+                 if pointer['type'] != 'AFS' and pointer['type'] != 'LOC':
+                     syslog(LOG_NOTICE, "Unknown locker type "+pointer['type']+" for locker "+name+" ("+repr(pointer)+" )")
+                     return None

Modified: trunk/debathena/debathena/pyhesiodfs/debian/patches/series
===================================================================
--- trunk/debathena/debathena/pyhesiodfs/debian/patches/series	2012-03-28 18:58:19 UTC (rev 25461)
+++ trunk/debathena/debathena/pyhesiodfs/debian/patches/series	2012-04-02 20:56:47 UTC (rev 25462)
@@ -1,2 +1,3 @@
 install-script-without-extension.patch
 no-hello.patch
+no-syslog-on-ERR.patch


home help back first fref pref prev next nref lref last post