OVH Cloud OVH Cloud

bootlogd: problème ou bug?

2 réponses
Avatar
Stevan Kanban
Bonjour,

J'ai eu la malencontreuse idée de supprimer le fichier /var/log/boot pour voir...
Maintenant, même quand je le crée avec les bonnes permissions et le bon user/group, bootlogd n'écrit rien dedans.
J'ai bien-sûr le BOOTLOGD_ENABLE=Yes dans /etc/default/bootlogd.

Dans le man on répertorie le bug suivant:
BUGS
Bootlogd works by redirecting the console output from the console device. It copies that output to the real console device and a logfile. There is no
standard way to find out the real console device if you have a new-style /dev/console device (major 5, minor 1). Bootlogd tries to parse the
kernel command line, looking for console= lines and deducts the real console device from that. If that syntax is ever changed by the kernel,or a
console-type is used bootlogd does not know about, bootlogd will not work.

Avez-vous une idée?

--
Stevan Kanban


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

2 réponses

Avatar
Stevan Kanban
On Sun, Feb 20, 2005 at 12:31:10AM +0100, Stevan Kanban wrote :
Bonjour,

J'ai eu la malencontreuse idée de supprimer le fichier /var/log/boot pour voir...
Maintenant, même quand je le crée avec les bonnes permissions et le bon user/group, bootlogd n'écrit rien dedans.
J'ai bien-sûr le BOOTLOGD_ENABLE=Yes dans /etc/default/bootlogd.

Dans le man on répertorie le bug suivant:
BUGS
Bootlogd works by redirecting the console output from the console device. It copies that output to the real console device and a logfile. There is no
standard way to find out the real console device if you have a new-style /dev/console device (major 5, minor 1). Bootlogd tries to parse the
kernel command line, looking for console= lines and deducts the real console device from that. If that syntax is ever changed by the kernel,or a
console-type is used bootlogd does not know about, bootlogd will not work.

Avez-vous une idée?


J'oubliais...
# /etc/init.d/bootlogd start
Starting Bootlog daemon: bootlogd: cannot find console device 136:1 in /dev bootlogd.

--
Stevan Kanban


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Stevan Kanban
On Sun, Feb 20, 2005 at 12:44:46AM +0100, Stevan Kanban wrote :
On Sun, Feb 20, 2005 at 12:31:10AM +0100, Stevan Kanban wrote :
> Bonjour,
>
> J'ai eu la malencontreuse idée de supprimer le fichier /var/log/boot pour voir...
> Maintenant, même quand je le crée avec les bonnes permissions et le bon user/group, bootlogd n'écrit rien dedans.
> J'ai bien-sûr le BOOTLOGD_ENABLE=Yes dans /etc/default/bootlogd.
>
> Dans le man on répertorie le bug suivant:
> BUGS
> Bootlogd works by redirecting the console output from the console device. It copies that output to the real console device and a logfile. There is no
> standard way to find out the real console device if you have a new-style /dev/console device (major 5, minor 1). Bootlogd tries to parse the
> kernel command line, looking for console= lines and deducts the real console device from that. If that syntax is ever changed by the kernel,or a
> console-type is used bootlogd does not know about, bootlogd will not work.
>
> Avez-vous une idée?
J'oubliais...
# /etc/init.d/bootlogd start
Starting Bootlog daemon: bootlogd: cannot find console device 136:1 in /dev bootlogd.
>



La directive CONFIG_LEGACY_PTYS=y dans le noyau règle le problème. Merci à François Mescam dans "dmesg incomplet".

--
Stevan Kanban


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact