From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E1E02138A1A for ; Wed, 11 Feb 2015 19:16:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EF09E0966; Wed, 11 Feb 2015 19:16:17 +0000 (UTC) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8CBAEE0942 for ; Wed, 11 Feb 2015 19:16:15 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id et14so5952407pad.4 for ; Wed, 11 Feb 2015 11:16:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=liPb89cf4jy19FYa2ZYjH5eJnh+u2qYoE3p9FP51l30=; b=SzQ35mB+YWtVjVqIU4OPOlX0DoFl/50kDlHD2I13X/EyYeMLLbhWftJr6s/rA3ouGY dBXGfFEcwk5XpgYNYYJ0M8+PaI0N25ZO8Kdqz50GUOkAAHZTmU/GxRLGy6qd2FZu5hRU DVCMLFmnnwmyfIVfzA3o6ewpj9OqYREqJbOR7y+aO2esZ6nTJk9vHHSiAldsPMGk2GIg M3fjZhjpHh59ZUy0/cEcw/iqsp+DVBCifv0ghxoTUi+WzVO4pTqLqE9KUx6yusfXvxuB cIeL+t12ExD607oXG1KVo/RbGdacm8kpu064EG5mW+Jqy2LmWudHnPESCQeuNX1B3urM jq0w== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.66.245.225 with SMTP id xr1mr48518672pac.65.1423682174595; Wed, 11 Feb 2015 11:16:14 -0800 (PST) Sender: freemanrich@gmail.com Received: by 10.70.85.39 with HTTP; Wed, 11 Feb 2015 11:16:14 -0800 (PST) In-Reply-To: <20150211185844.GA31069@syscon7> References: <20150211185844.GA31069@syscon7> Date: Wed, 11 Feb 2015 14:16:14 -0500 X-Google-Sender-Auth: z3ATWbgUYLyccZBflycM0O9oINM Message-ID: Subject: Re: [gentoo-user] systemd + openvpn From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: b841ec71-da61-4a87-ab07-5787a180af6a X-Archives-Hash: d46d8a59093853e37fe20642f2e2d417 On Wed, Feb 11, 2015 at 1:58 PM, Joseph wrote: > How do I start and stop "systemd" services, I would imagine systemd works > the same across all distros. You run systemd start - that is the same on all distros (well, if they're not writing fancy wrappers around it or whatever - Gentoo follows upstream). > My openvpn server is running on Gentoo but client openvpn I setup on Fedora > 21 (as the computer is old and slow). > > Normally I would create configuration files in /etc/openvpn/ > and run: > /etc/init.d/ln -s openvpn.client1 openvpn > /etc/init.d/openvpn.client1 start > > But on Fedora when I do systemctl enable openvpn@eeepc.service I ended up having to add the following to my unit: ExecStartPre=-/bin/mkdir -p /dev/net ExecStartPre=-/bin/mknod /dev/net/tun c 10 200 I forget if that is reported somewhere, fixed upstream, etc. It has been a while since I studied tap/tun so it might also not be necessary in some configurations. -- Rich