[DebianGIS-dev] Bug#532145: Bug#532145: Acknowledgement ([osm2pgsql] osm2pgsql: always forces a password prompt - breaks unassisted map generation)

Andreas Putzo andreas at putzo.net
Mon Jun 8 21:43:36 UTC 2009


tags 532145 + fixed-upstream pending
thanks

Hi,

On Jun 07  04:08, Eddy Petrișor wrote:
> Package: osmqpgsql
> I just looked into the code and it seems that whenever the user
> parameter was given, the password prompt appeared, evn if not necessary.

Thanks for your bug report and the patch. The bug is already fixed
upstream the same way as you did. Please expect an updated packages soon.

> (D)Patch is attached, I tested it on my password-less config on a lenny
> machine (made a local backport) and it works properly. If used without a
> password when is actually needed this message appears, (which, imo,
> could be improved to add a hint, if -W wasn't present - "maybe a
> password is required?"), so I'd say the fix makes sense and doesn't
> break anything that worked before:
> 
> 
> 0 eddy at heidi ~/usr/src/osm/planet/git-planet-rom $ osm2pgsql -d gis -m
> -U osm planet-rom.osm
> osm2pgsql SVN version 0.52-20090607 $Rev: 7141 $
> 
> Connection to database failed: FATAL:  Ident authentication failed for
> user "osm"

The error message comes from postgres, i guess that's nothing osm2pgsql
should deal with :)

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20090608/38382b28/attachment.pgp>


More information about the Pkg-grass-devel mailing list