[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #29425 [Metrics/Statistics]: Write integration tests for data-processing modules



#29425: Write integration tests for data-processing modules
-------------------------------------+--------------------------------
 Reporter:  karsten                  |          Owner:  metrics-team
     Type:  enhancement              |         Status:  needs_revision
 Priority:  Medium                   |      Milestone:
Component:  Metrics/Statistics       |        Version:
 Severity:  Normal                   |     Resolution:
 Keywords:  metrics-roadmap-2019-q2  |  Actual Points:
Parent ID:                           |         Points:  8
 Reviewer:  irl                      |        Sponsor:
-------------------------------------+--------------------------------

Comment (by karsten):

 I'm unclear how to reproduce or fix that UTF8 encoding issue. How would I
 do this?

 Regarding the PostgreSQL server setup, the easiest way is to enable
 `trust` authentication for users connecting from localhost, so in other
 words disable authentication for whoever manages to connect to the
 database. In order to do this, you'll have to edit your `pg_hba.conf` file
 in `/etc/postgresql/$postgresql_version/main/` by replacing these lines:

 {{{
 local   all             all                                     peer
 host    all             all             127.0.0.1/32            md5
 host    all             all             ::1/128                 md5
 }}}

 with these lines:

 {{{
 local   all             all                                     trust
 host    all             all             127.0.0.1/32            trust
 host    all             all             ::1/128                 trust
 }}}

 That's what I'm doing on my development machine, and it might well be that
 it was `brew` setting this up as default. I know that this setting is
 different on Debian, and it's likely going to be different on any
 production system. Still, for running tests this should be sufficient. And
 yes, if we require this, we should document it.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29425#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs