]> TLD Linux GIT Repositories - packages/glusterfs.git/blob - interpreters.patch
- missing patch
[packages/glusterfs.git] / interpreters.patch
1 diff -dur glusterfs-3.8.11.orig/extras/geo-rep/schedule_georep.py.in glusterfs-3.8.11/extras/geo-rep/schedule_georep.py.in
2 --- glusterfs-3.8.11.orig/extras/geo-rep/schedule_georep.py.in  2017-04-11 10:33:35.000000000 +0200
3 +++ glusterfs-3.8.11/extras/geo-rep/schedule_georep.py.in       2017-04-21 14:55:35.000000000 +0200
4 @@ -1,4 +1,4 @@
5 -#!/usr/bin/env python
6 +#!/usr/bin/python2
7  """
8  Schedule Geo-replication
9  ------------------------
10 diff -dur glusterfs-3.8.11.orig/extras/snap_scheduler/gcron.py glusterfs-3.8.11/extras/snap_scheduler/gcron.py
11 --- glusterfs-3.8.11.orig/extras/snap_scheduler/gcron.py        2017-04-11 10:33:35.000000000 +0200
12 +++ glusterfs-3.8.11/extras/snap_scheduler/gcron.py     2017-04-21 14:55:35.000000000 +0200
13 @@ -1,4 +1,4 @@
14 -#!/usr/bin/env python
15 +#!/usr/bin/python2
16  #
17  # Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com>
18  # This file is part of GlusterFS.
19 diff -dur glusterfs-3.8.11.orig/extras/snap_scheduler/snap_scheduler.py glusterfs-3.8.11/extras/snap_scheduler/snap_scheduler.py
20 --- glusterfs-3.8.11.orig/extras/snap_scheduler/snap_scheduler.py       2017-04-11 10:33:35.000000000 +0200
21 +++ glusterfs-3.8.11/extras/snap_scheduler/snap_scheduler.py    2017-04-21 14:55:35.000000000 +0200
22 @@ -1,4 +1,4 @@
23 -#!/usr/bin/env python
24 +#!/usr/bin/python2
25  #
26  # Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com>
27  # This file is part of GlusterFS.
28 --- glusterfs-3.10.1/extras/stop-all-gluster-processes.sh.orig  2017-04-27 22:09:07.287953034 +0200
29 +++ glusterfs-3.10.1/extras/stop-all-gluster-processes.sh       2017-04-27 22:10:38.047952000 +0200
30 @@ -1,4 +1,4 @@
31 -#!/usr/bin/env bash
32 +#!/bin/bash
33  #
34  # Kill all the processes/services except glusterd
35  #
36 diff -dur glusterfs-3.8.11.orig/geo-replication/src/peer_mountbroker.in glusterfs-3.8.11/geo-replication/src/peer_mountbroker.in
37 --- glusterfs-3.8.11.orig/geo-replication/src/peer_mountbroker.in       2017-04-11 10:33:35.000000000 +0200
38 +++ glusterfs-3.8.11/geo-replication/src/peer_mountbroker.in    2017-04-21 14:55:35.000000000 +0200
39 @@ -1,4 +1,4 @@
40 -#!/usr/bin/env python
41 +#!/usr/bin/python2
42  import os
43  from argparse import ArgumentParser, RawDescriptionHelpFormatter
44  import json
45 diff -dur glusterfs-3.8.11.orig/tools/gfind_missing_files/gfid_to_path.py glusterfs-3.8.11/tools/gfind_missing_files/gfid_to_path.py
46 --- glusterfs-3.8.11.orig/tools/gfind_missing_files/gfid_to_path.py     2017-04-11 10:33:35.000000000 +0200
47 +++ glusterfs-3.8.11/tools/gfind_missing_files/gfid_to_path.py  2017-04-21 14:55:35.000000000 +0200
48 @@ -1,4 +1,4 @@
49 -#!/usr/bin/env python
50 +#!/usr/bin/python2
51  
52  # Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
53  # This file is part of GlusterFS.
54 diff -dur glusterfs-3.8.11.orig/tools/glusterfind/glusterfind.in glusterfs-3.8.11/tools/glusterfind/glusterfind.in
55 --- glusterfs-3.8.11.orig/tools/glusterfind/glusterfind.in      2017-04-11 10:33:35.000000000 +0200
56 +++ glusterfs-3.8.11/tools/glusterfind/glusterfind.in   2017-04-21 14:55:35.000000000 +0200
57 @@ -1,4 +1,4 @@
58 -#!/usr/bin/env python
59 +#!/usr/bin/python2
60  
61  # Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
62  # This file is part of GlusterFS.
63 diff -dur glusterfs-3.8.11.orig/tools/glusterfind/src/brickfind.py glusterfs-3.8.11/tools/glusterfind/src/brickfind.py
64 --- glusterfs-3.8.11.orig/tools/glusterfind/src/brickfind.py    2017-04-11 10:33:35.000000000 +0200
65 +++ glusterfs-3.8.11/tools/glusterfind/src/brickfind.py 2017-04-21 14:55:35.000000000 +0200
66 @@ -1,4 +1,4 @@
67 -#!/usr/bin/env python
68 +#!/usr/bin/python2
69  # -*- coding: utf-8 -*-
70  
71  # Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
72 diff -dur glusterfs-3.8.11.orig/tools/glusterfind/src/changelog.py glusterfs-3.8.11/tools/glusterfind/src/changelog.py
73 --- glusterfs-3.8.11.orig/tools/glusterfind/src/changelog.py    2017-04-11 10:33:35.000000000 +0200
74 +++ glusterfs-3.8.11/tools/glusterfind/src/changelog.py 2017-04-21 14:55:35.000000000 +0200
75 @@ -1,4 +1,4 @@
76 -#!/usr/bin/env python
77 +#!/usr/bin/python2
78  # -*- coding: utf-8 -*-
79  
80  # Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
81 diff -dur glusterfs-3.8.11.orig/tools/glusterfind/src/main.py glusterfs-3.8.11/tools/glusterfind/src/main.py
82 --- glusterfs-3.8.11.orig/tools/glusterfind/src/main.py 2017-04-11 10:33:35.000000000 +0200
83 +++ glusterfs-3.8.11/tools/glusterfind/src/main.py      2017-04-21 14:55:35.000000000 +0200
84 @@ -1,4 +1,4 @@
85 -#!/usr/bin/env python
86 +#!/usr/bin/python2
87  # -*- coding: utf-8 -*-
88  
89  # Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
90 diff -dur glusterfs-3.8.11.orig/tools/glusterfind/src/nodeagent.py glusterfs-3.8.11/tools/glusterfind/src/nodeagent.py
91 --- glusterfs-3.8.11.orig/tools/glusterfind/src/nodeagent.py    2017-04-11 10:33:35.000000000 +0200
92 +++ glusterfs-3.8.11/tools/glusterfind/src/nodeagent.py 2017-04-21 14:55:35.000000000 +0200
93 @@ -1,4 +1,4 @@
94 -#!/usr/bin/env python
95 +#!/usr/bin/python2
96  # -*- coding: utf-8 -*-
97  
98  # Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
99 --- glusterfs-3.12.4/geo-replication/syncdaemon/gsyncd.py.orig  2017-12-14 11:22:31.448031474 +0100
100 +++ glusterfs-3.12.4/geo-replication/syncdaemon/gsyncd.py       2017-12-26 11:05:36.587911481 +0100
101 @@ -1,4 +1,4 @@
102 -#!/usr/bin/env python
103 +#!/usr/bin/python2
104  #
105  # Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>
106  # This file is part of GlusterFS.
107 --- glusterfs-3.12.4/geo-replication/syncdaemon/changelogagent.py.orig  2017-12-14 11:22:31.448031474 +0100
108 +++ glusterfs-3.12.4/geo-replication/syncdaemon/changelogagent.py       2017-12-26 11:05:48.794578005 +0100
109 @@ -1,4 +1,4 @@
110 -#!/usr/bin/env python
111 +#!/usr/bin/python2
112  #
113  # Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>
114  # This file is part of GlusterFS.
115 --- glusterfs-3.12.4/geo-replication/syncdaemon/gsyncdstatus.py.orig    2017-12-14 11:22:31.448031474 +0100
116 +++ glusterfs-3.12.4/geo-replication/syncdaemon/gsyncdstatus.py 2017-12-26 11:06:04.354577832 +0100
117 @@ -1,4 +1,4 @@
118 -#!/usr/bin/env python
119 +#!/usr/bin/python2
120  #
121  # Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>
122  # This file is part of GlusterFS.
123 --- glusterfs-3.12.4/geo-replication/src/peer_georep-sshkey.py.in.orig  2017-12-14 11:22:31.446031470 +0100
124 +++ glusterfs-3.12.4/geo-replication/src/peer_georep-sshkey.py.in       2017-12-26 11:06:26.764577588 +0100
125 @@ -1,4 +1,4 @@
126 -#!/usr/bin/env python
127 +#!/usr/bin/python2
128  # -*- coding: utf-8 -*-
129  #
130  #  Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
131 --- glusterfs-3.12.4/geo-replication/src/peer_mountbroker.py.in.orig    2017-12-14 11:22:31.447031472 +0100
132 +++ glusterfs-3.12.4/geo-replication/src/peer_mountbroker.py.in 2017-12-26 11:06:40.887910749 +0100
133 @@ -1,4 +1,4 @@
134 -#!/usr/bin/env python
135 +#!/usr/bin/python2
136  import os
137  from errno import EEXIST, ENOENT
138  
139 --- glusterfs-3.12.4/events/eventskeygen.py.orig        2017-12-14 11:22:31.433031442 +0100
140 +++ glusterfs-3.12.4/events/eventskeygen.py     2017-12-26 11:07:24.924576912 +0100
141 @@ -1,4 +1,4 @@
142 -#!/usr/bin/env python
143 +#!/usr/bin/python2
144  # -*- coding: utf-8 -*-
145  #
146  #  Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
147 --- glusterfs-3.12.4/events/tools/eventsdash.py.orig    2017-12-14 11:22:31.434031444 +0100
148 +++ glusterfs-3.12.4/events/tools/eventsdash.py 2017-12-26 11:07:47.844576651 +0100
149 @@ -1,4 +1,4 @@
150 -#!/usr/bin/env python
151 +#!/usr/bin/python2
152  # -*- coding: utf-8 -*-
153  #
154  #  Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
155 --- glusterfs-3.12.4/events/src/glustereventsd.py.orig  2017-12-14 11:22:31.433031442 +0100
156 +++ glusterfs-3.12.4/events/src/glustereventsd.py       2017-12-26 11:08:06.877909766 +0100
157 @@ -1,4 +1,4 @@
158 -#!/usr/bin/env python
159 +#!/usr/bin/python2
160  # -*- coding: utf-8 -*-
161  #
162  #  Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
163 --- glusterfs-3.12.4/events/src/peer_eventsapi.py.orig  2017-12-14 11:22:31.434031444 +0100
164 +++ glusterfs-3.12.4/events/src/peer_eventsapi.py       2017-12-26 11:08:18.717909931 +0100
165 @@ -1,4 +1,4 @@
166 -#!/usr/bin/env python
167 +#!/usr/bin/python2
168  # -*- coding: utf-8 -*-
169  #
170  #  Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
171 --- glusterfs-3.12.4/events/src/gf_event.py.orig        2017-12-14 11:22:31.433031442 +0100
172 +++ glusterfs-3.12.4/events/src/gf_event.py     2017-12-26 11:08:29.301242844 +0100
173 @@ -1,4 +1,4 @@
174 -#!/usr/bin/env python
175 +#!/usr/bin/python2
176  # -*- coding: utf-8 -*-
177  #
178  #  Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
179 --- glusterfs-3.12.4/extras/hook-scripts/S40ufo-stop.py.orig    2017-12-14 11:22:31.440031457 +0100
180 +++ glusterfs-3.12.4/extras/hook-scripts/S40ufo-stop.py 2017-12-26 11:08:45.694575988 +0100
181 @@ -1,4 +1,4 @@
182 -#!/usr/bin/env python
183 +#!/usr/bin/python2
184  
185  import os
186  from optparse import OptionParser