/sbin/bootlogd
Hello,
I have, in /etc/default/
I have examined the script /etc/init.
I tried to install it, but it was in no repository (synaptic package manager).
Where can I find this daemon.
Background:
I have problems at boot (see request 2690). And to figure out what's the problem I need the boot messages before syslogd.
Any help or comments are welcome.
Thanks in advance,
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Wolf Canis
- Solved:
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
Hello,
isn't there nobody, whom can help?
How could it disappear or another possibility during the installation process were a error.
I don't know, but one is clear the /etc/init.
Is there under Ubuntu another way to save the earlier boot messages, the boot
parameter earlyprintk=
Please have a look to my request #2690. I figured out some details and wrote them there.
Thanks in advance,
Revision history for this message
|
#2 |
Hello,
the link to the request mentioned above:
https:/
Thanks in advance,
Revision history for this message
|
#3 |
/etc/init.
Can you check if you have both installed? Which version of Ubuntu are you using?
Revision history for this message
|
#4 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Antoine Delvaux,
thanks for your answer.
I'm using Ubuntu 6.10 edgy with all upgrades and the package
'initscripts' are installed but 'sysvinit' are not. In the
dependencies of 'initscripts' is written that it conflicts with
'sysvinit'.
The programm /sbin/bootlogd doesn't exist on my system.
Thanks in advance.
Mr Canis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFF+
OIjgcBcNzNN7D1z
=ZATJ
-----END PGP SIGNATURE-----
_______
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" � The Wall Street Journal
http://
Revision history for this message
|
#5 |
Well, my observations was based on 6.06 Dapper but should still be true on Edgy. It's the sysvinit source package which creates the two binary packages. I guess both should be installed.
For Edgy: https:/
For Dapper: https:/
Not sure why they're not. If you try to install the package named 'sysvinit', what happens?
Revision history for this message
|
#6 |
Hello Antoine Delvaux,
that's the answer from synaptic:
To be removed
startup-tasks
system-services
ubuntu-minimal
upstart
upstart-
upstart-logd
I think to install 'sysvinit' isn't a good idea. There must be another
reason why bootlogd isn't installed in edgy.
I have an other laptop (Toshiba Tecra 8100) with edgy. On this
installation bootlogd isn't installed too, but all boot messages appear
in dmesg.
It's a little bit strange.
Mr Canis
_______
Like being first? Check out the all-new Yahoo! Mail today.
http://
Revision history for this message
|
#7 |
Mr Canis,
Indeed, having those packages being removed is not a good thing. However I still don't understand how you have initscripts installed without sysvinit.
Which package version of initscripts is installed? (run 'apt-cache showpkg initscripts') And which version of sysvinit are you trying to install? An output of 'apt-get -s install sysvinit' (which simulates the installation of sysvinit) could help.
Thanks.
Revision history for this message
|
#8 |
BTW, bootlogd purposes isn't to make boot messages available under the 'dmesg' command or /var/log/dmesg file but to save console boot messages (what is normaly printed on the console screen) in /var/log/boot.
It's the duty of /etc/init.
Thus, even if both are created at boot time, output of /var/log/boot and /var/log/dmesg should be quite different.
Revision history for this message
|
#9 |
Hello Antoine Delvaux,
thanks for the brief description, but exactly the earliest boot messages are missing. The dmesg output begins with the message from hda_intel driver and in /var/log/boot the first entry is " Mar 20 05:44:23 rcS: [33m*[39;49m Files under mount point '/var/run' will be hidden. "
below the output from apt-cache and apt-get.
$ apt-cache showpkg initscripts
Package: initscripts
Versions:
2.86.ds1-
Description Language:
Reverse Depends:
upstart-
sysvinit,
multipath-
e2fsprogs,
bootchart,
Dependencies:
2.86.ds1-
Provides:
2.86.ds1-
Reverse Provides:
-------
$ sudo apt-get -s install sysvinit
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpcap0.7 upstart-compat-sysv procmail startup-tasks ubuntu-minimal
system-services upstart-logd libdb4.2 resolvconf upstart liblockfile1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
startup-tasks system-services ubuntu-minimal upstart upstart-compat-sysv
upstart-logd
The following NEW packages will be installed:
sysvinit
0 upgraded, 1 newly installed, 6 to remove and 0 not upgraded.
Remv ubuntu-minimal [1.30]
Remv startup-tasks [0.2.7-7]
Remv system-services [0.2.7-7]
Remv upstart-logd [0.2.7-7]
Remv upstart-compat-sysv [0.2.7-7]
Remv upstart [0.2.7-7]
Inst sysvinit (2.86.ds1-
Conf sysvinit (2.86.ds1-
-------
Thanks in advance,
Revision history for this message
|
#10 |
Ok, I now understand the conflict, it's because of the new 'upstart' package which is replacing the sysvinit, see https:/
As it is work in progress (full replacement is to be due for Festy), a replacement for sysvinit is included in upstart, but not yet a replacement for initscripts. This does explain why you don't have the /sbin/bootlogd (as it is part of sysvinit) and why you still have /etc/default/
I guess either bootlogd is to be included in upstart or the configuration files needs to be suppressed. I'll fill a small bug report with that.
However, as you can see from your /var/log/boot message file, another logging daemon is now in use, it's called 'logd' and is part of 'upstart'. This is really the bootlogd replacement. As this one, it's only capturing start jobs output directed to the console and so doesn't print kernel boot messages.
The kernel boot messages should be saved in your /var/log/dmesg, but if you cannot see all of them in there, that's another story.
Revision history for this message
|
#11 |
Hello Antonie Delvaux,
does it mean, that the package "sysvinit" can do all the thing what the new package "upstart" does?
i have this question because there is still no /sbin/bootlogd by feisty, i'd like to log the boot, but without the /sbin/bootlogd, i can do nothing...
Thanks
qiuye
Revision history for this message
|
#12 |
The aim is indeed to replace sysvinit completely, but the transition is not complete now I think.
Revision history for this message
|
#13 |
Hello, I'm having the same problem too, I would very much want to get this bootlogd output, but it's not working. Is there any possibility to do some kind of workaround, like compiling and installing bootlogd manually or something? Does anyone know how to do that? I would be very happy if someone could help med with this, because I'm trying to debug a problem where the system sometimes hangs at boot.
Pär Lidén
Revision history for this message
|
#14 |
Oh, I forgot to mention, I am using Ubuntu 7.10.
Revision history for this message
|
#15 |
Hello,
I use following kernel parameter:
ignore_loglevel log_buf_len=16M
And of course without quiet splash!
More about kernel parameter are in
a) /usr/share/
b) /usr/src/
Hope it helps.
Mr Canis
Revision history for this message
|
#16 |
Thanks for the suggestion, I'll try it out.
Revision history for this message
|
#18 |
Hello,
I close this support ticket because the problem isn't bootlogd but logd and the new upstart concept.
https:/
https:/
https:/
Older documents concerning bootlogd that could be a solution in my opinion:
https:/