[hntool] Issue 56 in hntool: Problem with path of postgresql

0 views
Skip to first unread message

hnt...@googlecode.com

unread,
May 23, 2010, 7:54:15 PM5/23/10
to hnt...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 56 by linux.rafa: Problem with path of postgresql
http://code.google.com/p/hntool/issues/detail?id=56

What steps will reproduce the problem?
1. python hntool

What is the expected output? What do you see instead?
The postgresql hntool module get the file in
/var/lib/pgsql/data/pg_hba.conf,I have postgresql installed in my debian
lenny and it put postgre file in /etc/postgresql/8.4/main/pg_hba.conf

We wanna create a way to get the correct path of file.

Please use labels and text to provide additional information.


--
You received this message because you are subscribed to the Google Groups "hntool" group.
To post to this group, send email to hnt...@googlegroups.com.
To unsubscribe from this group, send email to hntool+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hntool?hl=en.

hnt...@googlecode.com

unread,
Jul 1, 2010, 12:32:02 AM7/1/10
to hnt...@googlegroups.com

Comment #1 on issue 56 by linux.rafa: Problem with path of postgresql
http://code.google.com/p/hntool/issues/detail?id=56

How can we fix this issue? any ideas?

hnt...@googlecode.com

unread,
Aug 24, 2010, 9:28:57 PM8/24/10
to hnt...@googlegroups.com

Comment #2 on issue 56 by rosset.filipe: Problem with path of postgresql
http://code.google.com/p/hntool/issues/detail?id=56

For tests purposes, try these things:
- create a symbolic link on /var/lib/pgsql/data/pg_hba.conf pointing to
your /etc/postgresql/8.4/main/pg_hba.conf and test.

- edit /usr/lib/python2.X/site-packages/HnTool/modules/postgresql.py change
line 31 from self.required_files = ['/var/lib/pgsql/data/pg_hba.conf'
to self.required_files = ['/etc/postgresql/8.4/main/pg_hba.conf'

Please try change these things and let us know your results.

hnt...@googlecode.com

unread,
Aug 24, 2010, 9:43:41 PM8/24/10
to hnt...@googlegroups.com

Comment #3 on issue 56 by linux.rafa: Problem with path of postgresql
http://code.google.com/p/hntool/issues/detail?id=56

I know that it should fix, but my point is find I way to config the correct
path or "teacher" hntool to looking for that path.

Reply all
Reply to author
Forward
0 new messages