From: ng0 <contact.ng0@cryptolab.net>
To: guix-devel@gnu.org
Subject: systemd on debian8, a possible solution
Date: Tue, 28 Mar 2017 10:27:57 +0000 [thread overview]
Message-ID: <20170328102757.7efa4m7g73di25j6@abyayala> (raw)
Hi,
could we point out the solution redhat had in this case?
root@sharknado9000:~# systemctl enable guix-daemon
Failed to execute operation: No such file or directory
The output above was when you follow our documentation.
Now redhat has this workaround
https://bugzilla.redhat.com/show_bug.cgi?id=955379#c30 in
https://bugzilla.redhat.com/show_bug.cgi?id=955379
which seems to work for some versions of systemd (including the one
which is currently used in Debian 8 stable):
root@sharknado9000:~# systemctl enable
/root/.guix-profile/lib/systemd/system/guix-daemon.service
Created symlink from
/etc/systemd/system/multi-user.target.wants/guix-daemon.service to
/root/.guix-profile/lib/systemd/system/guix-daemon.service.
root@sharknado9000:~# systemctl status guix-daemon
● guix-daemon.service - Build daemon for GNU Guix
Loaded: loaded
(/root/.guix-profile/lib/systemd/system/guix-daemon.service; enabled)
Active: active (running) since Di 2017-03-28 09:56:52 UTC; 24min ago
Main PID: 5355 (guix-daemon)
CGroup: /system.slice/guix-daemon.service
└─5355
/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon
--build-users-group=guixbuild
Mär 28 09:56:52 sharknado9000 systemd[1]: Starting Build daemon for GNU
Guix...
Mär 28 09:56:52 sharknado9000 systemd[1]: Started Build daemon for GNU
Guix.
Mär 28 09:56:55 sharknado9000 guix-daemon[5355]: accepted connection
from pid 5356, user root (trusted)
Mär 28 10:06:23 sharknado9000 guix-daemon[5355]: accepted connection
from pid 5378, user root (trusted)
Mär 28 10:15:19 sharknado9000 systemd[1]:
[/root/.guix-profile/lib/systemd/system/guix-daemon.service:16] Unknown
lvalue 'TasksMax' in section 'Service'
Mär 28 10:20:50 sharknado9000 systemd[1]:
[/root/.guix-profile/lib/systemd/system/guix-daemon.service:16] Unknown
lvalue 'TasksMax' in section 'Service'
After reboot the service was still there.
As the files in ~root/guix-profile/ are symlinks, I expect that this is
permanent and will still work when the systemd file changes.
next reply other threads:[~2017-03-28 10:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-28 10:27 ng0 [this message]
2017-05-12 5:56 ` systemd on debian8, a possible solution Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170328102757.7efa4m7g73di25j6@abyayala \
--to=contact.ng0@cryptolab.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).