[Bug 807605] New: xl2tpd: open_controlfd: Unable to open /var/run/xl2tpd/l2tp-control for reading
https://bugzilla.novell.com/show_bug.cgi?id=807605 https://bugzilla.novell.com/show_bug.cgi?id=807605#c0 Summary: xl2tpd: open_controlfd: Unable to open /var/run/xl2tpd/l2tp-control for reading Classification: openSUSE Product: openSUSE 12.3 Version: RC 2 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: avm-xandry@yandex.ru QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22 First. After installation xl2tpd we have a problem: xl2tpd 1.3.0 not run without the /var/run/xl2tpd/l2tp-control Problem is solved by manually creating this file: sudo mkdir /var/run/xl2tpd sudo touch /var/run/xl2tpd/l2tp-control Two. But after reboot the problem persists because systemd (see paragraph 5.4 in release notes -> http://download.opensuse.org/factory-snapshot/repo/oss/docu/RELEASE-NOTES.en...). As a solution, need a file /etc/tmpfiles.d/xl2tpd.conf with rules for one folder and one pipe file. Example: # Create directory /var/run/xl2tpd with permission by default if it does not exist yet. d /var/run/xl2tpd 755 root root - - # Create a named pipe with the rights by default if it does not exist yet. p /var/run/xl2tpd/l2tp-control 600 root root - - # Do not delete the directory /var/run/xl2tpd and its contents for cleaning temporary files. x /var/run/xl2tpd/ Thus, with the help of such a configuration file, we will solve two problems: 1. Failed pipe file and folder is the default channel 2. and removing it from systemd Reproducible: Always Steps to Reproduce: 1. Install xl2tpd 2. Configure it 3. Try to start it: /usr/sbin/xl2tpd -D 4. Get this messages: xl2tpd[5382]: setsockopt recvref[22]: Protocol not available xl2tpd[5382]: Using l2tp kernel support. xl2tpd[5382]: open_controlfd: Unable to open /var/run/xl2tpd/l2tp-control for reading. 5. Create /var/run/xl2tpd and /var/run/xl2tpd/l2tp-control 6. Run xl2tpd and to see that it works well. 7. Reboot system and try to run xl2tpd again. Actual Results: First: I get the message: open_controlfd: Unable to open /var/run/xl2tpd/l2tp-control for reading. Two: Evil systemd removes I created a folder and file each time you reboot. Expected Results: /var/run/xl2tpd/l2tp-control there must be a beginning and systemd should never touch it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807605 https://bugzilla.novell.com/show_bug.cgi?id=807605#c1 --- Comment #1 from Alexander Mityunin <avm-xandry@yandex.ru> 2013-03-06 15:43:13 UTC --- Created request 157515 (https://build.opensuse.org/request/show/157515). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807605 https://bugzilla.novell.com/show_bug.cgi?id=807605#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-15 16:00:06 CET --- This is an autogenerated message for OBS integration: This bug (807605) was mentioned in https://build.opensuse.org/request/show/159568 Factory / xl2tpd -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807605 https://bugzilla.novell.com/show_bug.cgi?id=807605#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-17 19:00:07 CET --- This is an autogenerated message for OBS integration: This bug (807605) was mentioned in https://build.opensuse.org/request/show/159723 Factory / xl2tpd -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807605 https://bugzilla.novell.com/show_bug.cgi?id=807605#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |dvaleev@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807605 https://bugzilla.novell.com/show_bug.cgi?id=807605#c4 Alexander Mityunin <avm-xandry@yandex.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Alexander Mityunin <avm-xandry@yandex.ru> 2013-08-01 07:08:05 UTC --- This bug is already fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com