rel-eng/packages selinux/oracle-xe-selinux
by Jan Pazdziora
rel-eng/packages/oracle-xe-selinux | 2 +-
selinux/oracle-xe-selinux/oracle-xe-selinux.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit f69412b916bb3561bfc5ddfb98bb1f3e7c64f75a
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Apr 6 10:22:05 2011 +0200
Automatic commit of package [oracle-xe-selinux] release [10.2.0.20-1].
diff --git a/rel-eng/packages/oracle-xe-selinux b/rel-eng/packages/oracle-xe-selinux
index 3784d49..2750f37 100644
--- a/rel-eng/packages/oracle-xe-selinux
+++ b/rel-eng/packages/oracle-xe-selinux
@@ -1 +1 @@
-10.2.0.19-1 selinux/oracle-xe-selinux/
+10.2.0.20-1 selinux/oracle-xe-selinux/
diff --git a/selinux/oracle-xe-selinux/oracle-xe-selinux.spec b/selinux/oracle-xe-selinux/oracle-xe-selinux.spec
index 2c5d197..c93259f 100644
--- a/selinux/oracle-xe-selinux/oracle-xe-selinux.spec
+++ b/selinux/oracle-xe-selinux/oracle-xe-selinux.spec
@@ -5,7 +5,7 @@
%define modulename oracle-xe
Name: oracle-xe-selinux
-Version: 10.2.0.19
+Version: 10.2.0.20
Release: 1%{?dist}
Summary: SELinux policy module supporting Oracle XE
Group: System Environment/Base
@@ -139,6 +139,9 @@ fi
%attr(0755,root,root) %{_sbindir}/%{name}-enable
%changelog
+* Wed Apr 06 2011 Jan Pazdziora 10.2.0.20-1
+- 489548, 565417 - upon ORA-3136, database writes to network/log/sqlnet.log.
+
* Thu Sep 23 2010 Michael Mraka <michael.mraka(a)redhat.com> 10.2.0.19-1
- switched to default VersionTagger
13 years, 2 months
Changes to 'refs/tags/oracle-selinux-0.1.23.26-1'
by Jan Pazdziora
Tag 'oracle-selinux-0.1.23.26-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2011-04-06 08:21 +0000
Tagging package [oracle-selinux] version [0.1.23.26-1] in directory [selinux/oracle-selinux/].
Changes since yum-rhn-plugin-1.4.12-1:
Jan Pazdziora (2):
489548, 565417 - upon ORA-3136, database writes to network/log/sqlnet.log.
Automatic commit of package [oracle-selinux] release [0.1.23.26-1].
Marcelo Moreira de Mello (1):
693889 - fix the update status icon not displayed in Chrome browser
---
java/code/webapp/WEB-INF/pages/common/fragments/systems/group_listdisplay.jspf | 2 +-
rel-eng/packages/oracle-selinux | 2 +-
selinux/oracle-rhnsat-selinux/oracle-rhnsat.fc | 3 +++
selinux/oracle-selinux/oracle-selinux.spec | 5 ++++-
selinux/oracle-selinux/oracle.fc | 3 +++
selinux/oracle-selinux/oracle.te | 3 +++
selinux/oracle-xe-selinux/oracle-xe.fc | 3 +++
7 files changed, 18 insertions(+), 3 deletions(-)
---
13 years, 2 months
rel-eng/packages selinux/oracle-selinux
by Jan Pazdziora
rel-eng/packages/oracle-selinux | 2 +-
selinux/oracle-selinux/oracle-selinux.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit e8bbcff0dc4a6f495039d6b3b7fc8952293bf85f
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Apr 6 10:21:41 2011 +0200
Automatic commit of package [oracle-selinux] release [0.1.23.26-1].
diff --git a/rel-eng/packages/oracle-selinux b/rel-eng/packages/oracle-selinux
index 7374046..2ce3d88 100644
--- a/rel-eng/packages/oracle-selinux
+++ b/rel-eng/packages/oracle-selinux
@@ -1 +1 @@
-0.1.23.25-1 selinux/oracle-selinux/
+0.1.23.26-1 selinux/oracle-selinux/
diff --git a/selinux/oracle-selinux/oracle-selinux.spec b/selinux/oracle-selinux/oracle-selinux.spec
index e42d0a4..374b08d 100644
--- a/selinux/oracle-selinux/oracle-selinux.spec
+++ b/selinux/oracle-selinux/oracle-selinux.spec
@@ -19,7 +19,7 @@
%endif
Name: oracle-selinux
-Version: 0.1.23.25
+Version: 0.1.23.26
Release: 1%{?obtag}%{?dist}%{?repo}
Summary: SELinux policy module supporting Oracle
Group: System Environment/Base
@@ -225,6 +225,9 @@ fi
%attr(0755,root,root) %{_sbindir}/oracle-nofcontext-selinux-enable
%changelog
+* Wed Apr 06 2011 Jan Pazdziora 0.1.23.26-1
+- 489548, 565417 - upon ORA-3136, database writes to network/log/sqlnet.log.
+
* Wed Mar 30 2011 Michael Mraka <michael.mraka(a)redhat.com> 0.1.23.25-1
- allow unconfined_r to run oracle_lsnrctl_t, oracle_tnslsnr_t and oracle_db_t
13 years, 2 months
selinux/oracle-rhnsat-selinux selinux/oracle-selinux selinux/oracle-xe-selinux
by Jan Pazdziora
selinux/oracle-rhnsat-selinux/oracle-rhnsat.fc | 3 +++
selinux/oracle-selinux/oracle.fc | 3 +++
selinux/oracle-selinux/oracle.te | 3 +++
selinux/oracle-xe-selinux/oracle-xe.fc | 3 +++
4 files changed, 12 insertions(+)
New commits:
commit 85b5cf4d54b389d2ca14c955766265457cf0c47c
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Apr 6 09:57:44 2011 +0200
489548, 565417 - upon ORA-3136, database writes to network/log/sqlnet.log.
Addressing
avc: denied { search } for pid=20967 comm="oracle" name="log" dev=dm-0 ino=657566 scontext=system_u:system_r:oracle_db_t:s0 tcontext=user_u:object_r:oracle_tnslsnr_log_t:s0 tclass=dir
avc: denied { write } for pid=20967 comm="oracle" name="log" dev=dm-0 ino=657566 scontext=system_u:system_r:oracle_db_t:s0 tcontext=user_u:object_r:oracle_tnslsnr_log_t:s0 tclass=dir
avc: denied { add_name } for pid=20967 comm="oracle" name="sqlnet.log" scontext=system_u:system_r:oracle_db_t:s0 tcontext=user_u:object_r:oracle_tnslsnr_log_t:s0 tclass=dir
avc: denied { create } for pid=20967 comm="oracle" name="sqlnet.log" scontext=system_u:system_r:oracle_db_t:s0 tcontext=system_u:object_r:oracle_tnslsnr_log_t:s0 tclass=file
avc: denied { append open } for pid=20967 comm="oracle" name="sqlnet.log" dev=dm-0 ino=670163 scontext=system_u:system_r:oracle_db_t:s0 tcontext=system_u:object_r:oracle_tnslsnr_log_t:s0 tclass=file
avc: denied { getattr } for pid=20967 comm="oracle" path="/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/sqlnet.log" dev=dm-0 ino=670163 scontext=system_u:system_r:oracle_db_t:s0 tcontext=system_u:object_r:oracle_tnslsnr_log_t:s0 tclass=file
and
avc: denied { search } for pid=10425 comm="oracle" name="log" dev=xvda1 ino=360524 scontext=root:system_r:oracle_db_t:s0 tcontext=user_u:object_r:oracle_tnslsnr_log_t:s0 tclass=dir
avc: denied { write } for pid=10425 comm="oracle" name="log" dev=xvda1 ino=360524 scontext=root:system_r:oracle_db_t:s0 tcontext=user_u:object_r:oracle_tnslsnr_log_t:s0 tclass=dir
avc: denied { add_name } for pid=10425 comm="oracle" name="sqlnet.log" scontext=root:system_r:oracle_db_t:s0 tcontext=user_u:object_r:oracle_tnslsnr_log_t:s0 tclass=dir
avc: denied { create } for pid=10425 comm="oracle" name="sqlnet.log" scontext=root:system_r:oracle_db_t:s0 tcontext=root:object_r:oracle_tnslsnr_log_t:s0 tclass=file
avc: denied { getattr } for pid=10425 comm="oracle" path="/opt/apps/oracle/web/product/10.2.0/db_1/network/log/sqlnet.log" dev=xvda1 ino=1982485 scontext=root:system_r:oracle_db_t:s0 tcontext=root:object_r:oracle_tnslsnr_log_t:s0 tclass=file
avc: denied { setattr } for pid=10425 comm="oracle" name="sqlnet.log" dev=xvda1 ino=1982485 scontext=root:system_r:oracle_db_t:s0 tcontext=root:object_r:oracle_tnslsnr_log_t:s0 tclass=file
avc: denied { append } for pid=10425 comm="oracle" path="/opt/apps/oracle/web/product/10.2.0/db_1/network/log/sqlnet.log" dev=xvda1 ino=1982485 scontext=root:system_r:oracle_db_t:s0 tcontext=root:object_r:oracle_tnslsnr_log_t:s0 tclass=file
diff --git a/selinux/oracle-rhnsat-selinux/oracle-rhnsat.fc b/selinux/oracle-rhnsat-selinux/oracle-rhnsat.fc
index 87ef55a..dc5fc26 100644
--- a/selinux/oracle-rhnsat-selinux/oracle-rhnsat.fc
+++ b/selinux/oracle-rhnsat-selinux/oracle-rhnsat.fc
@@ -46,6 +46,9 @@
# the listener writes to these locations
/opt/apps/oracle/web/product/(.*/)?network/log(/.*)? gen_context(user_u:object_r:oracle_tnslsnr_log_t,s0)
+# upon ORA-3136, database writes to network/log/sqlnet.log
+/opt/apps/oracle/web/product/(.*/)?network/log/sqlnet\.log(.*)? gen_context(user_u:object_r:oracle_db_log_t,s0)
+
# log directory for listener, startup and shutdown logs
/opt/apps/oracle/web/product/(.*[0-9]/)?log(/.*)? gen_context(user_u:object_r:oracle_common_log_t,s0)
diff --git a/selinux/oracle-selinux/oracle.fc b/selinux/oracle-selinux/oracle.fc
index e42c6eb..d6f4280 100644
--- a/selinux/oracle-selinux/oracle.fc
+++ b/selinux/oracle-selinux/oracle.fc
@@ -39,6 +39,9 @@
/opt/oracle/product/(.*[0-9]/)?log(/.*)? gen_context(user_u:object_r:oracle_tnslsnr_log_t,s0)
/opt/oracle/product/(.*/)?network/log(/.*)? gen_context(user_u:object_r:oracle_tnslsnr_log_t,s0)
+# upon ORA-3136, database writes to network/log/sqlnet.log
+/opt/oracle/product/(.*/)?network/log/sqlnet\.log(.*)? gen_context(user_u:object_r:oracle_db_log_t,s0)
+
# otherwise this would be unlabeled
/var/tmp/.oracle(/.*)? gen_context(user_u:object_r:oracle_tmp_t,s0)
diff --git a/selinux/oracle-selinux/oracle.te b/selinux/oracle-selinux/oracle.te
index f7ecabe..2ea72f3 100644
--- a/selinux/oracle-selinux/oracle.te
+++ b/selinux/oracle-selinux/oracle.te
@@ -221,3 +221,6 @@ require {
allow oracle_sqlplus_t self:netlink_route_socket { write getattr read bind create nlmsg_read };
dev_list_sysfs(oracle_sqlplus_t)
+
+filetrans_pattern(oracle_db_t, oracle_tnslsnr_log_t, oracle_db_log_t, { file })
+create_files_pattern(oracle_db_t, oracle_tnslsnr_log_t, oracle_db_log_t)
diff --git a/selinux/oracle-xe-selinux/oracle-xe.fc b/selinux/oracle-xe-selinux/oracle-xe.fc
index 2c8adfb..d5d818c 100644
--- a/selinux/oracle-xe-selinux/oracle-xe.fc
+++ b/selinux/oracle-xe-selinux/oracle-xe.fc
@@ -52,6 +52,9 @@
/usr/lib/oracle/xe/app/oracle/product/(.*[0-9]/)?server/log(/.*)? gen_context(user_u:object_r:oracle_tnslsnr_log_t,s0)
/usr/lib/oracle/xe/app/oracle/product/(.*/)?network/log(/.*)? gen_context(user_u:object_r:oracle_tnslsnr_log_t,s0)
+# upon ORA-3136, database writes to network/log/sqlnet.log
+/usr/lib/oracle/xe/app/oracle/product/(.*/)?network/log/sqlnet\.log(.*)? gen_context(user_u:object_r:oracle_db_log_t,s0)
+
# otherwise this would be unlabeled
/var/tmp/.oracle(/.*)? gen_context(user_u:object_r:oracle_tmp_t,s0)
13 years, 2 months
java/code
by Michael Mraka
java/code/webapp/WEB-INF/pages/common/fragments/systems/group_listdisplay.jspf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0a224fe02fdda70bdd26b04147b919ea4c58cedb
Author: Marcelo Moreira de Mello <mmello(a)redhat.com>
Date: Tue Apr 5 17:30:03 2011 -0300
693889 - fix the update status icon not displayed in Chrome browser
diff --git a/java/code/webapp/WEB-INF/pages/common/fragments/systems/group_listdisplay.jspf b/java/code/webapp/WEB-INF/pages/common/fragments/systems/group_listdisplay.jspf
index 21fa04c..209258b 100644
--- a/java/code/webapp/WEB-INF/pages/common/fragments/systems/group_listdisplay.jspf
+++ b/java/code/webapp/WEB-INF/pages/common/fragments/systems/group_listdisplay.jspf
@@ -29,7 +29,7 @@
styleclass="center"
headerclass="thin-column">
- <c:out value="<a href=\"/network/systems/groups/errata_list.pxt?sgid=${current.id}\"" escapeXml="false" />
+ <c:out value="<a href=\"/network/systems/groups/errata_list.pxt?sgid=${current.id}\">" escapeXml="false"/>
<c:choose>
<c:when test="${current.mostSevereErrata == 'Security Advisory'}">
13 years, 2 months
Changes to 'refs/tags/yum-rhn-plugin-1.4.12-1'
by Michael Mraka
Tag 'yum-rhn-plugin-1.4.12-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2011-04-06 07:41 +0000
Tagging package [yum-rhn-plugin] version [1.4.12-1] in directory [client/rhel/yum-rhn-plugin/].
Changes since oracle-rhnsat-selinux-10.2.0.17-1:
Jan Pazdziora (1):
SELECT UNIQUE is not supported by PostgreSQL, fixing.
Michael Mraka (2):
there not opts when called from rhn_check
Automatic commit of package [yum-rhn-plugin] release [1.4.12-1].
---
client/rhel/yum-rhn-plugin/rhnplugin.py | 3 ++-
client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec | 5 ++++-
java/code/src/com/redhat/rhn/common/db/datasource/xml/Channel_queries.xml | 2 +-
rel-eng/packages/yum-rhn-plugin | 2 +-
4 files changed, 8 insertions(+), 4 deletions(-)
---
13 years, 2 months
client/rhel rel-eng/packages
by Michael Mraka
client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec | 5 ++++-
rel-eng/packages/yum-rhn-plugin | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 4d28fd4d857a6fddc0fba7fcc947cb91d3062c12
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Apr 6 09:41:58 2011 +0200
Automatic commit of package [yum-rhn-plugin] release [1.4.12-1].
diff --git a/client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec b/client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec
index b1ebb5a..45c2962 100644
--- a/client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec
+++ b/client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec
@@ -1,6 +1,6 @@
Summary: RHN support for yum
Name: yum-rhn-plugin
-Version: 1.4.11
+Version: 1.4.12
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Base
@@ -72,6 +72,9 @@ fi
%doc LICENSE
%changelog
+* Wed Apr 06 2011 Michael Mraka <michael.mraka(a)redhat.com> 1.4.12-1
+- there're no opts when called from rhn_check
+
* Mon Apr 04 2011 Michael Mraka <michael.mraka(a)redhat.com> 1.4.11-1
- 688870 - resolve --enablerepo/--disablerepo for RHN repos
diff --git a/rel-eng/packages/yum-rhn-plugin b/rel-eng/packages/yum-rhn-plugin
index 70bf5c6..1c9d7fc 100644
--- a/rel-eng/packages/yum-rhn-plugin
+++ b/rel-eng/packages/yum-rhn-plugin
@@ -1 +1 @@
-1.4.11-1 client/rhel/yum-rhn-plugin/
+1.4.12-1 client/rhel/yum-rhn-plugin/
13 years, 2 months
client/rhel
by Michael Mraka
client/rhel/yum-rhn-plugin/rhnplugin.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit fc582aee3a0f3e563ae6cfbfc5ead05f2a3b9298
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Apr 6 09:38:40 2011 +0200
there not opts when called from rhn_check
fixing
...
File "/usr/share/yum-plugins/rhnplugin.py", line 198, in prereposetup_hook
for opt, repoexp in opts.repos:
exceptions.AttributeError: 'NoneType' object has no attribute 'repos'
diff --git a/client/rhel/yum-rhn-plugin/rhnplugin.py b/client/rhel/yum-rhn-plugin/rhnplugin.py
index 0e2e728..ec845eb 100644
--- a/client/rhel/yum-rhn-plugin/rhnplugin.py
+++ b/client/rhel/yum-rhn-plugin/rhnplugin.py
@@ -195,7 +195,8 @@ def prereposetup_hook(conduit):
# resolve --enablerepo/--disablerepo for RHN repos
opts = conduit.getCmdLine()[0]
- for opt, repoexp in opts.repos:
+ if opts:
+ for opt, repoexp in opts.repos:
if opt == '--enablerepo':
conduit._base.repos.enableRepo(repoexp)
elif opt == '--disablerepo':
13 years, 2 months
java/code
by Jan Pazdziora
java/code/src/com/redhat/rhn/common/db/datasource/xml/Channel_queries.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 43c5f493df769e2ef281bc2ec0a3774a98c5ddf5
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Tue Apr 5 20:00:55 2011 +0200
SELECT UNIQUE is not supported by PostgreSQL, fixing.
Addressing
javax.servlet.ServletException: ERROR: syntax error at or near "c"
[...]
at com.redhat.rhn.manager.channel.ChannelManager.listBaseEusChannelsByVersionReleaseAndServerArch(ChannelManager.java:2222)
diff --git a/java/code/src/com/redhat/rhn/common/db/datasource/xml/Channel_queries.xml b/java/code/src/com/redhat/rhn/common/db/datasource/xml/Channel_queries.xml
index d719886..6c3118d 100644
--- a/java/code/src/com/redhat/rhn/common/db/datasource/xml/Channel_queries.xml
+++ b/java/code/src/com/redhat/rhn/common/db/datasource/xml/Channel_queries.xml
@@ -736,7 +736,7 @@ SELECT C.id, C.name, C.label, 1 AS IS_CUSTOM
<mode name="base_eus_channels_by_version_release_server_arch"
class="com.redhat.rhn.frontend.dto.EssentialChannelDto">
<query params="product_name_label, version, server_arch, user_id, org_id">
- select unique c.id,
+ select distinct c.id,
c.label,
c.name,
rcm.release,
13 years, 2 months
Changes to 'refs/tags/oracle-rhnsat-selinux-10.2.0.17-1'
by Jan Pazdziora
Tag 'oracle-rhnsat-selinux-10.2.0.17-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2011-04-05 15:08 +0000
Tagging package [oracle-rhnsat-selinux] version [10.2.0.17-1] in directory [selinux/oracle-rhnsat-selinux/].
Changes since spacewalk-setup-1.4.8-1:
Jan Pazdziora (2):
Making oracle_common_log_t into a logging type.
Automatic commit of package [oracle-rhnsat-selinux] release [10.2.0.17-1].
---
rel-eng/packages/oracle-rhnsat-selinux | 2 +-
selinux/oracle-rhnsat-selinux/oracle-rhnsat-selinux.spec | 5 ++++-
selinux/oracle-rhnsat-selinux/oracle-rhnsat.te | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
---
13 years, 2 months