![Page 1: IsoHunt - or, you did WHAT with profiles? - dev.gentoo.orgrobbat2/miniconf-2012-isohunt.pdf · IntroductionOverviewPro1lesforapurpose Gentoo@IsoHunt or,youdidWHATwithpro1les? RobinHJohnson](https://reader033.vdocuments.mx/reader033/viewer/2022060221/5f073f5a7e708231d41c0ada/html5/thumbnails/1.jpg)
Introduction Overview Profiles for a purpose
Gentoo @ IsoHuntor, you did WHAT with profiles?
Robin H Johnson <[email protected]>Gentoo Infrastucture
Gentoo Miniconf Prague2012/10/20
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
![Page 2: IsoHunt - or, you did WHAT with profiles? - dev.gentoo.orgrobbat2/miniconf-2012-isohunt.pdf · IntroductionOverviewPro1lesforapurpose Gentoo@IsoHunt or,youdidWHATwithpro1les? RobinHJohnson](https://reader033.vdocuments.mx/reader033/viewer/2022060221/5f073f5a7e708231d41c0ada/html5/thumbnails/2.jpg)
Introduction Overview Profiles for a purpose
IsoHunt...
BitTorrent search engine3+ racks, 2+ locations, 30+ machines300+ Mbit/sec100% Gentoo powered
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
![Page 3: IsoHunt - or, you did WHAT with profiles? - dev.gentoo.orgrobbat2/miniconf-2012-isohunt.pdf · IntroductionOverviewPro1lesforapurpose Gentoo@IsoHunt or,youdidWHATwithpro1les? RobinHJohnson](https://reader033.vdocuments.mx/reader033/viewer/2022060221/5f073f5a7e708231d41c0ada/html5/thumbnails/3.jpg)
Introduction Overview Profiles for a purpose
IsoHunt...
BitTorrent search engine3+ racks, 2+ locations, 30+ machines300+ Mbit/sec100% Gentoo powered
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
![Page 4: IsoHunt - or, you did WHAT with profiles? - dev.gentoo.orgrobbat2/miniconf-2012-isohunt.pdf · IntroductionOverviewPro1lesforapurpose Gentoo@IsoHunt or,youdidWHATwithpro1les? RobinHJohnson](https://reader033.vdocuments.mx/reader033/viewer/2022060221/5f073f5a7e708231d41c0ada/html5/thumbnails/4.jpg)
Introduction Overview Profiles for a purpose
Gentoo Profiles
Originally single-parentMulti-parent release in 2008.0package.{mask,use,unmask,accept_keywords}
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
![Page 5: IsoHunt - or, you did WHAT with profiles? - dev.gentoo.orgrobbat2/miniconf-2012-isohunt.pdf · IntroductionOverviewPro1lesforapurpose Gentoo@IsoHunt or,youdidWHATwithpro1les? RobinHJohnson](https://reader033.vdocuments.mx/reader033/viewer/2022060221/5f073f5a7e708231d41c0ada/html5/thumbnails/5.jpg)
Introduction Overview Profiles for a purpose
Non-Prefix profiles view
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
![Page 6: IsoHunt - or, you did WHAT with profiles? - dev.gentoo.orgrobbat2/miniconf-2012-isohunt.pdf · IntroductionOverviewPro1lesforapurpose Gentoo@IsoHunt or,youdidWHATwithpro1les? RobinHJohnson](https://reader033.vdocuments.mx/reader033/viewer/2022060221/5f073f5a7e708231d41c0ada/html5/thumbnails/6.jpg)
Introduction Overview Profiles for a purpose
Subset of profilesamd64+x86, no prefix, no selinux, no hardened, no targets
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
![Page 7: IsoHunt - or, you did WHAT with profiles? - dev.gentoo.orgrobbat2/miniconf-2012-isohunt.pdf · IntroductionOverviewPro1lesforapurpose Gentoo@IsoHunt or,youdidWHATwithpro1les? RobinHJohnson](https://reader033.vdocuments.mx/reader033/viewer/2022060221/5f073f5a7e708231d41c0ada/html5/thumbnails/7.jpg)
Introduction Overview Profiles for a purpose
Profiles for a purpose
Location(censored)
Hardware classbarcelona, k8, nehalem, x86_64, xeon_c2d, xeon_e5,xeon_york
Machine roledb, infra, lucene, monitor, router, vm, web
Host$HOSTNAME
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
![Page 8: IsoHunt - or, you did WHAT with profiles? - dev.gentoo.orgrobbat2/miniconf-2012-isohunt.pdf · IntroductionOverviewPro1lesforapurpose Gentoo@IsoHunt or,youdidWHATwithpro1les? RobinHJohnson](https://reader033.vdocuments.mx/reader033/viewer/2022060221/5f073f5a7e708231d41c0ada/html5/thumbnails/8.jpg)
Introduction Overview Profiles for a purpose
Parent file
/usr/portage/profiles/default/linux/amd64/10.0/server/etc/managed-portage/common/pre/make.profile/etc/managed-portage/location/XXXXX/make.profile/etc/managed-portage/class/db/make.profile/etc/managed-portage/hwtype/xeon_york/make.profile/etc/managed-portage/common/post/make.profile
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
![Page 9: IsoHunt - or, you did WHAT with profiles? - dev.gentoo.orgrobbat2/miniconf-2012-isohunt.pdf · IntroductionOverviewPro1lesforapurpose Gentoo@IsoHunt or,youdidWHATwithpro1les? RobinHJohnson](https://reader033.vdocuments.mx/reader033/viewer/2022060221/5f073f5a7e708231d41c0ada/html5/thumbnails/9.jpg)
Introduction Overview Profiles for a purpose
Setup
ln -sf /etc/managed-portage/hosts/${h}/make.conf /etc/make.confln -sf /etc/managed-portage/hosts/${h}/make.profile/ /etc/make.profileln -sf /etc/managed-portage/hosts/${h}/etc-portage/ /etc/portage
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt