From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en5JN-0008Tk-HX for guix-patches@gnu.org; Sat, 17 Feb 2018 11:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en5JK-0002zO-Bi for guix-patches@gnu.org; Sat, 17 Feb 2018 11:26:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1en5JK-0002zG-7j for guix-patches@gnu.org; Sat, 17 Feb 2018 11:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1en5JJ-00084s-Um for guix-patches@gnu.org; Sat, 17 Feb 2018 11:26:01 -0500 Subject: [bug#30464] shepherd logging Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <20180216215725.58607c8c@scratchpost.org> <20180216220737.0b5b7c0d@scratchpost.org> Date: Sat, 17 Feb 2018 17:25:07 +0100 In-Reply-To: <20180216220737.0b5b7c0d@scratchpost.org> (Danny Milosavljevic's message of "Fri, 16 Feb 2018 22:07:37 +0100") Message-ID: <87k1vbk2ho.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 30464@debbugs.gnu.org Danny Milosavljevic skribis: > Oops, didn't see /var/log/shepherd.log - but I think it should just > use syslog for that - and it's possible to use syslog for that by > writing to /dev/kmsg . > > Does the Hurd with /dev/kmsg ? It doesn=E2=80=99t have /dev/kmsg, but it has /dev/klog: --8<---------------cut here---------------start------------->8--- ludo@darnassus:~$ ls -l /dev/klog=20 crw-rw---- 1 root root 0, 0 Jul 16 2015 /dev/klog ludo@darnassus:~$ showtrans /dev/klog=20 /hurd/streamio kmsg --8<---------------cut here---------------end--------------->8--- > How do they solve early boot logging ? GNU=C2=A0Mach has a special =E2=80=9Cconsole=E2=80=9D device that early boo= t processes can open and write too, as in: https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/startup/startup.c#n7= 31 It=E2=80=99s comparable to /dev/kmsg, but it exists before file system serv= ers are brought up, which is why it doesn=E2=80=99t have an entry in the file system hierarchy. Ludo=E2=80=99.