[Bug 218320] Re: Hangs at "Starting kernel log daemon..." in OpenVZ container
Jakob Unterwurzacher
jakobunt at gmail.com
Fri Jan 8 11:58:45 UTC 2010
in ksym_mod.c we have
ksyms = fopen(KSYMS, "r");
if ( ksyms == NULL )
{
if ( errno == ENOENT )
Syslog(LOG_INFO, "No module symbols loaded - "
"kernel modules not enabled.\n");
else
Syslog(LOG_ERR, "Error loading kernel symbols " \
"- %s\n", strerror(errno));
fclose(ksyms);
return(0);
}
We fclose a NULL file descriptor?
On OpenVZ, /proc/kallsyms (=KSYMS) does not exist. So it segfaults here.
** Attachment added: "Do no fclose null file descriptor"
http://launchpadlibrarian.net/37613199/dont-fclose-null.patch
** Summary changed:
- Hangs at "Starting kernel log daemon..." in OpenVZ container
+ klogd segfaults on startup in OpenVZ container, makes boot+upgrade hang at "Starting kernel log daemon..."
--
klogd segfaults on startup in OpenVZ container, makes boot+upgrade hang at "Starting kernel log daemon..."
https://bugs.launchpad.net/bugs/218320
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list