Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Baselayout 2 ? [solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
eXess
Apprentice
Apprentice
Posts: 243
Joined: Sun Aug 17, 2003 2:21 pm
Location: Belgium

Baselayout 2 ? [solved]

  • Quote

Post by eXess » Sun Mar 21, 2010 11:55 am

Hi there,

Strange thing here.
I updated UDEV, which gave me a standard warning about the fact it should be used only with kernel 2.6.27+
ok, my kernel is 2.6.31 :

Code: Select all

# cat /proc/sys/kernel/osrelease
2.6.31-gentoo-r6
However...

Code: Select all

# /etc/init.d/udev restart
 * The udev init-script is written for baselayout-2!
 * Please do not use it with baselayout-1!.
(btw, good thing I didn't just try to reboot the machine !!!)
How come I don't have Baselayout 2+ ? I just did an emerge -u world ?!
And though...

Code: Select all

# emerge -up baselayout

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

Calculating dependencies... done!

# emerge -p baselayout

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

Calculating dependencies... done!
[ebuild   R   ] sys-apps/baselayout-1.12.13 

Uh? No newer baselayout ? Not even a message saying all packages are masked ?

Can someone please help me? I'm a bit lost, and the machine will eventually have to be turned off (I need to relocate it and my guess is that without a power cord, it won't stay up...)... Thanks in advance.
Last edited by eXess on Sun Mar 21, 2010 6:48 pm, edited 1 time in total.
. . . . . . . .
eXess
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Sun Mar 21, 2010 12:04 pm

Code: Select all

sys-apps/baselayout
     Available versions:  [P]1.11.15-r3 1.12.11.1 (~)1.12.12 1.12.13 (~)2.0.0 (~)2.0.1 {bootstrap build static unicode}
Masked by ~arch, as you can see.
Top
eXess
Apprentice
Apprentice
Posts: 243
Joined: Sun Aug 17, 2003 2:21 pm
Location: Belgium

  • Quote

Post by eXess » Sun Mar 21, 2010 12:17 pm

Eeew... Am I fried ?
I mean, if I restart my bow now, will Udev throw an error ?
And if so, how come it was installed and updated when I did an emerge -auDv world ?
. . . . . . . .
eXess
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Sun Mar 21, 2010 12:28 pm

What version of udev do you currently have installed?

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
eXess
Apprentice
Apprentice
Posts: 243
Joined: Sun Aug 17, 2003 2:21 pm
Location: Belgium

  • Quote

Post by eXess » Sun Mar 21, 2010 12:48 pm

Code: Select all

# emerge -p udev

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

Calculating dependencies... done!
[ebuild   R   ] sys-fs/udev-149 
. . . . . . . .
eXess
Top
sera
Retired Dev
Retired Dev
Posts: 1017
Joined: Fri Feb 29, 2008 3:03 pm
Location: CET

  • Quote

Post by sera » Sun Mar 21, 2010 1:31 pm

Remove the udev init script from any runlevel if you do not intend to use baslayout2 but the stable baselayout1. You won't need it.

Eg. rc-update del udev <runlevel>
Top
eXess
Apprentice
Apprentice
Posts: 243
Joined: Sun Aug 17, 2003 2:21 pm
Location: Belgium

  • Quote

Post by eXess » Sun Mar 21, 2010 1:49 pm

udev-postmount was removed from runlevel default.
But I'm not the one who added it there !

I can clearly remember that udev was once updated in such a way that it became active on my system. I did not explicitely add it to any runlevel. I only do emerge -auDv world and I don't clearly know how to use it. What should I be afraid of, when udev is installed but not activated at boot time?
. . . . . . . .
eXess
Top
sera
Retired Dev
Retired Dev
Posts: 1017
Joined: Fri Feb 29, 2008 3:03 pm
Location: CET

  • Quote

Post by sera » Sun Mar 21, 2010 1:54 pm

udev-postmount is a different init script than udev. Please readd udev-postmount, it's supposed to be running.
Top
eXess
Apprentice
Apprentice
Posts: 243
Joined: Sun Aug 17, 2003 2:21 pm
Location: Belgium

  • Quote

Post by eXess » Sun Mar 21, 2010 2:20 pm

All right. Re-added udev-postmount to runlevel default.
But I really don't get much in here :-?
I guess that should be it, as there is no other udev script in any runlevel...

Code: Select all

# rc-update -s
             apache2 |      default                  
            bootmisc | boot                          
             checkfs | boot                          
           checkroot | boot                          
               clamd |      default                  
               clock | boot                          
         consolefont | boot                          
                dbus |      default                  
            ddclient |      default                  
            hostname | boot                          
             keymaps | boot                          
               local |      default nonetwork        
          localmount | boot                          
             modules | boot                          
               mysql |      default                  
            net.eth0 |      default                  
              net.lo | boot                          
            netmount |      default                  
             numlock |      default                  
             postfix |      default                  
             proftpd |      default                  
           rmnologin | boot                          
               samba |      default                  
                sshd |      default                  
           syslog-ng |      default                  
      udev-postmount |      default                  
             urandom | boot                          
          vixie-cron |      default                  
              webmin |      default
. . . . . . . .
eXess
Top
sera
Retired Dev
Retired Dev
Posts: 1017
Joined: Fri Feb 29, 2008 3:03 pm
Location: CET

  • Quote

Post by sera » Sun Mar 21, 2010 2:44 pm

There are the following udev related init scripts:

Code: Select all

ls /etc/init.d/udev*
/etc/init.d/udev  /etc/init.d/udev-dev-tarball  /etc/init.d/udev-mount  /etc/init.d/udev-postmount
Your kernel might use a legacy proc / sys layout which causes the warning at boot time.
If in doubt grep /use/src/linux/.config for CONFIG_SYSFS_DEPRECATED. It should be disabled this days.

If all you have seen is a message when installing udev you should be fine with the current settings.
Top
Polynomial-C
Retired Dev
Retired Dev
User avatar
Posts: 1432
Joined: Sun Jun 01, 2003 4:19 pm
Location: Germany

  • Quote

Post by Polynomial-C » Sun Mar 21, 2010 6:04 pm

Don't worry, baselayout-1 starts udev through /lib/rcscripts/addons/udev-start.sh

The init script is really only for baselayout-2/openrc
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Top
eXess
Apprentice
Apprentice
Posts: 243
Joined: Sun Aug 17, 2003 2:21 pm
Location: Belgium

  • Quote

Post by eXess » Sun Mar 21, 2010 6:48 pm

ok thanks... I was afraid to do something stupid.
Thanks everyone for helping me out ;-)
. . . . . . . .
eXess
Top
Post Reply

12 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic