Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214887 - sys-apps/openrc-0.2_pre20080325 segfaults on boot if /etc/rc.conf has problems
Summary: sys-apps/openrc-0.2_pre20080325 segfaults on boot if /etc/rc.conf has problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 14:38 UTC by Martin Väth
Modified: 2008-03-26 20:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2008-03-26 14:38:26 UTC
If /etc/rc.conf is a symlink to a nonexistent file (in my case, by a mistake
of myself, a symlink to a file on another partition), openrc segfaults
at the very beginning of the boot process, even without printing anything.

I suggest that openrc should at least print a message what is wrong
(and perhaps even use default values for /etc/rc.conf and continue)
instead of just segfault - without any means to debug at this stage,
it took me several hours to find out what is wrong.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2008-03-26 15:12:26 UTC
this will be fixed in openrc-0.2_pre20080326
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-03-26 20:45:11 UTC
fixed.