Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25275 - Caching service deps broken, unable to create symlinks, after upgrade, /var/lib/init.d/started not found
Summary: Caching service deps broken, unable to create symlinks, after upgrade, /var/l...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Highest critical (vote)
Assignee: Martin Schlemmer (RETIRED)
Depends on:
Reported: 2003-07-25 13:59 UTC by Geoffroy Stevenne
Modified: 2003-11-19 06:15 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Geoffroy Stevenne 2003-07-25 13:59:51 UTC
Boot fails after upgrade.

1. prints content of
2. The directory /var/lib/init.d/started does not exist (ie is REMOVED on reboot
and not created on boot)
3. so, not able to create symlinks...
4. svcmount="no" doesn't work did not even find a line testing it in /etc/init.d
5. Changing svcdir does not solve the problem
6. I found "svcdir=/mnt/.init.d" in, why? Changing it does not
solve the problem, nor does using it in /etc/conf.d/rc

I saw a bug report about /var used before mounted (can't remember #)
Given item 5, I changed /var to be under / and not a partition.  Does not work.
Comented out lines that mount /var/lib/init.d and ran into further trouble.

Reproducible: Always
Steps to Reproduce:
1. Take a deep breathe
2. Boot the Machine
3. Scream
steps 1 & 3 are optional.

Actual Results:  
Lots of error messages about symlinks and syntax errors in init scripts. Some
services not started, keymap not loaded, etc...

Expected Results:  
Boot the system.

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
System uname: 2.4.21-rc6-ac1 i686 Intel(R) Pentium(R) III CPU family      1266MH
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/env.d"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikm
od mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib directf
b gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile sdl gpm tcp
d pam libwww perl python esd imlib oggvorbis qt motif opengl mozilla gphoto2 cdr
 scanner X gtk gnome alsa ssl imap xmms xft kde gtk2 moznoirc moznomail moznocom
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
FEATURES="sandbox ccache"
Comment 1 Geoffroy Stevenne 2003-07-25 14:01:19 UTC
good luck
Comment 2 SpanKY gentoo-dev 2003-07-25 15:29:05 UTC
what version of baselayout did you upgrade to ? 
did you use a binary package to install baselayout (i got same errors after using 
binary package ... re-emerging via source fixed it) 
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-28 08:25:39 UTC
Right, binary package is not supported (Check top of ebuild).

The config and contents of some of the files is also trouble some - points
to a pretty broken baselayout install (files from different versions).

Can you do like vapier said, and remerge it not from binary package ?
Comment 4 Geoffroy Stevenne 2003-07-28 14:58:32 UTC
I did not use binary packages. And sorry but i had to reinstall the box with something else as it was a needed workstation.
Comment 5 Markus Nigbur (RETIRED) gentoo-dev 2003-11-19 06:15:40 UTC
we can't track this down any further.