Bug 428799

Summary: openserdbctl script
Product: [Fedora] Fedora Reporter: Ennio Angeloni <ennio.angeloni>
Component: openserAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: ondrejj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3.0-6.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-19 03:14:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
openserdbctl patch to read config from /etc too none

Description Ennio Angeloni 2008-01-15 11:00:11 UTC
Description of problem:
path for openserctlrc### include resource files, if any


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
### include resource files, if any
if [ -f /usr/etc/openser//openserctlrc ]; then
if [ -f /usr/etc/openser//openserctlrc ]; then
	. /usr/etc/openser//openserctlrc


Expected results:
### include resource files, if any
if [ -f /etc/openser/openserctlrc ]; then
	. /etc/openser/openserctlrc


Additional info:

Comment 1 Jan ONDREJ 2008-01-15 12:08:27 UTC
Where it is present? In my openser-1.3.0-1.fc8 in file /usr/sbin/openserctl
there is this content:

### include resource files, if any
if [ -f /etc/openser/openserctlrc ]; then
        . /etc/openser/openserctlrc
fi


Comment 2 Jan ONDREJ 2008-01-15 12:18:04 UTC
Created attachment 291706 [details]
openserdbctl patch to read config from /etc too

I think it is missed in openserdbctl. Already fixed upstream.

Adding a patch from trunk, but may be need more work to apply to openser rpm
package.

Comment 3 Jan ONDREJ 2008-01-22 07:06:17 UTC
openser-1.3.0-2.fc7 has been released into updates-testing repository.
Please update your installation and check, if this problem has been fixed.

To update you can use:
  yum update --enablerepo=updates-testing openser\*

This package is not on all mirrors yet. Try after aprox. 5-10 hours.


Comment 4 Fedora Update System 2008-01-22 15:41:10 UTC
openser-1.3.0-2.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update openser'

Comment 5 Fedora Update System 2008-01-22 15:47:43 UTC
openser-1.3.0-2.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update openser'

Comment 6 Ennio Angeloni 2008-01-24 21:48:40 UTC
(In reply to comment #5)
> openser-1.3.0-2.fc8 has been pushed to the Fedora 8 testing repository.  If
problems still persist, please make note of it in this bug report.
>  If you want to test the update, you can install it with 
>  su -c 'yum --enablerepo=updates-testing update openser'

No change on /usr/sbin/openserdbctl
It works only if you run it from
/etc/openser
where the openserctlrc is created by default

OK not a big problem!

Comment 7 Jan ONDREJ 2008-01-25 12:36:13 UTC
New openser packages is present in koji:
  http://koji.fedoraproject.org/koji/buildinfo?buildID=32872

openserdbctl works for me. Can you confirm this?

Thank you.


Comment 8 Ennio Angeloni 2008-01-25 16:14:56 UTC
openserdbctl works now.

Thank you.

Comment 9 Fedora Update System 2008-01-27 07:20:53 UTC
openser-1.3.0-6.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update openser'.  You can provide feedback for this update here: http://admin.fedoraproject.org/F8/FEDORA-2008-1074

Comment 10 Ennio Angeloni 2008-01-28 21:57:08 UTC
Sorry the URL http://admin.fedoraproject.org/F8/FEDORA-2008-1074 is not working:
   "Sorry! We couldn't find that file"

Report for openserdbctl:
1) path for openserctlrc  is OK
2) looking for /usr/lib/openser/openserctl/openserdbctl.mysql
   but only /usr/lib/openser/openserctl/openserctl.mysql was created
   After making a patch, it seems OK

Comment 11 Jan ONDREJ 2008-01-29 07:02:14 UTC
There is openserdbctl.mysql in my openser-mysql package:

[root@Vvoip openserctl]# rpm -qf /usr/lib/openser/openserctl/openserdbctl.mysql 
openser-mysql-1.3.0-6.fc8

Something wrong with your installation?

The URL http://admin.fedoraproject.org/F8/FEDORA-2008-1074 looks to be bodhi bug.
Can you report this in bodhi trac? Right URL is
https://admin.fedoraproject.org/updates/F8/FEDORA-2008-1074 .

Comment 12 Ennio Angeloni 2008-01-29 18:58:15 UTC
Updating openser-mysql-1.3.0-6.fc8 my problem is solved.

Sorry, I'm new for bug management: I imagine it needs an account for fedora
project to add comments.

Comment 13 Fedora Update System 2008-02-19 03:14:08 UTC
openser-1.3.0-6.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2008-02-19 03:15:51 UTC
openser-1.3.0-6.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.