Re: [Spacewalk-devel] kickstartTreeHandler

2008-12-12 Thread Partha Aji

Yeah I realized it was new in sw 0.4 ...  Thats why I changed it :) ...

Partha

Mike McCune wrote:

Jesus M. Rodriguez wrote:

It's the right thing to do. /me hates having wordy method names when the
namespaces should be enough. Good job.

On Thu, Dec 11, 2008 at 10:33 PM, Partha Aji  wrote:
Thanks zeus :) .. I had the right intentions but I wonder if I was 
being a
bit naive here.. Hopefully qa automation tests that were written for 
this

are easy enough to change ,... If thats too much to change feel free to
revert

Partha


this handler is new in 0.4 so I doubt anything has been written for that 
API yet...


As long as you left the old one alone in KickstartHandler, we should be 
fine.


Mike



___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] kickstartTreeHandler

2008-12-12 Thread Mike McCune

Jesus M. Rodriguez wrote:

It's the right thing to do. /me hates having wordy method names when the
namespaces should be enough. Good job.

On Thu, Dec 11, 2008 at 10:33 PM, Partha Aji  wrote:

Thanks zeus :) .. I had the right intentions but I wonder if I was being a
bit naive here.. Hopefully qa automation tests that were written for this
are easy enough to change ,... If thats too much to change feel free to
revert

Partha


this handler is new in 0.4 so I doubt anything has been written for that 
API yet...


As long as you left the old one alone in KickstartHandler, we should be 
fine.


Mike

--
Mike McCune
mmccune AT redhat.com
Engineering   | Portland, OR
RHN Satellite | 650.567.9039x79248

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] httpd.conf?

2008-12-12 Thread Mike McCune

Michael DeHaan wrote:

Mike McCune wrote:

Jan Pazdziora wrote:

On Wed, Dec 10, 2008 at 11:02:06PM -0500, Jesus M. Rodriguez wrote:

Mike,

I thought we were getting rid of satellite-httpd in favor of 
/etc/httpd/conf.d?


http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=056892dfcd5dcabc49bb7b487033227ed5268f13 


Well, some people pointed out how good it would be to do that but
noone has shown how exactly to handle the SSL VirtualHost problem.

Yes, we are getting rid of it but I'm hedging a bet that we won't have 
time to get to it during 0.4


Mike

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel



The problem with apps that clobber http.conf is they'll break any other 
web app on the system.


Since the release is going to contain Cobbler I would /much/ rather that 
Cobbler own and deploy it's own configuration file rather than having 
Spacewalk set up a configuration that ignores it.  This makes upgrades 
much much easier as well, and ensures that user customizations to 
httpd.conf are preserved.


dparker is working on moving to conf.d style deploy as we speak so this 
is all probably a non-issue unless we get horribly stuck.


--
Mike McCune
mmccune AT redhat.com
Engineering   | Portland, OR
RHN Satellite | 650.567.9039x79248

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] httpd.conf?

2008-12-12 Thread Michael DeHaan

Mike McCune wrote:

Jan Pazdziora wrote:

On Wed, Dec 10, 2008 at 11:02:06PM -0500, Jesus M. Rodriguez wrote:

Mike,

I thought we were getting rid of satellite-httpd in favor of 
/etc/httpd/conf.d?


http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=056892dfcd5dcabc49bb7b487033227ed5268f13 



Well, some people pointed out how good it would be to do that but
noone has shown how exactly to handle the SSL VirtualHost problem.



Yes, we are getting rid of it but I'm hedging a bet that we won't have 
time to get to it during 0.4


Mike

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel



The problem with apps that clobber http.conf is they'll break any other 
web app on the system.


Since the release is going to contain Cobbler I would /much/ rather that 
Cobbler own and deploy it's own configuration file rather than having 
Spacewalk set up a configuration that ignores it.  This makes upgrades 
much much easier as well, and ensures that user customizations to 
httpd.conf are preserved.


--Michael


___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] symlink of sqlplus

2008-12-12 Thread Michael Mraka
Michael Mraka wrote:
% ...
% % That's odd. Because I'm seeing what Jan pointed out as well, 
% % oracle-instantclient-sqlplus that I have installed puts sqlplus in
% % /usr/bin (well sqlplus64). And it's the Oracle version:
% ...
% % # rpm -ql oracle-instantclient-sqlplus
% % /usr/bin/sqlplus64
% % /usr/lib/oracle/10.2.0.4/client64/bin/sqlplus
% % /usr/lib/oracle/10.2.0.4/client64/lib/glogin.sql
% % /usr/lib/oracle/10.2.0.4/client64/lib/libsqlplus.so
% % /usr/lib/oracle/10.2.0.4/client64/lib/libsqlplusic.so
% % 
% % This is indeed odd behavior.
% 
% I made this changes on x86_64 machine and I overlooked that there is
% sqlplus64 in /usr/bin.
% 
% Thanks Jan and Prad for throwing light upon the situation...

