This is an old revision of the document!
Table of Contents
Gentoo
Essential packages
These are packages I want to install on pretty most Gentoo boxes:
Fonts
Hardware monitoring
(There's no need to install these packages on virtual machines)
Networking
System
System administration
Utilities
- direct=yes|app-crypt/aespipe (Used by backup scripts)
Tips and Tricks
Enabling bash completion for portage
Single user mode with genkernel
To get into single user mode using a genkernel/initramfs, you must append <tt>init_opts=1</tt> to the kernel boot line, rather than the usual <tt>1</tt>.
Limiting sensord's syslog logging
In /etc/default/sensord, set the following: ALARM_INTERVAL=30h LOG_INTERVAL=30g SYSLOG_FACILITY=daemon
Stopping snmpd logging all connections
In /etc/default/snmpd, change the first part of the SNMPDOPTS line from: -Lsd to: -LS4d This will keep it logging important messages, but debugging & notice messages will be ignored.
Useful scheduled tasks
Also see Portage for more useful scheduled tasks.
GLSA Check
Have your Gentoo box check if any installed packages are affected by known security problems using glsa-check. Add the following script to your weekly crontab directory:
Maintenance
Kernel Upgrades
Get the new kernel sources:
Migrate the kernel configuration: <source lang="bash"> eselect kernel list eselect kernel set <num> </source>
Mount <tt>/boot</tt>, and build/install the new kernel <source lang="bash"> mount /boot genkernel --menuconfig all </source>
If necessary, modify the Grub configuration, <tt>/boot/grub/grub.conf</tt>.
Rebuild any packages with kernel-specific drivers: <source lang="bash"> module-rebuild rebuild </source>
Problems
The current Gentoo release (2008.0) shipped with a blocking problem in portage, involving direct=yes|sys-fs/e2fsprogs and direct=yes|sys-libs/ss/direct=yes|sys-libs/com_err. This appears to be fixed in the latest release candidates of portage 2.2, but on older systems, the following might be needed: