[PATCH] Remove task from 'guix-daemon.conf'.

  • Done
  • quality assurance status badge
Details
2 participants
  • Jan Nieuwenhuizen
  • Christopher Baines
Owner
unassigned
Submitted by
Christopher Baines
Severity
normal

Debbugs page

Christopher Baines wrote 8 years ago
(address . guix-patches@gnu.org)
20170715145417.14653-1-mail@cbaines.net
The 'task' means that events that led to this job starting will be blocked
until it has stopped. Tasks are short lived jobs, whereas the guix-daemon is a
long lived service. Including 'task' means that attempts to start the
guix-daemon appear to hang, as upstart waits for it to exit.

* etc/guix-daemon.conf.in: Remove 'task'.
---
etc/guix-daemon.conf.in | 2 --
1 file changed, 2 deletions(-)

Toggle diff (13 lines)
diff --git a/etc/guix-daemon.conf.in b/etc/guix-daemon.conf.in
index 09c70cde3..74706055f 100644
--- a/etc/guix-daemon.conf.in
+++ b/etc/guix-daemon.conf.in
@@ -7,6 +7,4 @@ start on runlevel [2345]
stop on runlevel [016]
-task
-
exec @localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild
--
2.13.1
Jan Nieuwenhuizen wrote 8 years ago
(name . Christopher Baines)(address . mail@cbaines.net)(address . 27707@debbugs.gnu.org)
87bmoloe05.fsf@gnu.org
Christopher Baines writes:

Toggle quote (5 lines)
> The 'task' means that events that led to this job starting will be blocked
> until it has stopped. Tasks are short lived jobs, whereas the guix-daemon is a
> long lived service. Including 'task' means that attempts to start the
> guix-daemon appear to hang, as upstart waits for it to exit.

Ah, experienced this trouble. Tested and works for me, thanks!
janneke

--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com| Avatar® http://AvatarAcademy.com
Christopher Baines wrote 8 years ago
(name . Jan Nieuwenhuizen)(address . janneke@gnu.org)(address . 27707@debbugs.gnu.org)
20170715193202.6597434a@cbaines.net
On Sat, 15 Jul 2017 18:34:34 +0200
Jan Nieuwenhuizen <janneke@gnu.org> wrote:

Toggle quote (10 lines)
> Christopher Baines writes:
>
> > The 'task' means that events that led to this job starting will be
> > blocked until it has stopped. Tasks are short lived jobs, whereas
> > the guix-daemon is a long lived service. Including 'task' means
> > that attempts to start the guix-daemon appear to hang, as upstart
> > waits for it to exit.
>
> Ah, experienced this trouble. Tested and works for me, thanks!

Amazing, thanks for testing :)
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAllqX6JfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9XcI3Q/7Byge7Civ49pbZh+q3squ5vbTuVX9DVJ9y+Qyh1XS0YqiQ4JzUJl7rCab
MUliRwHVM/0wHeAkTxLIq2+NCQD4A3RH/z0qcK/oF8ukkfFQWxJEabutNLyOqcte
w1q+Vpe+l6G+RAA3yERHeAYMBRijZYSI1pqodBxf60GoiLVCVRi+IUFEl54Di5U4
vt8XCcwH2htdPy6yJf0LxI8A5DC/pc06NH8Ml8d9qDIQJNKXGoo2JDRocK9XGGRs
JAJTfEW3Pdk64+h181iCZG33f3H4zUIzasENmrynj0ZXy010UfRYseh81jWA2cDg
IjVSOoKJ//qPxu2VDxZ6hqlkt6Vz8W6CKJlU/nWeoDMHtoafiOgQx2ivZnPUMIuY
Q9XbfC3mW7szmTC5In2f4Qa7C4uqezgtjsvqqyqv64RexzKBDTuw+5WpZ37iTbnW
XUXC/V5k8Ut/fwUr6Q1fm8Bh07cWZ4BlQLhmhhDlfCT9342hkbWEUC/cY69O0W7S
ovYL4DOzXq3DTychrWKkgezsb5DdS7+LnjhTsV23bdaFdU3RwbXy81hPJONz0s5A
YPVUPb/BJip3hTxwVaVw5TLx/Uyb1ExoL53DMPG/ovIzpgezjY4LdjVeww+KV2vK
vRCo8LFBcf1/sJkuPJie7Zk0/B8xuRQbd5xZ8cRny0rzVhqAUak=
=gWMW
-----END PGP SIGNATURE-----


Christopher Baines wrote 8 years ago
Re: [PATCH] Remove task from 'guix-daemon.conf'.
(address . 27707-done@debbugs.gnu.org)
20170716064252.0c8118d9@cbaines.net
On Sat, 15 Jul 2017 15:53:22 +0100
Christopher Baines <mail@cbaines.net> wrote:

Toggle quote (25 lines)
> The 'task' means that events that led to this job starting will be
> blocked until it has stopped. Tasks are short lived jobs, whereas the
> guix-daemon is a long lived service. Including 'task' means that
> attempts to start the guix-daemon appear to hang, as upstart waits
> for it to exit.
>
> * etc/guix-daemon.conf.in: Remove 'task'.
> ---
> etc/guix-daemon.conf.in | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/etc/guix-daemon.conf.in b/etc/guix-daemon.conf.in
> index 09c70cde3..74706055f 100644
> --- a/etc/guix-daemon.conf.in
> +++ b/etc/guix-daemon.conf.in
> @@ -7,6 +7,4 @@ start on runlevel [2345]
>
> stop on runlevel [016]
>
> -task
> -
> exec
> @localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix-daemon
> --build-users-group=guixbuild

I've now pushed this patch.
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAllq/NxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9Xd21BAAoumtUHlusuojWlnsu8gAjgBUwExkTChhAj8VzFq5hp25Cw3Fcuyo92wj
yXL1ZiCHb5e03ZxvA9R91/p+MVvPpr3lMKxiOnYZGrl+Uh+9YTDbgE48qPfxGtLL
ORzxRGKXE4CAxWKa5DucIwY6+Lq5vJ5AfjzEiP9QVqjpE5P4QhFhqrLYlPQJp93v
V+FvLHpd37Tu40DSllRL2Q22jtr048rlORk53cClxrpNqKRzXkySbxEEUCXqXLQ8
vb1koaYd9jj+xpBB4ptay0euOOH1s2/QLqj5PDkPBSWHWPZxgPPo0rkHyMM801yZ
ty9apELxknqPdvU6deqw7GXimNbdrN+ztok3pqA7VAMSM1dkvR0ikC3Wd0MOT8eK
msFpnqF0xsWAxG0encSxJKAvM/JXx177v9V2eGbNfrszQvu9YHvvgP1CKEpDdvUh
lJieTCd/LtcOmfrUWo0+3LfzA+pf++BGEf1cnLNVTpe7aXICSWmR23J+3Yh2tj3M
NsDhl3sRU03gK371ZwMJ1uHyhS0qedFqFeTACMUmx1H4e4FIcDxgugviBiINXSS4
BZVKihhCh7P56cDL1TgEkbmXaiiONJeCNph+ew1eVdkfci8dLus4GDdETWjywRFL
WIUSRnYTnTSmaQ43sZRwd5gMm/2x+9eDlwupMTSzWSA/gHGpxJw=
=fNQT
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 27707@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 27707
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help