This is an old revision of the document!
These are packages I want to install on pretty most Gentoo boxes:
(There's no need to install these packages on virtual machines)
To get into single user mode using a genkernel/initramfs, you must append init_opts=1
to the kernel boot line, rather than the usual 1
.
In /etc/default/sensord, set the following: ALARM_INTERVAL=30h LOG_INTERVAL=30g SYSLOG_FACILITY=daemon
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.
Also see Portage for more useful scheduled tasks.
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:
Get the new kernel sources:
Migrate the kernel configuration: <code bash> eselect kernel list eselect kernel set <num> </code>
Mount /boot
, and build/install the new kernel
<code bash>
mount /boot
genkernel --menuconfig all
</code>
If necessary, modify the Grub configuration, /boot/grub/grub.conf
.
Rebuild any packages with kernel-specific drivers: <code bash> module-rebuild rebuild </code>
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: