[mythtv-commits] Ticket #11391: mythtv-setup won't allow some addresses to be selected

MythTV noreply at mythtv.org
Sun Feb 3 18:24:07 UTC 2013


#11391: mythtv-setup won't allow some addresses to be selected
------------------------------------+----------------------------------
 Reporter:  Bill Meek <keemllib@…>  |           Type:  Patch - Bug Fix
   Status:  new                     |       Priority:  minor
Milestone:  unknown                 |      Component:  MythTV - General
  Version:  Unspecified             |       Severity:  medium
 Keywords:                          |  Ticket locked:  0
------------------------------------+----------------------------------
 0a40fff4d7c2d1f1b07eb1f0524a89b06e1270a7 adds combo
 boxes to mythtv-setup for Backend Server IP settings.

 This code presents the user with a list of IPv{4|6}
 addresses that match the following conditions:

 1. The address is already in Backend ServerIP[6]
 2. They are Loopback addresses
 3. They are Link-Local addresses
 4. Backend ServerIP[6] is empty

 If a user has (for example) Backend ServerIP set
 to 127.0.0.1 and their NIC has that Localhost
 address and 192.168.1.123, the Private Network
 address won't be displayed and can't be added.

 The same applies to IPv6 addresses that aren't
 in Backend Server IP6, Localhost or Link-Local.

 The comment in the existing source:
 {{{
 "restrict autoconfiguration to RFC1918 private networks"
 }}}
 no longer applies with this patch and was removed!

 For IPv6, Unique Local Addresses are allowed, but not
 other globally routable addresses e.g. 2001:db8:...

 0.27-pre2 workarounds. Use before starting mythtv-setup:

 {{{
 IPv4:

 UPDATE settings SET data = '' WHERE value = 'BackendServerIP'
     AND hostname = '<yourBEhost>' LIMIT 1;

 IPv6:

 UPDATE settings SET data = '' WHERE value = 'BackendServerIP6'
     AND hostname = '<yourBEhost>' LIMIT 1;
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11391>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list