Bug 1187371 - [abrt] dnssec-trigger: dnssec-trigger-script:60:Config:NameError: name 'TRUE' is not defined
Summary: [abrt] dnssec-trigger: dnssec-trigger-script:60:Config:NameError: name 'TRUE'...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnssec-trigger
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Hozza
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:77a20341791cd9a40d5499954f2...
: 1193120 (view as bug list)
Depends On:
Blocks: Default_Local_DNS_Resolver
TreeView+ depends on / blocked
 
Reported: 2015-01-29 22:02 UTC by Ernesto Manríquez
Modified: 2015-04-21 18:48 UTC (History)
7 users (show)

Fixed In Version: dnssec-trigger-0.12-20.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-26 22:04:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (457 bytes, text/plain)
2015-01-29 22:02 UTC, Ernesto Manríquez
no flags Details
File: environ (83 bytes, text/plain)
2015-01-29 22:02 UTC, Ernesto Manríquez
no flags Details

Description Ernesto Manríquez 2015-01-29 22:02:53 UTC
Description of problem:
I was trying to connect to a wireless network, when, simply, DNSSEC failed.

Version-Release number of selected component:
dnssec-trigger-0.12-15.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python /usr/libexec/dnssec-trigger-script --cleanup
executable:     /usr/libexec/dnssec-trigger-script
kernel:         3.18.3-201.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
dnssec-trigger-script:60:Config:NameError: name 'TRUE' is not defined

Traceback (most recent call last):
  File "/usr/libexec/dnssec-trigger-script", line 48, in <module>
    class Config:
  File "/usr/libexec/dnssec-trigger-script", line 60, in Config
    "use_private_address_ranges": TRUE,
NameError: name 'TRUE' is not defined

Local variables in innermost frame:
path: '/etc/dnssec.conf'
__module__: '__main__'
__doc__: 'Global configuration options'

Comment 1 Ernesto Manríquez 2015-01-29 22:02:57 UTC
Created attachment 985789 [details]
File: backtrace

Comment 2 Ernesto Manríquez 2015-01-29 22:02:59 UTC
Created attachment 985790 [details]
File: environ

Comment 3 William Brown 2015-02-01 07:00:13 UTC
This causes dnssec-trigger to crash, and won't put in forwards for the local network.

The fix is that:

        "use_resolv_conf_symlink": False,
        "use_resolv_secure_conf_symlink": False,
        "use_private_address_ranges": TRUE,
        "set_search_domains": False,
        "keep_positive_answers": False,

Should be:

        "use_resolv_conf_symlink": False,
        "use_resolv_secure_conf_symlink": False,
        "use_private_address_ranges": True,
        "set_search_domains": False,
        "keep_positive_answers": False,


I have just updated this on my machine. It should be a pretty trivial fix.

Comment 4 Charles R. Anderson 2015-03-11 20:16:05 UTC
*** Bug 1193120 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2015-03-13 15:31:56 UTC
dnssec-trigger-0.12-19.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/dnssec-trigger-0.12-19.fc21

Comment 6 Fedora Update System 2015-03-13 15:31:57 UTC
dnssec-trigger-0.12-19.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/dnssec-trigger-0.12-19.fc22

Comment 7 Fedora Update System 2015-03-14 09:13:27 UTC
Package dnssec-trigger-0.12-19.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnssec-trigger-0.12-19.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-3843/dnssec-trigger-0.12-19.fc21
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-03-26 22:04:13 UTC
dnssec-trigger-0.12-19.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-04-21 18:48:47 UTC
dnssec-trigger-0.12-20.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.