Bug 1187371

Summary: [abrt] dnssec-trigger: dnssec-trigger-script:60:Config:NameError: name 'TRUE' is not defined
Product: [Fedora] Fedora Reporter: Ernesto Manríquez <alejandronova>
Component: dnssec-triggerAssignee: Tomáš Hozza <thozza>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: cra, pj.pandit, psimerda, pspacek, pwouters, thozza, william
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/54eccced2a63ea528c9e4abba169e5c62f61fd0f
Whiteboard: abrt_hash:77a20341791cd9a40d5499954f2ef2c59e8e4972
Fixed In Version: dnssec-trigger-0.12-20.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-26 22:04:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1182488    
Attachments:
Description Flags
File: backtrace
none
File: environ none

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.