Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497522 - net-dialup/xl2tpd-1.3.1-r3 - systemd service file command should call configuration file
Summary: net-dialup/xl2tpd-1.3.1-r3 - systemd service file command should call configu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-08 13:05 UTC by Xi
Modified: 2014-01-08 16:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xi 2014-01-08 13:05:11 UTC
the /usr/lib/systemd/system/xl2tpd.service file has:

ExecStart=/usr/sbin/xl2tpd -D

It miss the "-c" option. It should be:

ExecStart=/usr/sbin/xl2tpd -D -c /etc/xl2tpd/xl2tpd.conf


Without this option, there service is not able to start, and it complains for no configuration file.
Comment 1 Mike Gilbert gentoo-dev 2014-01-08 16:50:52 UTC
Ah, no. From xl2tpd(8):

-c <config file>
    Tells xl2tpd to use an alternate config file.  Default is  /etc/xl2tpd/xl2tpd.conf.
    Fallback configuration file is /etc/l2tpd/l2tpd.conf


I do notice that we install the sample config as "/etc/xl2tpd/l2tpd.conf", which is obviously wrong. That should be fixed now.

+  08 Jan 2014; Mike Gilbert <floppym@gentoo.org> xl2tpd-1.3.1-r3.ebuild:
+  Install sample config file as /etc/xl2tpd/xl2tpd.conf.