Oops, I mean Jan and Jesus of course :).

% I'm going to fix it.

--
Michael Mráka
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] symlink of sqlplus

2008-12-12 Thread Michael Mraka
...
% That's odd. Because I'm seeing what Jan pointed out as well, 
% oracle-instantclient-sqlplus that I have installed puts sqlplus in
% /usr/bin (well sqlplus64). And it's the Oracle version:
...
% # rpm -ql oracle-instantclient-sqlplus
% /usr/bin/sqlplus64
% /usr/lib/oracle/10.2.0.4/client64/bin/sqlplus
% /usr/lib/oracle/10.2.0.4/client64/lib/glogin.sql
% /usr/lib/oracle/10.2.0.4/client64/lib/libsqlplus.so
% /usr/lib/oracle/10.2.0.4/client64/lib/libsqlplusic.so
% 
% This is indeed odd behavior.

I made this changes on x86_64 machine and I overlooked that there is
sqlplus64 in /usr/bin.

Thanks Jan and Prad for throwing light upon the situation...
I'm going to fix it.

--
Michael Mráka
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Patches: rhncfg-*

2008-12-12 Thread Pradeep Kilambi

Coe, Colin C. (Unix Engineer) wrote:

Hi all

Attached are two patches.

The first fixes an issue where the sticky, suid and/or guid bits are ignored 
when uploading files using rhncfg-manager.
  


first patch tested and applied!


The second provides an 'ls' like output of managed files.  Called by 
'rhncfg-client elist'.  (I'm submitting this on behalf of a colleague, Ian 
Chapman.)

  


I'm still working on reviewing/testing this. Will update on this when done.

Thanks,
~ Prad


Thanks
 
CC



NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
  



___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel



--
--
Pradeep Kilambi
RHN Satellite Engineering
pkila...@redhat.com
Phone: +1 919 754 4285
RHCE # 805008680430554


___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] symlink of sqlplus

2008-12-12 Thread Jesus Rodriguez
On Fri, Dec 12, 2008 at 11:07:30AM +0100, Michael Mraka wrote:
> Jan Pazdziora wrote:
> % On Thu, Dec 11, 2008 at 09:45:47PM -0500, Jesus M. Rodriguez wrote:
> % > Michael,
> % > 
> % > Excellent, thanks for doing this.
> % > 
> % > 
> http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=7c1c8cd0faa52a34db383e7477567bd20971806c
> % 
> % I'm a bit confused:
> % 
> % # rpm -ql oracle-instantclient-sqlplus-10.2.0.4-1
> % /usr/bin/sqlplus
> % /usr/lib/oracle/10.2.0.4/client/bin/sqlplus
> % /usr/lib/oracle/10.2.0.4/client/lib/glogin.sql
> % /usr/lib/oracle/10.2.0.4/client/lib/libsqlplus.so
> % /usr/lib/oracle/10.2.0.4/client/lib/libsqlplusic.so
> % # ls -lad /usr/bin/sqlplus
> % lrwxrwxrwx 1 root root 43 Dec 12 10:18 /usr/bin/sqlplus -> 
> /usr/lib/oracle/10.2.0.4/client/bin/sqlplus
> % 
> % The oracle-instantclient-sqlplus package seems to do that symlink just
> % fine. If you do it in oracle-lib-compat and do not have the
> 
> Yes, if we are talking about satellite's oracle-instantclient*rpm which is
> packed by us.
> 
> % oracle-instantclient-sqlplus installed, you'll get dangling symlink.
> % And if you have oracle-instantclient-sqlplus installed, you already
> % have the symlink.
> 
> But no, if we are talking about spacewalk where oracle-instanclient-*rpm
> comes from www.oracle.com. So in spacewalk we use oracle-lib-compat package
> to setup oracle's environment same way as it's in satellite.

That's odd. Because I'm seeing what Jan pointed out as well, 
oracle-instantclient-sqlplus that I have installed puts sqlplus in
/usr/bin (well sqlplus64). And it's the Oracle version:

# rpm -qi oracle-instantclient-sqlplus
Name: oracle-instantclient-sqlplus  Relocations: (not relocatable)
Version : 10.2.0.4  Vendor: Oracle Corporation
Release : 1 Build Date: Wed 12 Mar 2008 02:38:47
AM EDT
Install Date: Mon 17 Nov 2008 01:27:29 PM EST  Build Host:
stbbq02.us.oracle.com
Group   : Applications/File Source RPM:
oracle-instantclient-sqlplus-10.2.0.4-1.src.rpm
Size: 2439559  License: Oracle
Signature   : (none)
Packager: Nobody 
URL : http://www.oracle.com/
Summary : SQL*Plus for Instant Client.
Description :
Instant Client allows you to run your applications without installing the
standard Oracle client or having and ORACLE_HOME.  OCI, OCCI, ODBC, and JDBC
applications work without modification, while using significantly less disk
space than before.  Even SQL*Plus can be used with Instant Client.  No
recompile, no hassle.

This package provides SQL*Plus for Instant Client.

# rpm -ql oracle-instantclient-sqlplus
/usr/bin/sqlplus64
/usr/lib/oracle/10.2.0.4/client64/bin/sqlplus
/usr/lib/oracle/10.2.0.4/client64/lib/glogin.sql
/usr/lib/oracle/10.2.0.4/client64/lib/libsqlplus.so
/usr/lib/oracle/10.2.0.4/client64/lib/libsqlplusic.so

This is indeed odd behavior.

jesus
-- 
jesus m. rodriguez| jes...@redhat.com
sr. software engineer | irc: zeus
rhn satellite & spacewalk | 919.754.4413 (w)
rhce # 805008586930012| 919.623.0080 (c)
+---+
|  "Those who cannot learn from history |
|   are doomed to repeat it."   |
|   -- George Santayana |
+---+

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] symlink of sqlplus

2008-12-12 Thread Jesus Rodriguez
On Fri, Dec 12, 2008 at 10:24:15AM +0100, Jan Pazdziora wrote:
> On Thu, Dec 11, 2008 at 09:45:47PM -0500, Jesus M. Rodriguez wrote:
> > Michael,
> > 
> > Excellent, thanks for doing this.
> > 
> > http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=7c1c8cd0faa52a34db383e7477567bd20971806c
> 
> I'm a bit confused:
> 
> # rpm -ql oracle-instantclient-sqlplus-10.2.0.4-1
> /usr/bin/sqlplus
> /usr/lib/oracle/10.2.0.4/client/bin/sqlplus
> /usr/lib/oracle/10.2.0.4/client/lib/glogin.sql
> /usr/lib/oracle/10.2.0.4/client/lib/libsqlplus.so
> /usr/lib/oracle/10.2.0.4/client/lib/libsqlplusic.so
> # ls -lad /usr/bin/sqlplus
> lrwxrwxrwx 1 root root 43 Dec 12 10:18 /usr/bin/sqlplus -> 
> /usr/lib/oracle/10.2.0.4/client/bin/sqlplus
> 
> The oracle-instantclient-sqlplus package seems to do that symlink just
> fine. If you do it in oracle-lib-compat and do not have the
> oracle-instantclient-sqlplus installed, you'll get dangling symlink.
> And if you have oracle-instantclient-sqlplus installed, you already
> have the symlink.
> 
> Can someone enlighten me?

Interesting. On my 64bit box with oracle-instantclient-sqlplus, I have
the following:

# rpm -ql oracle-instantclient-sqlplus-10.2.0.4-1
/usr/bin/sqlplus64
/usr/lib/oracle/10.2.0.4/client64/bin/sqlplus
/usr/lib/oracle/10.2.0.4/client64/lib/glogin.sql
/usr/lib/oracle/10.2.0.4/client64/lib/libsqlplus.so
/usr/lib/oracle/10.2.0.4/client64/lib/libsqlplusic.so

doing a which I get the one from xe:

# which sqlplus
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus

# rpm -q --whatprovides 
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus
oracle-xe-univ-10.2.0.1-1.0

On my 32-bit box I don't have oracle-instantclient-sqlplus at all.
It looks like I'm using the sqlplus that comes with Oracle XE.

So maybe the right solution is to require oracle-instantclient-sqlplus
and do the symlink for /usr/bin/sqlplus ONLY for the 64-bit version
i.e. ln -s /usr/bin/sqlplus64 /usr/bin/sqlplus

Thanks Jan for keeping an eye on this, I missed it.

-- 
jesus m. rodriguez| jes...@redhat.com
sr. software engineer | irc: zeus
rhn satellite & spacewalk | 919.754.4413 (w)
rhce # 805008586930012| 919.623.0080 (c)
+---+
|  "Those who cannot learn from history |
|   are doomed to repeat it."   |
|   -- George Santayana |
+---+

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] symlink of sqlplus

2008-12-12 Thread Jan Pazdziora
On Fri, Dec 12, 2008 at 11:07:30AM +0100, Michael Mraka wrote:
> % 
> % The oracle-instantclient-sqlplus package seems to do that symlink just
> % fine. If you do it in oracle-lib-compat and do not have the
> 
> Yes, if we are talking about satellite's oracle-instantclient*rpm which is
> packed by us.
> 
> % oracle-instantclient-sqlplus installed, you'll get dangling symlink.
> % And if you have oracle-instantclient-sqlplus installed, you already
> % have the symlink.
> 
> But no, if we are talking about spacewalk where oracle-instanclient-*rpm
> comes from www.oracle.com. So in spacewalk we use oracle-lib-compat package
> to setup oracle's environment same way as it's in satellite.

Hmmm, this one seems to have been built by Oracle yet it has the
/usr/bin/sqlplus thing in it:

# rpm -qi oracle-instantclient-sqlplus-10.2.0.4-1
Name: oracle-instantclient-sqlplus  Relocations: (not relocatable)
Version : 10.2.0.4  Vendor: Oracle Corporation
Release : 1 Build Date: Sun 17 Feb 2008 
09:59:52 AM CET
Install Date: Fri 12 Dec 2008 10:18:32 AM CET  Build Host: 
stamc08.us.oracle.com
Group   : Applications/File Source RPM: 
oracle-instantclient-sqlplus-10.2.0.4-1.src.rpm
Size: 2509293  License: Oracle
Signature   : (none)
Packager: Nobody 
URL : http://www.oracle.com/
Summary : SQL*Plus for Instant Client.
Description :
Instant Client allows you to run your applications without installing the 
standard Oracle client or having and ORACLE_HOME.  OCI, OCCI, ODBC, and JDBC 
applications work without modification, while using significantly less disk 
space than before.  Even SQL*Plus can be used with Instant Client.  No 
recompile, no hassle.

This package provides SQL*Plus for Instant Client.
# rpm -ql oracle-instantclient-sqlplus-10.2.0.4-1
/usr/bin/sqlplus
/usr/lib/oracle/10.2.0.4/client/bin/sqlplus
/usr/lib/oracle/10.2.0.4/client/lib/glogin.sql
/usr/lib/oracle/10.2.0.4/client/lib/libsqlplus.so
/usr/lib/oracle/10.2.0.4/client/lib/libsqlplusic.so
# 

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] symlink of sqlplus

2008-12-12 Thread Michael Mraka
Jan Pazdziora wrote:
% On Thu, Dec 11, 2008 at 09:45:47PM -0500, Jesus M. Rodriguez wrote:
% > Michael,
% > 
% > Excellent, thanks for doing this.
% > 
% > 
http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=7c1c8cd0faa52a34db383e7477567bd20971806c
% 
% I'm a bit confused:
% 
% # rpm -ql oracle-instantclient-sqlplus-10.2.0.4-1
% /usr/bin/sqlplus
% /usr/lib/oracle/10.2.0.4/client/bin/sqlplus
% /usr/lib/oracle/10.2.0.4/client/lib/glogin.sql
% /usr/lib/oracle/10.2.0.4/client/lib/libsqlplus.so
% /usr/lib/oracle/10.2.0.4/client/lib/libsqlplusic.so
% # ls -lad /usr/bin/sqlplus
% lrwxrwxrwx 1 root root 43 Dec 12 10:18 /usr/bin/sqlplus -> 
/usr/lib/oracle/10.2.0.4/client/bin/sqlplus
% 
% The oracle-instantclient-sqlplus package seems to do that symlink just
% fine. If you do it in oracle-lib-compat and do not have the

Yes, if we are talking about satellite's oracle-instantclient*rpm which is
packed by us.

% oracle-instantclient-sqlplus installed, you'll get dangling symlink.
% And if you have oracle-instantclient-sqlplus installed, you already
% have the symlink.

But no, if we are talking about spacewalk where oracle-instanclient-*rpm
comes from www.oracle.com. So in spacewalk we use oracle-lib-compat package
to setup oracle's environment same way as it's in satellite.


--
Michael Mráka
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] symlink of sqlplus

2008-12-12 Thread Jan Pazdziora
On Thu, Dec 11, 2008 at 09:45:47PM -0500, Jesus M. Rodriguez wrote:
> Michael,
> 
> Excellent, thanks for doing this.
> 
> http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=7c1c8cd0faa52a34db383e7477567bd20971806c

I'm a bit confused:

# rpm -ql oracle-instantclient-sqlplus-10.2.0.4-1
/usr/bin/sqlplus
/usr/lib/oracle/10.2.0.4/client/bin/sqlplus
/usr/lib/oracle/10.2.0.4/client/lib/glogin.sql
/usr/lib/oracle/10.2.0.4/client/lib/libsqlplus.so
/usr/lib/oracle/10.2.0.4/client/lib/libsqlplusic.so
# ls -lad /usr/bin/sqlplus
lrwxrwxrwx 1 root root 43 Dec 12 10:18 /usr/bin/sqlplus -> 
/usr/lib/oracle/10.2.0.4/client/bin/sqlplus

The oracle-instantclient-sqlplus package seems to do that symlink just
fine. If you do it in oracle-lib-compat and do not have the
oracle-instantclient-sqlplus installed, you'll get dangling symlink.
And if you have oracle-instantclient-sqlplus installed, you already
have the symlink.

Can someone enlighten me?

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel