[Pkg-systemd-maintainers] Bug#700888: Can't start OpenVPN using ifupdown when running systemd

Michael Biebl biebl at debian.org
Mon Mar 17 22:46:46 GMT 2014


Am 17.03.2014 19:33, schrieb Alberto Gonzalez Iniesta:
> On Mon, Mar 17, 2014 at 07:29:07PM +0100, Michael Biebl wrote:
>> Fwiw, I noticed another issue :-)
> 
> #741938, fixed in -9 :-)
> 
>> Trying to run
>> systemctl start openvpn at foo.conf
>> I got
>> Mär 17 19:22:43 pluto systemd[1]: openvpn at foo.service: control process
>> exited, code=exited status=1
>> Mär 17 19:22:43 pluto systemd[1]: Failed to start OpenVPN connection to foo.
>> Mär 17 19:22:43 pluto systemd[1]: Unit openvpn at foo.service entered
>> failed state.
>>
>>
>> Apparently the /run/openvpn directory was missing.
>>
>> You should consider shipping a tmpfiles.d [0] snippet so this directory
>> is properly setup (or let the daemon create that directory).
>>
>> [0] http://www.freedesktop.org/software/systemd/man/tmpfiles.d.html
> 
> Oh, I didn't know about that. I'll check that out too.

Hm, I see you moved the mkdir in /etc/init.d/openvpn around a bit.

That doesn't really help in my case, since I've disabled the SysV/LSB
init script completely.

I don't think the native systemd .service file should have to rely on
the SysV/LSB init script to setup the environment.


Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140317/b181e4d8/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list