[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30464] shepherd logging
From: |
Ludovic Courtès |
Subject: |
[bug#30464] shepherd logging |
Date: |
Sat, 17 Feb 2018 17:25:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Danny Milosavljevic <address@hidden> 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’t have /dev/kmsg, but it has /dev/klog:
--8<---------------cut here---------------start------------->8---
address@hidden:~$ ls -l /dev/klog
crw-rw---- 1 root root 0, 0 Jul 16 2015 /dev/klog
address@hidden:~$ showtrans /dev/klog
/hurd/streamio kmsg
--8<---------------cut here---------------end--------------->8---
> How do they solve early boot logging ?
GNU Mach has a special “console” device that early boot processes can
open and write too, as in:
https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/startup/startup.c#n731
It’s comparable to /dev/kmsg, but it exists before file system servers
are brought up, which is why it doesn’t have an entry in the file
system hierarchy.
Ludo’.
- [bug#30464] [PATCH 0/2] Add console-agetty-service., Danny Milosavljevic, 2018/02/15
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service., Danny Milosavljevic, 2018/02/15
- [bug#30464] [PATCH 2/2] services: agetty-shepherd-service: Default to providing 'term-console instead of 'term-auto ., Danny Milosavljevic, 2018/02/15
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service., Ludovic Courtès, 2018/02/15
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service., Danny Milosavljevic, 2018/02/15
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service., Ludovic Courtès, 2018/02/15
- [bug#30464] shepherd logging; console-agetty-service, Danny Milosavljevic, 2018/02/16
- [bug#30464] shepherd logging, Danny Milosavljevic, 2018/02/16
- [bug#30464] shepherd logging,
Ludovic Courtès <=
- [bug#30464] shepherd logging, Danny Milosavljevic, 2018/02/17
- [bug#30464] shepherd logging, Ludovic Courtès, 2018/02/17
- [bug#30464] shepherd logging; console-agetty-service, Ludovic Courtès, 2018/02/17
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service., Ludovic Courtès, 2018/02/26