From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Systemd error on symlink Date: Fri, 20 Jan 2017 12:02:28 +0100 Message-ID: References: <20170120102214.GA29786@mail.thebird.nl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUWxs-0007qU-VM for guix-devel@gnu.org; Fri, 20 Jan 2017 06:02:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUWxp-0000gI-TG for guix-devel@gnu.org; Fri, 20 Jan 2017 06:02:41 -0500 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:36253) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cUWxp-0000fX-IP for guix-devel@gnu.org; Fri, 20 Jan 2017 06:02:37 -0500 In-Reply-To: <20170120102214.GA29786@mail.thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pjotr Prins Cc: guix-devel Pjotr Prins writes: > Following the manual: > > If your host distro uses the systemd init system, this can be achieved with these commands: > > # ln -s ~root/.guix-profile/lib/systemd/system/guix-daemon.service \ > /etc/systemd/system/ > # systemctl start guix-daemon && systemctl enable guix-daemon > > will throw an error. The solution is not to symlink but to copy the service file. This actually depends on the version of systemd. More recent versions (e.g. on Fedora or RHEL) are okay with symlinking. ~~ Ricardo