Bug#329730: dbconfig-common: does not work for postgresql

2005-09-27 Thread sean finney
hi craig, i believe i've found the leakage and plugged it up. could you try the latest version of dbconfig-common in CVS and let me know if it works for you? things seem to work for both the db-test-pgsql and db-test packages, anyway. i've made a package you can download if you'd prefer: http:

Bug#329730: dbconfig-common: does not work for postgresql

2005-09-27 Thread sean finney
On Tue, Sep 27, 2005 at 10:25:03PM +1000, Craig Small wrote: > Then again > If Postgres is setup like this then when whoever wants to access it, > they will need to have a unix user (even if it is www-data) so they sort > of need to get the user sorted out anyhow. the real question is whether

Bug#329730: dbconfig-common: does not work for postgresql

2005-09-27 Thread Craig Small
On Tue, Sep 27, 2005 at 04:14:27AM -0400, sean finney wrote: > unfortunately, this would require me to know what was in the contents > of every sql file used by dbconfig-common using packages, or to Ah yes, I see. Then again If Postgres is setup like this then when whoever wants to access it,

Bug#329730: dbconfig-common: does not work for postgresql

2005-09-27 Thread sean finney
hi craig, On Tue, Sep 27, 2005 at 08:52:47AM +1000, Craig Small wrote: > On Mon, Sep 26, 2005 at 03:26:48AM -0400, sean finney wrote: > > it should only be attempting to chown if the app was configured to > > install via "ident sameuser", which currently is the default (because > > by default this

Bug#329730: dbconfig-common: does not work for postgresql

2005-09-26 Thread Craig Small
On Mon, Sep 26, 2005 at 03:26:48AM -0400, sean finney wrote: > it should only be attempting to chown if the app was configured to > install via "ident sameuser", which currently is the default (because > by default this is the only method that will work out of the box). of > course, if there's no

Bug#329730: dbconfig-common: does not work for postgresql

2005-09-26 Thread sean finney
hi craig, On Mon, Sep 26, 2005 at 09:35:17AM +1000, Craig Small wrote: > and this: > fozzie:~# su postgres > fozzie:~# id > uid=0(root) gid=0(root) groups=0(root) > fozzie:~# grep postgres /etc/passwd > postgres:x:108:108:PostgreSQL administrator,,,:/var/lib/postgresql:/bin/false > > /bin/false m

Bug#329730: dbconfig-common: does not work for postgresql

2005-09-25 Thread Craig Small
Next problem. The package is installing the tables into template1. I see things like: ++ su -s /bin/sh jffnms -c 'env HOME='\''/tmp/dbconfig-common.psql_home.N5k06P'\'' PGSSLMODE='\''prefer'\'' psql --set ON_ERROR_STOP=1 -q -U '\''postgres'\'' -U '\''postgres'\'' -U '\''jffnms'\'' template1'^M

Bug#329730: dbconfig-common: does not work for postgresql

2005-09-25 Thread Craig Small
On Fri, Sep 23, 2005 at 01:36:05AM -0400, sean finney wrote: > do you also have this problem in 1.8.4? i've never seen this problem > before, so i'm going to guess that it exists in both versions, but would > be good to know for sure. Yes, it is there with 1.8.4 The good news is I have found the p

Bug#329730: dbconfig-common: does not work for postgresql

2005-09-22 Thread sean finney
hi craig, On Fri, Sep 23, 2005 at 12:13:29PM +1000, Craig Small wrote: > Package: dbconfig-common > Version: 1.8.3 do you also have this problem in 1.8.4? i've never seen this problem before, so i'm going to guess that it exists in both versions, but would be good to know for sure. > Mysql seem

Bug#329730: dbconfig-common: does not work for postgresql

2005-09-22 Thread Craig Small
Package: dbconfig-common Version: 1.8.3 Severity: normal I tried using this package on mine. It comes up with: An error seems to of occured while installing the database. If it's of any help, this was the error encountered: (blank line) At this point, you have the option... This happened w