Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177539 - device-mapper and checkroot have circular dependency of type "ibefore"
Summary: device-mapper and checkroot have circular dependency of type "ibefore"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 19:20 UTC by BedOS_Gui
Modified: 2007-05-14 21:52 UTC (History)
5 users (show)

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


Attachments
emerge --info (emerge_info,12.64 KB, text/plain)
2007-05-08 06:49 UTC, BedOS_Gui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2007-05-07 19:20:49 UTC
On boot, I have this message for services lauching :
 *  Services 'checkroot' and 'device-mapper' have circular
 *  dependency of type 'ibefore';  continuing...                          [ ok ]
I found this message on Gentoo forums :
http://forums.gentoo.org/viewtopic-t-556697.html?sid=00daa0ff64e7b82b03d47e1330e19a66

Reproducible: Always

Steps to Reproduce:
1.boot Gentoo
2.at the beginning of services lauching this message appears on verbose mode
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-07 23:28:11 UTC
emerge --info please.
Comment 2 Roel Brook 2007-05-08 00:58:28 UTC
I am also experiencing this bug:



Portage 2.1.2.7 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-kamikaze1 x86_64)
=================================================================
System uname: 2.6.21-kamikaze1 x86_64 Intel(R) Pentium(R) D CPU 3.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 08 May 2007 00:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -funroll-loops -fweb -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -funroll-loops -fweb -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="nl_NL"
LC_ALL="nl_NL"
LINGUAS="nl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mozilla /usr/portage/local/layman/voip /usr/portage/local/layman/pok3d /usr/portage/local/layman/xeffects /usr/portage/local/layman/kde /usr/portage/local/layman/berkano /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apache2 bash-completion berkdb bitmap-fonts bri bzip2 cairo cdr cli cracklib crypt cups curl dbus directfb dvd dvdr dvdread eds emboss emerald encode esd evo fam ffmpeg firefox flac fortran fuse gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv imagemagick insecure-savers ipod isdnlog java javascript jpeg kde latex ldap libg++ live lzo mad mbox midi mikmod mjpeg mono mozbranding mp3 mpeg musepack musicbrainz mysql ncurses new-login nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre pda pdf perl png pop3d postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl ssl stroke svg tcl tcltk tcpd theora threads thunderbird tiff tk truetype truetype-fonts type1-fonts unicode vcd visualization vorbis vpopmail xcomposite xml xorg xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-05-08 06:48:10 UTC
No idea where did you get before "*"  in /etc/init.d/checkroot depend()? It's empty here.
Comment 4 BedOS_Gui 2007-05-08 06:49:21 UTC
Created attachment 118522 [details]
emerge --info
Comment 5 Roy Marples (RETIRED) gentoo-dev 2007-05-08 06:58:40 UTC
This script isn't meant for baselayout-1 users. Sadly, due to the limitations in baselayout-1 we can't make the error go away either :/
Comment 6 Magnus Ahlberg 2007-05-08 12:01:54 UTC
Why is this script in portage if it's for baselayout-2? Afaik baselayout-2 is not in portage yet, or am I missing something?
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-05-08 12:15:32 UTC
(In reply to comment #6)
> Why is this script in portage if it's for baselayout-2? Afaik baselayout-2 is
> not in portage yet, or am I missing something?

baselayout-2 is in portage, just package.masked
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2007-05-09 16:53:41 UTC
I fixed this with the same change that was done for lvm2. I did not revbump the pkg.

dsd: If this is an issue, please let me know.
Comment 9 Paul Bredbury 2007-05-09 19:09:19 UTC
(In reply to comment #8)
> I did not revbump the pkg.

I'd say it should have a revbump, for fixing a visible warning message.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2007-05-09 19:23:01 UTC
I wouldn't say a revbump is needed, we don't need to worry about the extremely small number of baselayout-1 users who may have added this to a runlevel
Comment 11 Emiliano Vavassori 2007-05-14 19:58:40 UTC
Well, for me it isn't fixed: all unmasked versions (stable and testing) has the same problem, which is 'before *' in /etc/init.d/checkroot. More precisely, versions 1.11.15-r3 1.12.9-r2 (~)1.12.10-r3 (~)1.12.10-r4 are affected.

Also, the problem isn't only for the ones that have 'checkroot' or 'device-mapper' in a runlevel: it appears consistently when a service is started.
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2007-05-14 20:08:35 UTC
Ah, I didn't realise you didn't even have to put it in a runlevel to see the error. In that case, the fixed version should be revbumped.

Also, the stable tree is not affected. The current stable version (1.02.10-r1) does not install any init scripts.
Comment 13 Emiliano Vavassori 2007-05-14 20:37:54 UTC
Sorry, I wasn't clear. The 'before *' line is present in *baselayout* in the versions mentioned above. Since the problem vanishes if that line is changed to 'after device-mapper', I think this bug is related to baselayout rather than device-mapper. But, obviously, I don't have the knowledge to be 100% sure of what I suggest :)
Comment 14 Daniel Drake (RETIRED) gentoo-dev 2007-05-14 21:52:12 UTC
The line it complains about comes from device-mapper's init script, even when you don't add it.

There is no need for a revbump now as someone has done a verbump. end of discussion :)