Re: [Spacewalk-devel] [Spacewalk-list] Modification of spacewalk-service script

2011-11-13 Thread Pierre Casenove
Let's forget the subject, no problem. I share Miroslav point of view, but understand yours. And you're right, it'll surely be a maintenance burden. I'll investigate on database reconnection problem only. I just wanted to help, you know! By the way, I couldn't get rid of osa-distpatcher error messag

Re: [Spacewalk-devel] [Spacewalk-list] Modification of spacewalk-service script

2011-11-13 Thread Jan Pazdziora
On Sat, Nov 12, 2011 at 09:52:07PM +0100, Pierre Casenove wrote: > Ok no problem, no patch so. If you're against it, I won't insist! > Just to answer your email : HTTPD is also quite independant from the > spacewalk product and still, it is controlled. And if postgresql gets It is not as independe

Re: [Spacewalk-devel] [Spacewalk-list] Modification of spacewalk-service script

2011-11-12 Thread Miroslav Suchy
- Original Message - > I'm against this change. The database (PostgreSQL, Oracle XE) is > completely independent from the Spacewalk software product and the > spacewalk-service script should have no business fiddling with them. Define "completely independent". It is not true. Spacewalk use

Re: [Spacewalk-devel] [Spacewalk-list] Modification of spacewalk-service script

2011-11-12 Thread Pierre Casenove
Thanks a lot for your help and hints. I'll parse rhn.conf file to find the correct db (db_backend). For postgresql real activation, I'll do some tests on my server and use your outputs. pierre 2011/11/12 Miroslav Suchy > - Original Message - > > > > Switching to the correct list. > > O

Re: [Spacewalk-devel] [Spacewalk-list] Modification of spacewalk-service script

2011-11-12 Thread Miroslav Suchy
- Original Message - > > Switching to the correct list. > OK, I'll modify the script to try to find /etc/init.d/postgresql OR > /etc/systemd/postgresql.service. > And then, I let "service" to the job! > Thanks for the tips on systemd and see you on monday for the updated > patch. FYI: # c

Re: [Spacewalk-devel] [Spacewalk-list] Modification of spacewalk-service script

2011-11-12 Thread Pierre Casenove
Switching to the correct list. OK, I'll modify the script to try to find /etc/init.d/postgresql OR /etc/systemd/postgresql.service. And then, I let "service" to the job! Thanks for the tips on systemd and see you on monday for the updated patch. Pierre 2011/11/12 Miroslav Suchy > > > - Ori