Changes to 'refs/tags/rhncfg-5.10.32-1'
by Michael Mraka
Tag 'rhncfg-5.10.32-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-06-28 13:59 +0000
Tagging package [rhncfg] version [5.10.32-1] in directory [client/tools/rhncfg/].
Changes since spacewalk-backend-1.8.45-1:
Michael Mraka (1):
Automatic commit of package [rhncfg] release [5.10.32-1].
---
client/tools/rhncfg/rhncfg.spec | 5 ++++-
rel-eng/packages/rhncfg | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
11 years, 9 months
client/tools rel-eng/packages
by Michael Mraka
client/tools/rhncfg/rhncfg.spec | 5 ++++-
rel-eng/packages/rhncfg | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit fdeee0c3acac8b6b92fc67bccaabb1375d19901e
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Jun 28 15:59:21 2012 +0200
Automatic commit of package [rhncfg] release [5.10.32-1].
diff --git a/client/tools/rhncfg/rhncfg.spec b/client/tools/rhncfg/rhncfg.spec
index 226c5f2..2985d45 100644
--- a/client/tools/rhncfg/rhncfg.spec
+++ b/client/tools/rhncfg/rhncfg.spec
@@ -8,7 +8,7 @@ Group: Applications/System
License: GPLv2
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 5.10.31
+Version: 5.10.32
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -112,6 +112,9 @@ fi
# $Id$
%changelog
+* Thu Jun 28 2012 Michael Mraka <michael.mraka(a)redhat.com> 5.10.32-1
+- 765816 - value of selinux context is important
+
* Mon Jun 04 2012 Stephen Herr <sherr(a)redhat.com> 5.10.31-1
- 824707 - make /var/log/rhncfg-actions have 600 permissions
diff --git a/rel-eng/packages/rhncfg b/rel-eng/packages/rhncfg
index 9e14d29..0baf7bd 100644
--- a/rel-eng/packages/rhncfg
+++ b/rel-eng/packages/rhncfg
@@ -1 +1 @@
-5.10.31-1 client/tools/rhncfg/
+5.10.32-1 client/tools/rhncfg/
11 years, 9 months
Changes to 'refs/tags/spacewalk-backend-1.8.45-1'
by Michael Mraka
Tag 'spacewalk-backend-1.8.45-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-06-28 13:58 +0000
Tagging package [spacewalk-backend] version [1.8.45-1] in directory [backend/].
Changes since spacewalk-backend-1.8.44-1:
Michael Mraka (3):
765816 - file mode have to be string
765816 - value of selinux context is important
Automatic commit of package [spacewalk-backend] release [1.8.45-1].
---
backend/server/configFilesHandler.py | 2 +-
backend/spacewalk-backend.spec | 5 ++++-
client/tools/rhncfg/config_management/rhncfg_add.py | 2 +-
rel-eng/packages/spacewalk-backend | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
---
11 years, 9 months
backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/spacewalk-backend.spec | 5 ++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 3f6f7173dce9fb298541c8cac25e55b474e7414b
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Jun 28 15:58:59 2012 +0200
Automatic commit of package [spacewalk-backend] release [1.8.45-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 1499f36..9b4db83 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -12,7 +12,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2
-Version: 1.8.44
+Version: 1.8.45
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -646,6 +646,9 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Thu Jun 28 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.45-1
+- 765816 - file mode have to be string
+
* Thu Jun 28 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.44-1
- fixed AttributeError: 'buffer' object has no attribute 'write'
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 51d450f..42cd5a4 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.8.44-1 backend/
+1.8.45-1 backend/
11 years, 9 months
2 commits - backend/server client/tools
by Michael Mraka
backend/server/configFilesHandler.py | 2 +-
client/tools/rhncfg/config_management/rhncfg_add.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e8c82ba2a052997a50dc19fea4bdfdba95349589
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Jun 28 15:56:03 2012 +0200
765816 - value of selinux context is important
diff --git a/client/tools/rhncfg/config_management/rhncfg_add.py b/client/tools/rhncfg/config_management/rhncfg_add.py
index 4f0aba7..82def77 100644
--- a/client/tools/rhncfg/config_management/rhncfg_add.py
+++ b/client/tools/rhncfg/config_management/rhncfg_add.py
@@ -49,7 +49,7 @@ class Handler(handler_base.HandlerBase):
help="Ignore missing local files",
),
handler_base.HandlerBase._option_class(
- '--selinux-context', action="store_true",
+ '--selinux-context', action="store",
help="Overwrite the SELinux context",
),
]
commit 2279b6d2fd6c824126e9bcaae4e3398a4565f50d
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Jun 28 15:30:19 2012 +0200
765816 - file mode have to be string
fixing
Exception Handler Information
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py", line 122, in call_function
response = apply(func, params)
File "/usr/share/rhn/server/handlers/config_mgmt/rhn_config_management.py", line 374, in management_put_file
result = self.push_file(conf_channel_id, dict)
File "/usr/lib/python2.6/site-packages/spacewalk/server/configFilesHandler.py", line 230, in push_file
result = self._push_file(config_channel_id, file)
File "/usr/lib/python2.6/site-packages/spacewalk/server/configFilesHandler.py", line 214, in _push_file
self._push_config_file(file)
File "/usr/lib/python2.6/site-packages/spacewalk/server/configFilesHandler.py", line 358, in _push_config_file
h.execute(**file)
File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 163, in execute
return apply(self._execute_wrapper, (self._execute, ) + p, kw)
File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 282, in _execute_wrapper
retval = apply(function, p, kw)
File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 217, in _execute
return self._execute_(args, kwargs)
File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 295, in _execute_
self._real_cursor.execute(self.sql, params)
SQLStatementPrepareError: ("function lookup_config_info(unknown, unknown, integer, boolean, unknown) does not exist\\nLINE 2:
diff --git a/backend/server/configFilesHandler.py b/backend/server/configFilesHandler.py
index 29d5b24..ace83be 100644
--- a/backend/server/configFilesHandler.py
+++ b/backend/server/configFilesHandler.py
@@ -179,7 +179,7 @@ class ConfigFilesHandler(rhnHandler):
# Oracle doesn't like certain binding variables
file['username'] = file.get('user','')
file['groupname'] = file.get('group','')
- file['file_mode'] = file.get('mode','')
+ file['file_mode'] = str(file.get('mode',''))
# if the selinux flag is not sent by the client it is set to the last file
# revision (or to None (i.e. NULL) in case of first revision) - see the bug
# 644985 - SELinux context cleared from RHEL4 rhncfg-client
11 years, 9 months
Changes to 'refs/tags/spacewalk-backend-1.8.44-1'
by Michael Mraka
Tag 'spacewalk-backend-1.8.44-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-06-28 12:16 +0000
Tagging package [spacewalk-backend] version [1.8.44-1] in directory [backend/].
Changes since spacewalk-web-1.8.25-1:
Michael Mraka (2):
fixed AttributeError: 'buffer' object has no attribute 'write'
Automatic commit of package [spacewalk-backend] release [1.8.44-1].
---
backend/server/action_extra_data/solarispkgs.py | 25 +++---------------------
backend/spacewalk-backend.spec | 5 +++-
rel-eng/packages/spacewalk-backend | 2 -
3 files changed, 9 insertions(+), 23 deletions(-)
---
11 years, 9 months
2 commits - backend/server backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/server/action_extra_data/solarispkgs.py | 25 +++---------------------
backend/spacewalk-backend.spec | 5 +++-
rel-eng/packages/spacewalk-backend | 2 -
3 files changed, 9 insertions(+), 23 deletions(-)
New commits:
commit b024aa0c90f9ab22165bdcf2285955e9d84d705d
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Jun 28 14:16:23 2012 +0200
Automatic commit of package [spacewalk-backend] release [1.8.44-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 427f0b1..1499f36 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -12,7 +12,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2
-Version: 1.8.43
+Version: 1.8.44
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -646,6 +646,9 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Thu Jun 28 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.44-1
+- fixed AttributeError: 'buffer' object has no attribute 'write'
+
* Thu Jun 28 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.43-1
- Correct SQL query for installing and removing solaris patches
- Correct query for PGSQL
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index bc314d6..51d450f 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.8.43-1 backend/
+1.8.44-1 backend/
commit d3a474d8ea6c6045a95bdebd4e3d4f1aa699c6e7
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Jun 28 14:12:42 2012 +0200
fixed AttributeError: 'buffer' object has no attribute 'write'
diff --git a/backend/server/action_extra_data/solarispkgs.py b/backend/server/action_extra_data/solarispkgs.py
index 1051163..f43fa4e 100644
--- a/backend/server/action_extra_data/solarispkgs.py
+++ b/backend/server/action_extra_data/solarispkgs.py
@@ -42,16 +42,8 @@ _query_delete_server_action_package_result = rhnSQL.Statement("""
_query_insert_server_action_package_result = rhnSQL.Statement("""
insert into rhnServerActionPackageResult
(server_id, action_package_id, result_code, stderr, stdout)
- values (:server_id, :action_package_id, :result_code, empty_blob(),
- empty_blob())
-""")
-
-_query_lookup_server_action_package_result = rhnSQL.Statement("""
- select stdout, stderr
- from rhnServerActionPackageResult
- where server_id = :server_id
- and action_package_id = :action_package_id
- for update of stdout, stderr
+ values (:server_id, :action_package_id, :result_code, :stdout_data,
+ :stderr_data)
""")
def install(server_id, action_id, data={}):
@@ -89,8 +81,7 @@ def install(server_id, action_id, data={}):
h.execute(server_id=server_id, action_id=action_id)
# Insert new entries
- h = rhnSQL.prepare(_query_insert_server_action_package_result)
- hl = rhnSQL.prepare(_query_lookup_server_action_package_result)
+ h = rhnSQL.prepare(_query_insert_server_action_package_result, blob_map={'stdout_data': 'stdout_data', 'stderr_data': 'stderr_data'} )
for k, (action_package_id, v) in key_id.items():
result_code, stdout_data, stderr_data = v[:3]
if stdout_data:
@@ -101,15 +92,7 @@ def install(server_id, action_id, data={}):
# Nothing to do
continue
h.execute(server_id=server_id, action_package_id=action_package_id,
- result_code=result_code)
-
- hl.execute(server_id=server_id, action_package_id=action_package_id)
- row = hl.fetchone_dict()
- stdout, stderr = row['stdout'], row['stderr']
- if stdout_data:
- stdout.write(stdout_data)
- if stderr_data:
- stderr.write(stderr_data)
+ result_code=result_code, stdout_data=stdout_data, stderr_data=stderr_data)
remove = install
11 years, 9 months
rel-eng/packages web/spacewalk-web.spec
by Michael Mraka
rel-eng/packages/spacewalk-web | 2 +-
web/spacewalk-web.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit c369f316866554291e4d7a4ccbe40b9e22613bd9
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Jun 28 14:05:15 2012 +0200
Automatic commit of package [spacewalk-web] release [1.8.25-1].
diff --git a/rel-eng/packages/spacewalk-web b/rel-eng/packages/spacewalk-web
index e6d454d..12b02c0 100644
--- a/rel-eng/packages/spacewalk-web
+++ b/rel-eng/packages/spacewalk-web
@@ -1 +1 @@
-1.8.24-1 web/
+1.8.25-1 web/
diff --git a/web/spacewalk-web.spec b/web/spacewalk-web.spec
index fba5110..b7165a0 100644
--- a/web/spacewalk-web.spec
+++ b/web/spacewalk-web.spec
@@ -2,7 +2,7 @@ Name: spacewalk-web
Summary: Spacewalk Web site - Perl modules
Group: Applications/Internet
License: GPLv2
-Version: 1.8.24
+Version: 1.8.25
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk/
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -253,6 +253,9 @@ rm -rf $RPM_BUILD_ROOT
# $Id$
%changelog
+* Thu Jun 28 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.25-1
+- removed unused query
+
* Wed Jun 27 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.24-1
- ORDER BY expressions must appear in select list
- removed dead query
11 years, 9 months
Changes to 'refs/tags/spacewalk-web-1.8.25-1'
by Michael Mraka
Tag 'spacewalk-web-1.8.25-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-06-28 12:05 +0000
Tagging package [spacewalk-web] version [1.8.25-1] in directory [web/].
Changes since spacewalk-backend-1.8.43-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-web] release [1.8.25-1].
---
rel-eng/packages/spacewalk-web | 2 +-
web/spacewalk-web.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
11 years, 9 months
Changes to 'refs/tags/spacewalk-backend-1.8.43-1'
by Michael Mraka
Tag 'spacewalk-backend-1.8.43-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-06-28 12:04 +0000
Tagging package [spacewalk-backend] version [1.8.43-1] in directory [backend/].
Changes since spacewalk-java-1.8.103-1:
Michael Mraka (2):
removed unused query
Automatic commit of package [spacewalk-backend] release [1.8.43-1].
Pierre Casenove (2):
Correct query for PGSQL, addressing: SQL Error generated: ('syntax error at or near "name" at character 41\n', 0, '\n select distinct\n pn.name name,\n pe.epoch epoch,\n pe.version version,\n pe.release release,\n pa.label arch,\n c.label channel_label,\n nvl2(c.parent_channel, 0, 1) is_parent_channel\n from rhnActionPackage ap,\n rhnPackage p,\n rhnPackageName pn,\n rhnPackageEVR pe,\n rhnPackageArch pa,\n rhnServerChannel sc,\n rhnChannelPackage cp,\n rhnChannel c\n where ap.action_id = %(action_id)s\n and ap.evr_id = p.evr_id\n and ap.evr_id = pe.id\n and ap.name_id = p.name_id\n and ap.name_id = pn.id\n and p.package_arch_id = pa.id\n and p.id = cp.package_id\n and cp.channel_id = sc.channel_id\n and sc.server_id = %(server_id)s\n and sc.channel_id = c.id\n')
Correct SQL query for installing and removing solaris patches
---
backend/server/action/solarispkgs.py | 31 +++++++--------
backend/spacewalk-backend.spec | 6 ++
rel-eng/packages/spacewalk-backend | 2
web/modules/rhn/RHN/DB/DataSource/xml/System_queries.xml | 18 --------
web/modules/sniglets/Sniglets/ListView/SystemList.pm | 4 -
5 files changed, 21 insertions(+), 40 deletions(-)
---
11 years, 9 months