[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-bugs
Subject:    [Bricolage-Bugs] [Bug 330] install doesn't work
From:       bugzilla-daemon () thepirtgroup ! com
Date:       2003-02-28 15:37:50
[Download RAW message or body]

david@wheeler.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED



------- Additional Comments From david@wheeler.net  2003-02-28 15:37 -------
I've reapplied the code for changing the EUID of the user (copyied from
dbuninstall.pl) and moved the .db.error file to tmpdir. Thanks. I'd forgotten
about IDENT, which of course was why the EUID was changed in the first place.

Not sure why you're getting that password prompt, though, since db.pl isn't
using the -W argument to psql. This is what it's doing:

  psql -q -f inst/Pg.sql -d bric

What happens when you execute that on the command-line? Does it prompt you for a
password? If so, can you figure out how to prevent it from prompting you? If
not, it seems like some sort of strange PostgreSQL configuration issue. That's
because the only difference between the above call to psql and the others is
that it uses the -f option to specify a file with the SQL in it, rather than the
command line. For example, to create a new database, it does this:

  psql -q -c "CREATE DATABASE bric  WITH ENCODING = 'UNICODE'" -d template1

Anyway, if you could mess around with psql on the command line and get it to
work with the -f argument without prompting you for a password, let me know how
you did it!

Thanks!

http://bugzilla.bricolage.cc/show_bug.cgi?id=330


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-Bugs mailing list
Bricolage-Bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic