Univention Bugzilla – Full Text Bug Listing |
Summary: | no access to pykota postgresql database via localhost | ||
---|---|---|---|
Product: | UCS | Reporter: | Christina Scheinig <scheinig> |
Component: | Printserver - pykota | Assignee: | Janek Walkenhorst <walkenhorst> |
Status: | CLOSED FIXED | QA Contact: | Felix Botner <botner> |
Severity: | normal | ||
Priority: | P5 | CC: | botner, gohmann, grandjean |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.1-3-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 4: Minor Usability: Impairs usability in secondary scenarios |
Who will be affected by this bug?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.137 | Enterprise Customer affected?: | Yes |
School Customer affected?: | Yes | ISV affected?: | |
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2016080421000187 | Bug group (optional): | Workaround is available |
Max CVSS v3 score: |
Description
Christina Scheinig
2016-08-04 15:52:41 CEST
Workaround: replace "127.0.0.1" with "localhost" in conffiles/etc/postgresql/9.1/main/pg_hba.conf.d/11-pg_hba.conf The workaround does not work. The new configuration causes the postgresql service to fail to start # service postgresql restart [....] Restarting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2016-08-10 10:22:38 CEST LOG: ung?ltige Authentifizierungsmethode >>255.255.255.255<< 2016-08-10 10:22:38 CEST ZUSAMMENHANG: Zeile 88 in Konfigurationsdatei >>/etc/postgresql/9.1/main/pg_hba.conf<< 2016-08-10 10:22:38 CEST LOG: ung?ltige Authentifizierungsmethode >>255.255.255.255<< 2016-08-10 10:22:38 CEST ZUSAMMENHANG: Zeile 89 in Konfigurationsda[FAIL>/etc/postgresql/9.1/main/pg_hba.conf<< 2016-08-10 10:22:38 CEST FATAL: konnte pg_hba.conf nicht laden ... failed! failed! (In reply to Felix Botner from comment #1) > Workaround: > > replace "127.0.0.1" with "localhost" in > conffiles/etc/postgresql/9.1/main/pg_hba.conf.d/11-pg_hba.conf replace "127.0.0.1 255.255.255.255" with "localhost" it should look like this -> host pykota pykotaadmin localhost trust host pykota pykotauser localhost trust univention-printquota (8.0.1-2) unstable; urgency=medium * PostgreSQL 9.1 supports host names in pg_hba.conf: change 127.0.0.1/32 to localhost, and thus add support for IPv6 (Bug #41915) Tests: OK Advisory: univention-printquota.yaml OK - univention-printquotadb (localhost instead of 127.0.0.1 255.255.255.255 OK - YAML OK - merged to 4.2 |