Changes to 'refs/tags/spacewalk-backend-1.4.28-1'
by Michael Mraka
Tag 'spacewalk-backend-1.4.28-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2011-04-06 13:46 +0000
Tagging package [spacewalk-backend] version [1.4.28-1] in directory [backend/].
Changes since spacewalk-java-1.4.29-1:
Jan Pazdziora (1):
The nvl2 is not supported by PostgreSQL, replacing by case when in non_managed_elaborator.
Michael Mraka (3):
663326 - prevent spacewalk-remove-channel to run when spacewalk-repo-sync is runnig
663326 - return doesn't correctly trigger releaseLOCK()
Automatic commit of package [spacewalk-backend] release [1.4.28-1].
Miroslav Suchý (1):
693994 - correct bogus Franch translation
---
backend/satellite_tools/spacewalk-remove-channel | 30 +++++----
backend/spacewalk-backend.spec | 7 +-
java/code/src/com/redhat/rhn/common/db/datasource/xml/config_queries.xml | 32 +++++-----
java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_fr.xml | 4 -
rel-eng/packages/spacewalk-backend | 2
5 files changed, 42 insertions(+), 33 deletions(-)
---
13 years, 2 months
backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/spacewalk-backend.spec | 7 ++++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 859f318b424710db163ff1590d9aa35463941f6d
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Apr 6 15:46:26 2011 +0200
Automatic commit of package [spacewalk-backend] release [1.4.28-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 042ec55..be80503 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -11,7 +11,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2 and Python
-Version: 1.4.27
+Version: 1.4.28
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -684,6 +684,11 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Wed Apr 06 2011 Michael Mraka <michael.mraka(a)redhat.com> 1.4.28-1
+- 663326 - return doesn't correctly trigger releaseLOCK()
+- 663326 - prevent spacewalk-remove-channel to run when spacewalk-repo-sync is
+ runnig
+
* Tue Apr 05 2011 Michael Mraka <michael.mraka(a)redhat.com> 1.4.27-1
- idn_unicode_to_pune() has to return string
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 846fe86..70f8c2e 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.4.27-1 backend/
+1.4.28-1 backend/
13 years, 2 months
2 commits - backend/satellite_tools
by Michael Mraka
backend/satellite_tools/spacewalk-remove-channel | 30 +++++++++++++----------
1 file changed, 17 insertions(+), 13 deletions(-)
New commits:
commit 291ce7c5d447933242bf9386edafd4d32b998d3f
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Apr 6 14:32:27 2011 +0200
663326 - return doesn't correctly trigger releaseLOCK()
diff --git a/backend/satellite_tools/spacewalk-remove-channel b/backend/satellite_tools/spacewalk-remove-channel
index 4ef12e0..b4ea62b 100755
--- a/backend/satellite_tools/spacewalk-remove-channel
+++ b/backend/satellite_tools/spacewalk-remove-channel
@@ -79,7 +79,7 @@ def main():
if args:
for arg in args:
sys.stderr.write("Not a valid option ('%s'), try --help\n" % arg)
- return -1
+ sys.exit(-1)
if not (options.channel or options.list):
sys.stderr.write("Nothing to do\n")
@@ -98,7 +98,7 @@ def main():
print c
for sub in dict_parents[c]:
print "\t" + sub
- return
+ sys.exit(0)
# Verify if the channel is valid
@@ -110,7 +110,7 @@ def main():
for channel in channels.keys():
if not dict_label.has_key(channel):
print "Unknown channel %s" % channel
- return -1
+ sys.exit(-1)
if not options.skip_channels:
# Sanity check: verify subchannels are deleted as well if base
# channels are selected
@@ -129,14 +129,14 @@ def main():
print "\t\t\t" + child
if child_test_fail:
- return -1
+ sys.exit(-1)
if not options.skip_channels:
if __serverCheck(channels.keys(), options.unsubscribe):
- return -1
+ sys.exit(-1)
if __kickstartCheck(channels.keys()):
- return -1
+ sys.exit(-1)
try:
commit 1b7958ded41b086debbc8d6fe7fb502755fcf99e
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Apr 6 14:32:27 2011 +0200
663326 - prevent spacewalk-remove-channel to run when spacewalk-repo-sync is runnig
diff --git a/backend/satellite_tools/spacewalk-remove-channel b/backend/satellite_tools/spacewalk-remove-channel
index 233e680..4ef12e0 100755
--- a/backend/satellite_tools/spacewalk-remove-channel
+++ b/backend/satellite_tools/spacewalk-remove-channel
@@ -51,7 +51,8 @@ options_table = [
help="Remove only packages from channel not the channel itself."),
]
-LOCK = None
+LOCK = []
+LOCK_DIR = '/var/run'
def main():
global LOCK
@@ -60,11 +61,14 @@ def main():
sys.stderr.write('ERROR: must be root to execute\n')
sys.exit(8)
- try:
- LOCK = rhnLockfile.Lockfile('/var/run/satellite-sync.pid')
- except rhnLockfile.LockfileLockedException:
- print("ERROR: Either another instance of spacewalk-remove-channel is running, or a satellite-sync is currently taking place.")
- sys.exit(-1)
+ for command in ['spacewalk-remove-channel', 'satellite-sync',
+ 'spacewalk-repo-sync']:
+ try:
+ LOCK.append(rhnLockfile.Lockfile(
+ os.path.join(LOCK_DIR, "%s.pid" % command)))
+ except rhnLockfile.LockfileLockedException:
+ print("ERROR: An instance of %s is running, exiting." % command)
+ sys.exit(-1)
global options_table
@@ -545,7 +549,7 @@ def _get_package_paths(package_ids, sources=0):
def releaseLOCK():
global LOCK
- if LOCK:
+ for lock in LOCK:
LOCK.release()
13 years, 2 months
java/code
by Jan Pazdziora
java/code/src/com/redhat/rhn/common/db/datasource/xml/config_queries.xml | 32 +++++-----
1 file changed, 16 insertions(+), 16 deletions(-)
New commits:
commit 6eb6cdd7ec37fdd4c8dd2749d4796d2750d22add
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Apr 6 14:29:00 2011 +0200
The nvl2 is not supported by PostgreSQL, replacing by case when in non_managed_elaborator.
Addressing
Caused by: com.redhat.rhn.common.db.WrappedSQLException: ERROR: function nvl2(integer, unknown, unknown) does not exist
[...]
at com.redhat.rhn.common.db.datasource.DataResult.elaborate(DataResult.java:149)
at com.redhat.rhn.manager.BaseManager.processPageControl(BaseManager.java:146)
at com.redhat.rhn.manager.BaseManager.makeDataResult(BaseManager.java:59)
at com.redhat.rhn.manager.configuration.ConfigurationManager.listNonManagedSystems(ConfigurationManager.java:259)
diff --git a/java/code/src/com/redhat/rhn/common/db/datasource/xml/config_queries.xml b/java/code/src/com/redhat/rhn/common/db/datasource/xml/config_queries.xml
index 1484317..38ae5a4 100644
--- a/java/code/src/com/redhat/rhn/common/db/datasource/xml/config_queries.xml
+++ b/java/code/src/com/redhat/rhn/common/db/datasource/xml/config_queries.xml
@@ -380,20 +380,20 @@ ORDER BY S.name
<query name="non_managed_elaborator">
SELECT S.id,
- NVL2( (SELECT DISTINCT 1
+ case when (SELECT DISTINCT 1
FROM rhnServerGroup SG, rhnServerGroupMembers SGM, rhnServerGroupType SGT
WHERE S.id = SGM.server_id
AND SGM.server_group_id = SG.id
AND SG.group_type = SGT.id
- AND SGT.label = 'provisioning_entitled'), 'Y', 'N') AS provisioning,
+ AND SGT.label = 'provisioning_entitled') is not null then 'Y' else 'N' end AS provisioning,
<!-- The following three items will return with a character
Y = package installed, P = package install pending, N = no package nor install -->
- NVL2( (SELECT DISTINCT 1
+ case when (SELECT DISTINCT 1
FROM rhnServerPackage SP, rhnPackageName PN
WHERE S.id = SP.server_id
AND SP.name_id = PN.id
- AND PN.name = 'rhncfg'), 'Y',
- NVL2( (SELECT DISTINCT 1
+ AND PN.name = 'rhncfg') is not null then 'Y'
+ when (SELECT DISTINCT 1
FROM rhnServerAction SA, rhnActionPackage AP,
rhnPackageName PN, rhnActionStatus PAS
WHERE S.id = SA.server_id
@@ -401,13 +401,13 @@ SELECT S.id,
AND PAS.name IN ('Queued', 'Picked Up')
AND SA.action_id = AP.action_id
AND AP.name_id = PN.id
- AND PN.name = 'rhncfg'), 'P', 'N')) AS rhncfg,
- NVL2( (SELECT DISTINCT 1
+ AND PN.name = 'rhncfg') is not null then 'P' else 'N' end AS rhncfg,
+ case when (SELECT DISTINCT 1
FROM rhnServerPackage SP, rhnPackageName PN
WHERE S.id = SP.server_id
AND SP.name_id = PN.id
- AND PN.name = 'rhncfg-actions'), 'Y',
- NVL2( (SELECT DISTINCT 1
+ AND PN.name = 'rhncfg-actions') is not null then 'Y'
+ when (SELECT DISTINCT 1
FROM rhnServerAction SA, rhnActionPackage AP,
rhnPackageName PN, rhnActionStatus PAS
WHERE S.id = SA.server_id
@@ -415,13 +415,13 @@ SELECT S.id,
AND PAS.name IN ('Queued', 'Picked Up')
AND SA.action_id = AP.action_id
AND AP.name_id = PN.id
- AND PN.name = 'rhncfg-actions'), 'P', 'N')) AS rhncfg_actions,
- NVL2( (SELECT DISTINCT 1
+ AND PN.name = 'rhncfg-actions') is not null then 'P' else 'N' end AS rhncfg_actions,
+ case when (SELECT DISTINCT 1
FROM rhnServerPackage SP, rhnPackageName PN
WHERE S.id = SP.server_id
AND SP.name_id = PN.id
- AND PN.name = 'rhncfg-client'), 'Y',
- NVL2( (SELECT DISTINCT 1
+ AND PN.name = 'rhncfg-client') is not null then 'Y'
+ when (SELECT DISTINCT 1
FROM rhnServerAction SA, rhnActionPackage AP,
rhnPackageName PN, rhnActionStatus PAS
WHERE S.id = SA.server_id
@@ -429,12 +429,12 @@ SELECT S.id,
AND PAS.name IN ('Queued', 'Picked Up')
AND SA.action_id = AP.action_id
AND AP.name_id = PN.id
- AND PN.name = 'rhncfg-client'), 'P', 'N')) AS rhncfg_client,
- NVL2( (SELECT DISTINCT 1
+ AND PN.name = 'rhncfg-client') is not null then 'P' else 'N' end AS rhncfg_client,
+ case when (SELECT DISTINCT 1
FROM rhnServerChannel SC, rhnChannel C
WHERE S.id = SC.server_id
AND SC.channel_id = C.id
- AND C.label like 'rhn-tools%'), 'Y', 'N') AS rhn_tools
+ AND C.label like 'rhn-tools%') is not null then 'Y' else 'N' end AS rhn_tools
FROM rhnServer S
WHERE S.id IN (%s)
</query>
13 years, 2 months
java/code
by Miroslav Suchý
java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_fr.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fa42d016d98e5b2066cb5195be59c99fbcee83d3
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Apr 6 12:01:49 2011 +0200
693994 - correct bogus Franch translation
diff --git a/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_fr.xml b/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_fr.xml
index f93dde0..7519b88 100644
--- a/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_fr.xml
+++ b/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_fr.xml
@@ -21978,7 +21978,7 @@ fois pour un canal donné.</target></trans-unit>
<trans-unit id="package.jsp.buildhost">
<source>Build Host</source>
- <target>Créer hôte</target></trans-unit>
+ <target>Hôte de création</target></trans-unit>
<trans-unit id="package.jsp.builddate">
<source>Build Date</source>
@@ -22050,7 +22050,7 @@ fois pour un canal donné.</target></trans-unit>
<trans-unit id="package.jsp.menu.changelog">
<source>Change Log</source>
- <target>Changer le journal</target></trans-unit>
+ <target>Historique</target></trans-unit>
<trans-unit id="package.jsp.menu.map">
<source>Package Map</source>
13 years, 2 months
Changes to 'refs/tags/spacewalk-java-1.4.29-1'
by Jan Pazdziora
Tag 'spacewalk-java-1.4.29-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2011-04-06 08:24 +0000
Tagging package [spacewalk-java] version [1.4.29-1] in directory [java/].
Changes since oracle-rhnsat-selinux-10.2.0.18-1:
Jan Pazdziora (1):
Automatic commit of package [spacewalk-java] release [1.4.29-1].
---
java/spacewalk-java.spec | 7 ++++++-
rel-eng/packages/spacewalk-java | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
---
13 years, 2 months
java/spacewalk-java.spec rel-eng/packages
by Jan Pazdziora
java/spacewalk-java.spec | 7 ++++++-
rel-eng/packages/spacewalk-java | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 9cf5f138270c88c4f1a0111a7835c5d49ee6c0be
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Apr 6 10:24:52 2011 +0200
Automatic commit of package [spacewalk-java] release [1.4.29-1].
diff --git a/java/spacewalk-java.spec b/java/spacewalk-java.spec
index 0b334b6..2ffe63f 100644
--- a/java/spacewalk-java.spec
+++ b/java/spacewalk-java.spec
@@ -17,7 +17,7 @@ Name: spacewalk-java
Summary: Spacewalk Java site packages
Group: Applications/Internet
License: GPLv2
-Version: 1.4.28
+Version: 1.4.29
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -532,6 +532,11 @@ fi
%{jardir}/postgresql-jdbc.jar
%changelog
+* Wed Apr 06 2011 Jan Pazdziora 1.4.29-1
+- 693889 - fix the update status icon not displayed in Chrome browser
+ (mmello(a)redhat.com)
+- SELECT UNIQUE is not supported by PostgreSQL, fixing.
+
* Mon Apr 04 2011 Miroslav Suchý 1.4.28-1
- when hostname is unknown print "unknown"
- 683200 - IDN.toUnicode does not allow null value
diff --git a/rel-eng/packages/spacewalk-java b/rel-eng/packages/spacewalk-java
index e6977a6..65aaff6 100644
--- a/rel-eng/packages/spacewalk-java
+++ b/rel-eng/packages/spacewalk-java
@@ -1 +1 @@
-1.4.28-1 java/
+1.4.29-1 java/
13 years, 2 months
Changes to 'refs/tags/oracle-rhnsat-selinux-10.2.0.18-1'
by Jan Pazdziora
Tag 'oracle-rhnsat-selinux-10.2.0.18-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2011-04-06 08:22 +0000
Tagging package [oracle-rhnsat-selinux] version [10.2.0.18-1] in directory [selinux/oracle-rhnsat-selinux/].
Changes since oracle-xe-selinux-10.2.0.20-1:
Jan Pazdziora (1):
Automatic commit of package [oracle-rhnsat-selinux] release [10.2.0.18-1].
---
rel-eng/packages/oracle-rhnsat-selinux | 2 +-
selinux/oracle-rhnsat-selinux/oracle-rhnsat-selinux.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
13 years, 2 months
rel-eng/packages selinux/oracle-rhnsat-selinux
by Jan Pazdziora
rel-eng/packages/oracle-rhnsat-selinux | 2 +-
selinux/oracle-rhnsat-selinux/oracle-rhnsat-selinux.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 334e296fe5c479be10604a9d89f64cbd84fd7e47
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Apr 6 10:22:31 2011 +0200
Automatic commit of package [oracle-rhnsat-selinux] release [10.2.0.18-1].
diff --git a/rel-eng/packages/oracle-rhnsat-selinux b/rel-eng/packages/oracle-rhnsat-selinux
index f135805..e5c3666 100644
--- a/rel-eng/packages/oracle-rhnsat-selinux
+++ b/rel-eng/packages/oracle-rhnsat-selinux
@@ -1 +1 @@
-10.2.0.17-1 selinux/oracle-rhnsat-selinux/
+10.2.0.18-1 selinux/oracle-rhnsat-selinux/
diff --git a/selinux/oracle-rhnsat-selinux/oracle-rhnsat-selinux.spec b/selinux/oracle-rhnsat-selinux/oracle-rhnsat-selinux.spec
index cd4425b..d140719 100644
--- a/selinux/oracle-rhnsat-selinux/oracle-rhnsat-selinux.spec
+++ b/selinux/oracle-rhnsat-selinux/oracle-rhnsat-selinux.spec
@@ -5,7 +5,7 @@
%define modulename oracle-rhnsat
Name: oracle-rhnsat-selinux
-Version: 10.2.0.17
+Version: 10.2.0.18
Release: 1%{?dist}
Summary: SELinux policy module supporting Oracle
Group: System Environment/Base
@@ -116,6 +116,9 @@ fi
%attr(0755,root,root) %{_sbindir}/%{name}-enable
%changelog
+* Wed Apr 06 2011 Jan Pazdziora 10.2.0.18-1
+- 489548, 565417 - upon ORA-3136, database writes to network/log/sqlnet.log.
+
* Tue Apr 05 2011 Jan Pazdziora 10.2.0.17-1
- Making oracle_common_log_t into a logging type.
13 years, 2 months
Changes to 'refs/tags/oracle-xe-selinux-10.2.0.20-1'
by Jan Pazdziora
Tag 'oracle-xe-selinux-10.2.0.20-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2011-04-06 08:22 +0000
Tagging package [oracle-xe-selinux] version [10.2.0.20-1] in directory [selinux/oracle-xe-selinux/].
Changes since oracle-selinux-0.1.23.26-1:
Jan Pazdziora (1):
Automatic commit of package [oracle-xe-selinux] release [10.2.0.20-1].
---
rel-eng/packages/oracle-xe-selinux | 2 +-
selinux/oracle-xe-selinux/oracle-xe-selinux.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
13 years, 2 months