Forums

Skip to content

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

lxc, Linux container: Do not install udev, static-dev

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
khippy
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Thu Aug 29, 2002 8:32 pm
Location: Braunschweig - Germany
Contact:
Contact khippy
Website

lxc, Linux container: Do not install udev, static-dev

  • Quote

Post by khippy » Thu Jun 09, 2011 9:59 am

I have successfully installed a linux container and it is running well, I have the impression, even smoother than vserver.
Following the docs I decided not to install udev, later portage picked static-dev I hardmasked, too, together with dev-manager.

See lxc /etc/portage/package.mask:
sys-fs/udev
sys-fs/static-dev
virtual/dev-manager

This was running without errors for a while and I was keeping the lxc up to date with emerge system and world fine.

Today it stopped working. Emerge world stops and tells:

Code: Select all

[ebuild  N    #] ...
sys-fs/udev-9999  USE="acl gudev hwdb keymap rule_generator -action_modeswitch -debug -edd -floppy (-introspection) (-selinux) -test" 0 kB

Total: 25 packages (4 upgrades, 21 new), Size of downloads: 796 kB

The following keyword changes are necessary to proceed:
#required by virtual/dev-manager-0, required by @system, required by @world (argument)
>=sys-fs/udev-9999 **

The following mask changes are necessary to proceed:
#required by virtual/dev-manager-0, required by @system, required by @world (argument)
# /etc/portage/package.mask:
>=sys-fs/udev-9999

NOTE: This --autounmask behavior can be disabled by setting
      EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
Please, can you help me how to avoid installing dev packages at a linux container?
--
there are no silly questions
Top
drescherjm
Advocate
Advocate
Posts: 2792
Joined: Sat Jun 05, 2004 5:46 am
Location: Pittsburgh, PA, USA

  • Quote

Post by drescherjm » Thu Jun 09, 2011 2:58 pm

Please, can you help me how to avoid installing dev packages at a linux container?
I think you can add sys-fs/udev to /etc/portage/profile/package.provided

To be honest I do not really worry about udev being complied for my lxc containers. I just don't bother starting any of the daemons for udev.
I have the impression, even smoother than vserver.
Yes it is and you are not tied to old kernels. I am running my lxc containers under 2.6.39 at home and at work.
John

My gentoo overlay
Instructons for overlay
Top
khippy
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Thu Aug 29, 2002 8:32 pm
Location: Braunschweig - Germany
Contact:
Contact khippy
Website

  • Quote

Post by khippy » Thu Jun 09, 2011 8:46 pm

Now I have

/etc/portage/profile/package.provided

Code: Select all

sys-fs/udev-9999 
sys-fs/static-dev-9999
which is a clean solution.

Thank you very much.
--
there are no silly questions
Top
Post Reply

3 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