Hide Forgot
Description of problem: I disabled dnssec and stopped in exactly this way. Without stopping the unbound before this actions Version-Release number of selected component: dnssec-trigger-0.13-0.4.20150714svn.fc24 Additional info: reporter: libreport-2.7.2 cmdline: /usr/bin/python3 -sE /usr/libexec/dnssec-trigger-script --cleanup executable: /usr/libexec/dnssec-trigger-script kernel: 4.6.6-300.fc24.x86_64 pkg_fingerprint: 73BD E983 81B4 6521 pkg_vendor: Fedora Project runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: dnssec-trigger-script:536:_restart_nm:PermissionError: [Errno 13] Permission denied: '/var/run/NetworkManager/resolv.conf' -> '/etc/resolv.conf' Traceback (most recent call last): File "/usr/libexec/dnssec-trigger-script", line 768, in <module> main() File "/usr/libexec/dnssec-trigger-script", line 755, in main Application(sys.argv).run() File "/usr/libexec/dnssec-trigger-script", line 491, in run self.method() File "/usr/libexec/dnssec-trigger-script", line 612, in run_cleanup self.run_restore() File "/usr/libexec/dnssec-trigger-script", line 599, in run_restore self._restart_nm() File "/usr/libexec/dnssec-trigger-script", line 536, in _restart_nm os.symlink(self.resolvconf_networkmanager, self.resolvconf) PermissionError: [Errno 13] Permission denied: '/var/run/NetworkManager/resolv.conf' -> '/etc/resolv.conf' Local variables in innermost frame: self: <__main__.Application object at 0x7fc508e509b0>
Created attachment 1193308 [details] File: backtrace
Created attachment 1193309 [details] File: environ
Do you use SELinux? Are there any AVCs?
I don't know what to look for, so this is output of journalctl -b 0 | grep AVC. -------------------------------------- wrz 06 13:10:43 prime audit[1862]: AVC avc: denied { write } for pid=1862 comm="vboxdrv.sh" name="rules.d" dev="dm-1" ino=1836324 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:udev_rules_t:s0 tclass=dir permissive=0 wrz 06 15:26:01 prime audit[7887]: AVC avc: denied { create } for pid=7887 comm="bash" name="63" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 06 15:26:01 prime audit[7887]: AVC avc: denied { create } for pid=7887 comm="bash" name="62" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 06 16:26:48 prime audit[10405]: AVC avc: denied { create } for pid=10405 comm="bash" name="63" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 06 16:26:48 prime audit[10405]: AVC avc: denied { create } for pid=10405 comm="bash" name="62" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 06 20:10:20 prime audit[17630]: AVC avc: denied { create } for pid=17630 comm="bash" name="63" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 06 20:10:20 prime audit[17630]: AVC avc: denied { create } for pid=17630 comm="bash" name="62" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 06 20:51:52 prime audit[21045]: AVC avc: denied { create } for pid=21045 comm="bash" name="63" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 06 20:51:52 prime audit[21045]: AVC avc: denied { create } for pid=21045 comm="bash" name="62" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 07 00:09:05 prime audit[24923]: AVC avc: denied { create } for pid=24923 comm="wget" name="3" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 07 00:09:05 prime audit[24925]: AVC avc: denied { sys_ptrace } for pid=24925 comm="abrt-hook-ccpp" capability=19 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:system_r:abrt_dump_oops_t:s0 tclass=cap_userns permissive=0 wrz 07 00:09:05 prime audit[24925]: AVC avc: denied { sys_ptrace } for pid=24925 comm="abrt-hook-ccpp" capability=19 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:system_r:abrt_dump_oops_t:s0 tclass=cap_userns permissive=0 wrz 07 00:09:07 prime audit[24927]: AVC avc: denied { create } for pid=24927 comm="wget" name="3" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 07 00:22:56 prime audit[25461]: AVC avc: denied { create } for pid=25461 comm="bash" name="63" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 07 00:22:56 prime audit[25461]: AVC avc: denied { create } for pid=25461 comm="bash" name="62" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 wrz 07 10:38:37 prime audit[2651]: AVC avc: denied { write } for pid=2651 comm="iw" path="/run/tlp/lock_tlp" dev="tmpfs" ino=3029174 scontext=system_u:system_r:ifconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=0 wrz 07 10:38:37 prime audit[2654]: AVC avc: denied { write } for pid=2654 comm="ethtool" path="/run/tlp/lock_tlp" dev="tmpfs" ino=3029174 scontext=system_u:system_r:ifconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=0 wrz 07 13:27:47 prime audit[3175]: AVC avc: denied { write } for pid=3175 comm="iw" path="/run/tlp/lock_tlp" dev="tmpfs" ino=3029174 scontext=system_u:system_r:ifconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=0 wrz 07 13:27:47 prime audit[3178]: AVC avc: denied { write } for pid=3178 comm="ethtool" path="/run/tlp/lock_tlp" dev="tmpfs" ino=3029174 scontext=system_u:system_r:ifconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=0
Oh, sorry. And SELinux is enabled and in enforcing mode.
This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.