[Pkg-sysvinit-devel] Bug#576443: bootlogd: kfreebsd needs other TIOCCONS ioctl

Mats Erik Andersson mats.andersson at gisladisker.se
Tue Apr 3 22:07:10 UTC 2012


package sysvinit-utils
severity 576443 important
tags 576443 +kfreebsd
thanks

The GNU/Linux form of the TIOCCONS call using ioctl()
is incompatible to the form mandated by all BSD systems,
therefore bootlogd(8) fails at startup with kfreebsd-any.

The following patch partially mends this, so far as to
capture only messages from "ifupdown" in "/var/log/boot"
on a kfreebsd-amd64 system, which is already an substantial
improvement.

Booting said system still leaves a message on the console:

   pid 133(bootlogd) is using legacy pty devices - not logging anymore

I do not understand the origin of this, but I suspect strongly
that it is a linuxism in the sysvinit source code. The collective
knowledge of the debian-bsd list will surely provide more insight.

Best regards,
  Mats Erik Andersson, DM

(Still convinced that "bootlogd" should __not__ be kept "optional"!)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfreebsd_bootlogd_tioccons.diff
Type: text/x-diff
Size: 1091 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120404/2c3da569/attachment-0001.diff>


More information about the Pkg-sysvinit-devel mailing list