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...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Highest critical (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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. depscan.sh prints content of functions.sh
2. The directory /var/lib/init.d/started does not exist (ie is REMOVED on reboot
and not created on boot)
3. so, runscript.sh not able to create symlinks...
4. svcmount="no" doesn't work did not even find a line testing it in /etc/init.d
(/etc/conf.d/rc)
5. Changing svcdir does not solve the problem
6. I found "svcdir=/mnt/.init.d" in functions.sh, 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
z
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
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"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
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
pose"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
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.