Bug 31943

Summary: mysql323-server port hostname look up failed
Product: Ports & Packages Reporter: Donnie Jones <donniejones18>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Donnie Jones 2001-11-13 01:50:02 UTC
I did "make" and then "make install" for the mysql323-server port, and once the program reaches the point where mysql_install_db wants to lookup the hostname it errors and stops saying that the hostname couldn't not be looked up.  It was only using part of my hostname to be looked up....

Fix: 

In the mysql_install_db code it says to do "hostname -s" when looking up the hostname, I changed it to just "hostname" without the "-s" and the problem was fixed eventhough I had to do some working around with the make install b.c by re-running the "make install" it tries to reinstall the database and will overwrite the mysql_install_db file that was just edited.  Maybe this is a probkem that should be reported to mysql and not freebsd, but here you go. :)
How-To-Repeat: run "make install" for the port of mysql322-server
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2001-11-13 06:13:03 UTC
Responsible Changed
From-To: freebsd-ports->dirk

Over to maintainer
Comment 2 dirk freebsd_committer freebsd_triage 2001-11-24 10:00:56 UTC
State Changed
From-To: open->feedback

Can you please check, if setting SKIP_INSTALL_DB (e. g. 
make SKIP_INSTALL_DB=yes install) helps?
Comment 3 dirk freebsd_committer freebsd_triage 2001-12-09 21:37:32 UTC
State Changed
From-To: feedback->analyzed

Setting SKIP_DNS_CHECK works around this problem but perhaps 
removing "-s" from hostname would be a better solution.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2003-10-25 07:48:59 UTC
Responsible Changed
From-To: dirk->freebsd-ports-bugs

dirk no longer maintains this port, so set this PR free. 

Reviewed by: marcus.
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2004-01-16 09:29:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to qualified sorceror.
Comment 6 Alex Dupre freebsd_committer freebsd_triage 2004-01-16 18:13:17 UTC
State Changed
From-To: analyzed->closed

SKIP_DNS_CHECK is the right solution.