Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rc-scripts and baselayouts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Fri Nov 16, 2007 8:52 pm    Post subject: rc-scripts and baselayouts Reply with quote

Hi,

Since installing gentoo I have had this message during boot:

Code:
rc-scripts: Please do not use it with baselayout-1
rc-scripts: The device-mapper init script is written for baselayout-2


It doesn't seem to cause any problems, but I would like to get rid of it.

What is this baselayout? I see on portage that baselayout-2 is hard masked. So how do I get rid of this warning?

Mons :?:


Last edited by monsm on Wed Jan 30, 2008 9:54 am; edited 2 times in total
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Fri Nov 16, 2007 8:56 pm    Post subject: Reply with quote

Please post:
Code:
emerge --info

and
Code:
emerge -pv baselayout

_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Fri Nov 16, 2007 9:07 pm    Post subject: Reply with quote

Hi,
Thanks for the quick reply.

First the emerge --info :

Code:
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Fri, 16 Nov 2007 12:30:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="C"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/xwing /usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac aalib acl alsa amr arts avahi berkdb bitmap-fonts cairo cdparanoia cdr cdrom cli cracklib crypt cups dbus dedicated depth32 directfb divx doc dri dts dv dvb dvbplayer dvbsetup dvd dvdr dvdread eds encode esd fbcon ffmpeg firefox fortran gdbm ggi gif gnome gpm gstreamer gtk hal iconv ip4100 ipv6 isdnlog jack java jpeg lame ldap libcaca lirc live mad matroska matrox midi mixer mjpeg mmx mono mp2 mp3 mplayer mudflap nas ncurses nls nptl nptlonly nvidia odk ogg opengl openmp oss pam pcre perl png polling ppds pppd python quicktime readline realmedia reflection rtc sdl session sound spl sqlite sqlite3 ssl suid svg svga tcpd theora truetype-fonts tv tv_check type1-fonts udev unicode v4l v4l2 vcd vdr vidix vorbis webdav win32codecs x86 xanim xinerama xml xorg xscreensaver xterm xv xvid xvmc zip" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" LIRC_DEVICES="dev/input" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



And the installed baselayout version:

Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/baselayout-1.12.9-r2  USE="unicode -bootstrap -build -static" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


I have been trying to find out what baselayout is actually for without much luck. Couldn't find any descriptions of the ting while googling....
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Nov 16, 2007 9:20 pm    Post subject: Reply with quote

monsm wrote:
I have been trying to find out what baselayout is actually for without much luck. Couldn't find any descriptions of the ting while googling....
See Gentoo Base System. There's also
Code:
emerge -s baselayout
for a short description.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Fri Nov 16, 2007 9:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Fri Nov 16, 2007 9:23 pm    Post subject: Reply with quote

monsm wrote:
Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/baselayout-1.12.9-r2  USE="unicode -bootstrap -build -static" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


Base layout is version 1 so that's not the problem. It's the device mapper script.

Lets see what init scripts you have loded:
Code:
emerge -s init

_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Fri Nov 16, 2007 10:06 pm    Post subject: Reply with quote

Thanks for the base sytem link, I'll have a look at that later.

Here's the installed scripts:

Code:
*  sys-apps/module-init-tools
      Latest version available: 3.2.2-r3
      Latest version installed: 3.2.2-r3
      Size of files: 394 kB
      Homepage:      http://www.kernel.org/pub/linux/kernel/people/rusty/modules
      Description:   Kernel module tools for the 2.6 kernel
      License:       GPL-2

*  sys-apps/sysvinit
      Latest version available: 2.86-r8
      Latest version installed: 2.86-r8
      Size of files: 100 kB
      Homepage:      http://freshmeat.net/projects/sysvinit/
      Description:   /sbin/init - parent of all processes
      License:       GPL-2


*  virtual/init
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 kB
      Homepage:      http://www.gentoo.org/proj/en/base/
      Description:   Virtual for various init implementations
      License:       GPL-2


*  x11-apps/xinit
      Latest version available: 1.0.5-r1
      Latest version installed: 1.0.5-r1
      Size of files: 104 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X Window System initializer
      License:       xinit GPL-2



:?: Mons
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Fri Nov 16, 2007 10:21 pm    Post subject: Reply with quote

OK now I need to see:
Code:
emerge -CVa sysvinit

_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Fri Nov 16, 2007 10:25 pm    Post subject: Reply with quote

Cheers, here's the sysvinit

Code:
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)


Is my system sane ? :)

Mons
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Fri Nov 16, 2007 10:30 pm    Post subject: Reply with quote

i need to check if you have 2 versions of sysvinit installed:
Code:
emerge -Cva sysvinit


Answer no, and copy the output here.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Fri Nov 16, 2007 11:05 pm    Post subject: Reply with quote

Here's that one:

Code:

>>> These are the packages that would be unmerged:

 sys-apps/sysvinit
    selected: 2.86-r8
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.


Mons
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Fri Nov 16, 2007 11:09 pm    Post subject: Reply with quote

Try:
Code:
emerge baselayout

and then:
Code:
etc-update

_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Sat Nov 17, 2007 12:33 am    Post subject: Reply with quote

Thanks. I'll get back to you tomorrow with the result.

I am playing around with the boot splash and a new kernel as well at the moment. So that will compile over night. Now bed time here.
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Sat Nov 17, 2007 12:09 pm    Post subject: Reply with quote

Hi,

No result, the message is still there as before. I think there must be something with the device-mapper script itself. I have tried to re-emerge the device-mapper and lvm2, but no change.

I wonder if there is a different way of starting the device-mapper that will take it out of these scripts all together. Any ideas?

Mons
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Nov 17, 2007 1:57 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo.
not about getting gentoo installed, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
trailnut
n00b
n00b


Joined: 16 Nov 2007
Posts: 21

PostPosted: Sat Nov 17, 2007 5:19 pm    Post subject: Reply with quote

This seems to have been changed in device-mapper-1.02.22-r2 to support baselayout-2 when it is released, see upgrade notes here: http://www.gentoo.org/news/en/gwn/20070806-newsletter.xml . If everything is working fine, I would just ignore it. If you don't want to see the message every time you boot you can stop the script from running with rc-update -d device-mapper, but remember to re add it if you upgrade to baselayout-2.
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Mon Nov 19, 2007 7:59 pm    Post subject: Reply with quote

Thanks for all the help to understand this stuff.

They have reached RC6 now so hopefully baselayout 2 will be out shortly. I think I'll wait for that. Hence I'm setting solved on this thread.

Mons
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum