Subject: bug#30581: closed (Re: bug#30505: Starting console/terminal Unicode support)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 15 Mar 2018 10:42:02 +0000

Your bug report

#30505: “sudo herd restart nscd” fails

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30505: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30505
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#30505: Starting console/terminal Unicode support
From: [email-masked] (Ludovic Courtès)
To: Danny Milosavljevic <[email-masked]>
Cc: [email-masked]
Date: Thu, 15 Mar 2018 11:41:05 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello!

[email-masked] (Ludovic Courtès) skribis:

> Danny Milosavljevic <[email-masked]> skribis:

[...]

>> default_utf8 is a default, and it will be read only when defaulting, so
>> in this case it will be read when Linux is constructing a tty.
>>
>> %base-services contain both console-font-service and mingetty-service which
>> both access the ttys.  Linux VTs are created on demand.
>>
>> Once the VTs are created, us setting default_utf8 is too late.
>>
>> We should set default_utf8 before anyone touches tty[123456].
>>
>> Where will that be?
>>
>> Should we just set it in boot-system ? That's probably a nice way -
>> also since I think this setting is quite Linux-specific.
>
> Alternately we could introduce a ‘virtual-terminal’ service that every
> ‘term-*’ service would depend on.  That ‘virtual-terminal’ service would
> simply write “1” to /sys/…/default_utf8.

Done in bb3062ad6290223ea24144ca8aa1f4cddac8f9be.

Thanks!

Ludo’.

Subject: “sudo herd restart nscd” fails
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Thu, 22 Feb 2018 20:12:26 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix,

the shepherd behaves funny:

--8<---------------cut here---------------start------------->8---
rekado ~ : sudo herd restart nscd
Backtrace:
           3 (primitive-load "/run/current-system/profile/bin/herd")
In shepherd/scripts/herd.scm:
    199:9  2 (main . _)
In ice-9/boot-9.scm:
    829:9  1 (catch system-error #<procedure dff3f0 at shepherd/scr…> …)
In shepherd/scripts/herd.scm:
    119:5  0 (_)

shepherd/scripts/herd.scm:119:5: Throw to key `match-error' with args `("match" "no matching pattern" #{\x1b;%G}#)'.
--8<---------------cut here---------------end--------------->8---

The version is 0.3.2.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net