Description of problem: cjdns does not create tun device at boot time Version-Release number of selected component (if applicable): cjdns-17.3-12.fc23.x86_64 How reproducible: always Steps to Reproduce: 1. reboot 2. ifconfig 3. Actual results: no tun device for cjdns Expected results: tun device for cjdns listed in ifconfig Additional info: systemctl restart cjdns creates the tun device as expected. How does this happen? Has something else loaded the tun driver by that time? cjdns-17.3-11 works at boot. The problem is that the systemd service has to load the tun driver, which it does unconditionally in release 11. Release 12 loads the tun driver only if /dev/tun does not already exist. This allows cjdns to run in Fedora under openvz - but apparently /dev/tun exists even without the driver. Perhaps the solution is to run modprobe unconditionally, but ignore any errors?
Normally Fedora creates /dev/net/tun, and the tun driver is auto-loaded when accessing /dev/net/tun. But the auto-load only works if the accessing process has module-load privilege in selinux. Cjdns does not have module-load privilege by design, so auto-load does not work. Unconditionally running modprobe works, except under openVZ. I can test whether running under openVZ by checking whether the output of wc -c /proc/modules starts with 0. But then we still need to check that /dev/net/tun exists and fail otherwise.
A fix for this is being submitted.
cjdns-17.3-13.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9a62ee052b
cjdns-17.3-13.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3b679f9f49
cjdns-17.3-13.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9a62ee052b
cjdns-17.3-13.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3b679f9f49
cjdns-17.3-13.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f182c4ac33
cjdns-17.3-13.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f182c4ac33
cjdns-17.3-13.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-90a986a6ed
cjdns-17.3-13.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-c14b87bba2
cjdns-17.3-13.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-90a986a6ed
cjdns-17.3-13.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-c14b87bba2
cjdns-17.3-13.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
cjdns-17.3-13.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
cjdns-17.3-13.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
cjdns-17.3-13.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
cjdns-17.3-13.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.