Gentoo Weekly Newsletter: January 13th, 2003
1.
Gentoo News
Summary
Portage Tree Frozen for Gentoo Linux 1.4_rc3/final
On January 8th, the Portage Tree was frozen pending the next release of Gentoo Linux 1.4. Packages that are unmasked in Portage as of this date will
will make it into what hopefully becomes 1.4_final. As part of Gentoo's new
formal release policy, only changes that fix bugs or
security problems will be allowed from now until release. Gentoo Linux 1.4 is currently in the "Build and Test" phase where assigned builders for each
architecture build a "generic CPU" set of stage tarballs using a current Portage snapshot.
gcc Changes to Gentoo Linux
gcc was recently upgraded to 3.2.1-r6 in the Portage tree, causing some confusion in the community.
As part of this upgrade, Gentoo Linux now offers the ability to run both 2.95.x and 3.2.x
versions of gcc on the same system using a new gcc-config tool that allows the user to manually select which version of gcc to use when emerging
a new package. With this new upgrade comes some steps that users of Gentoo Linux need to follow on a 1.4 system:
Code Listing 1.1: gcc-3.2.1-r6 upgrade process |
# emerge -u gcc
# env-update && source /etc/profile
# emerge colorgcc
# emerge clean gcc
# emerge gentoolkit
# qpkg -I -v -nc gcc
# gcc-3.2.1-r6
# gcc-2.95.3-r8
# gcc-config-1.2.7
|
Users still using Gentoo Linux 1.2 should follow these steps when emerging gcc-2.95.3-r8:
Code Listing 1.2: gcc-2.95.3-r8 upgrade process |
# emerge -u gcc
# env-update && source /etc/profile
# emerge colorgcc
# emerge clean gcc
# emerge gentoolkit
# qpkg -I -v -nc gcc
# gcc-3.2.1-r6
# gcc-2.95.3-r8
# gcc-config-1.2.7
|
Gentoo Users Have Even More Control with virtual/bootloader and virtual/editor
Based on a suggestion by Charles Brewer, Gentoo Linux now offers users more control over their
bootloaders and editors. With the new virtual/bootloader and virtual/editor packages. For virtual/bootloader, x86 users can install their choice of lilo or
grub. Previously, grub was a dependency of the base system. The virtual/editor package allows users to select from a number of editors, including joe, vile,
elvis, vi, vim, emacs, xemacs, nano and pico. Users wishing to take advantage of these new packages to get rid of either grub or nano can follow these
instructions:
Code Listing 1.3: virtual/bootloader upgrade process to change from grub to lilo |
# emerge rsync
# emerge lilo
# emerge unmerge grub
|
Users wishing to get rid of nano can follow these instructions:
Code Listing 1.4: virtual/editor upgrade process to change to a different editor |
# emerge rsync
# emerge your_favorite_editor
# emerge unmerge nano
|
2.
Gentoo Security
Summary
GLSA: libpng
The affected libraries do not properly calculate offsets which permits a remote buffer overflow attack
and potential execution of arbitrary code as well as potential DoS attacks by crashing the affected machine.
- Severity: high - remote execution of code.
- Packages Affected: libpng-1.2.5-r1 and earlier
- Rectification: Synchronize and emerge libpng. If running libpng-1.0.12-r1 or earlier as well, that
slot can be updated by emerging media-libs/libpng-1.0.12-r2
- GLSA Announcement
- Advisory
GLSA: lcdproc
The lcdproc system contains several boundary condition bugs that could permit a remote DoS (server crash) attack
or remote execution of arbitrary code. An exploit has been published.
- Severity: high - remote execution of code, published exploit.
- Packages Affected: lcdproc-0.4.1-r1 and earlier
- Rectification: Synchronize and emerge lcdproc.
- GLSA Announcement
- Advisory
GLSA: httpfetcher
The httpfetcher library is exposed to several buffer overflow vulnerabilities.
This library is used in several other packages, and could potentially permit execution of
arbitrary code on affected platforms. Sample exploits have been published.
- Severity: high - remote execution of code, published exploit.
- Packages Affected: http-fetcher-1.0.1 and earlier
- Rectification: Synchronize and emerge http-fetcher.
- GLSA Announcement
- Advisory
GLSA: monopd
The monodpd game server contains a buffer overflow which may permit remote execution of arbitrary code.
- Severity: high - remote execution of code.
- Packages Affected: monopd-0.4.3-r1 and earlier
- Rectification: Synchronize and emerge monopd.
- GLSA Announcement
- Advisory
GLSA: libmcrypt
Improper input validation and small memory leaks in the libmcrypt encryption library
permit remote DoS (server crash) attacks against affected platforms.
- Severity: moderate - remote DoS.
- Packages Affected: libmcrypt-2.5.1-r4 and earlier
- Rectification: Synchronize and emerge libmcrypt.
- GLSA Announcement
GLSA: dhcpcd
The dhcpcd server can be configured to execute an external script (/sbin/dhcpcd-*.exe). The external script uses
values from the server that are improperly validated and may be exploited by a malicious DHCP server. There is
potential for the execution of arbitrary commands with root privileges. The affected dhcpcd option is not setup
by default in Gentoo.
- Severity: high - exposure of root privileges.
- Packages Affected: dhcpcd-1.3.20_p0-r1 and earlier
- Rectification: Synchronize and emerge dhcpcd.
- GLSA Announcement
- Advisory
New Security Bug Reports
There were no new security bug reports this week. An older issue with mod_php has apparently been resolved,
but no GLSA has been released at the time of this writing, and the bug report remains open. See:
3.
Heard In The Community
Web Forums
Can't stop the progress
A number of threads this week deal with the joys and pitfalls of the two most prominent new features in the pending release of Gentoo Linux 1.4, prelinking binaries and the Gentoo Reference Platform. Recommended reading for anyone who wants to try their hands:
And the winner is...
env-update && source /etc/profile... The transition to gcc3.2.1-r6 over the holidays has led to an incredible number of questions. "gcc: command not found", "make menuconfig doesn't work" and other panic attacks have all but dominated the forums over the past week. That the same sort of thing has been haunting the IRC channels, the newsgroup alt.os.linux.gentoo and the mailing list wasn't exactly helpful. Ladies and Gentoomen, the authoritative answer lies in this thread: update your environment...
A closer look at the wallflowers
Far from the battlefields of the editor flame wars or the overclocker's jihad, a decisively pacifist thread has quietly evolved around applications that deserve more public attention than they get. If you've ever wondered whether there was more to the Linux desktop than what's in the KDE menu, but couldn't quite keep up with the constant buzz on Freshmeat.net, you'll be interested to know that there's a thread presenting a few select, yet widely ignored pieces of software, lovingly described by your fellow Gentooists:
gentoo-user
Setting the clock right: ntpdate deprecated in favor of ntpd
People on the user mailing list were having fun this week trying to keep
their computer clocks in sync with an NTP server. Including a few
inevitable top vs. bottom posting messages, over 50 articles have been
dealing with the correct setting for ntpd, the daemon that takes care of
synchronizing your computer's clock with the real world. Anything you
always wanted to know about NTP, but were afraid to ask can be found
here.
gentoo-dev
Building a Second System.
John Nilsson
posted an e-mail asking how to use an athlon-xp
optimized system to compile a base system for a 486. This question
looks like a particular case of the more general: how does one
compile packages on a faster
system to install them on a slower one (and optimized for the slower
one)? Timo A. Hummel proposed a
"hard"
solution. Arnold deVos chipped in with his
two cents and John Nilsson himself came up with
what seems The Right Thing (TM):
distcc.
IUSE Variable Clarification.
Burton Samograd
asked what the correct use for the IUSE variable
inside ebuilds is. This started quite a long
thread
in which two
different interpretations were given. Nick Jones
mentioned an upcoming feature
in portage which he named rebuild-on-use-change. This feature should
take care of rebuilding affected packages when changing USE flags.
Maik Schreiber offered an
explanation:
"USE flags per definition define _optional_ features. So in your
case, if the package _requires_ ncurses, you don't list it in IUSE
(since you don't even pay attention to the "ncurses" USE flag
anyway)."
He also
mentioned a possible origin of the word IUSE.
4.
Gentoo International
Gentoo User Group Korea
2003 is Asia's turn to promote Linux on a large scale, says the horoscope. Korea is already very much at the forefront of this development, being particularly blessed with Linux activists - think Hancom Office, think YOPY. Korea also has one of the more active Gentoo user communities on the planet. Jungmin Seo, on the Gentoo dev team since November last year, doubles as webmaster for a message forum at http://users.gentoo.or.kr. The software in use is a Korean open source PHP bulletin board system, JSBoard, and the site underwent a complete redesign only last month. On top of that, there's a very active #gentoo IRC channel with a few dozen regulars at irc.hanirc.org, and not less than three complete mirror sites. Seo, who is living on and off in Korea and England, is working on Gentoo documentation "and some CJK stuff", he says, but tries to distribute the user group's management workload as much as possible. In spite of its webmaster sweating profusely under exam stress at the University of York these days, the community site is going to see a major face-lift to its other sections, namely the Wiki and the screenshot gallery are being completely refurbished.
Figure 4.1: Neat: The completely redesigned Korean Gentoo User Group website |
 |
Do US export restrictions apply to Gentoo?
An innocent forum thread has raised some uncertainty about the legality of using Gentoo in countries under US embargo. Some major distributions seem to fall under these regulations and refuse to ship to destinations covered in the EAR, others have a more relaxed view of things. But no matter which degree of paranoia or libertarianism the software vendors choose to adopt for themselves, is it legal to download the sources for ssh from Havana or Pyongyang as long as the mirror that serves the files is physically located outside of the United States? Probably not, but it does look next to impossible to enforce any form of restrictive policy on a highly volatile, internationally fuzzy object like Gentoo Linux...
5.
Portage Watch
The following stable packages were added to portage this week
- app-admin/xsu2 : Interface for 'su - username -c command' in GNOME2. http://xsu.freax.eu.org
- app-editors/XML-XSH : XML Editing Shell http://xsh.sourceforge.net/
- app-games/quintalign : KDEAlign - a one player boardgame http://www.heni-online.de/linux/
- app-misc/cdspeed : Change the speed of your CD drive. http://linuxfocus.org/~guido/
- app-misc/mmv : Move/copy/append/link multiple files according to a set of wildcard patterns. http://packages.debian.org/unstable/utils/mmv.html
- app-sci/zetagrid : An open source and platform independent grid system http://www.zetagrid.net
- app-text/cpp2latex : A program to convert C++ code to LaTeX source http://www.arnoldarts.de/cpp2latex.html
- dev-db/mysqlnavigator : Advanced Qt based front end to mysql http://sql.kldp.org/mysql
- dev-db/fastdb : OO-DBMS that holds all data in memory; interfaces for C/C++/Kylix http://www.garret.ru/~knizhnik/fastdb.html
- dev-perl/Term-ReadLine-Perl : Quick implimentation of readline utilities. http:/search.cpan.org/src/ILYAZ/Term-ReadLine-Perl-1.0203/README
- dev-perl/XML-LibXML-Common : Routines and Constants common for XML::LibXML and XML::GDOME." http:/search.cpan.org/src/ILYAZ/Term-ReadLine-Perl-1.0203/README
- dev-perl/XML-XUpdate-LibXML : Process XUpdate commands over an XML document. http:/search.cpan.org/src/PAJAS/XML-XUpdate-LibXML-0.3.0/README
- dev-ruby/ruby-libart : Ruby libart bindings http://ruby-gnome.sourceforge.net/
- dev-util/shc : A (shell-) script compiler/scrambler. http://www.datsi.fi.upm.es/~frosal
- media-libs/jbigkit : JBIG-KIT implements a highly effective data compression algorithm for bi-level high-resolution images such as fax pages or scanned documents http://www.cl.cam.ac.uk/~mgk25/jbigkit/
- media-libs/libsamplerate : a library for converting 44.1kHz CD Audio to 48kHz for DAT http://www.mega-nerd.com/SRC/
- media-sound/setmixer : command mode mixer http://packages.debian.org/testing/sound/setmixer.html
- net-analyzer/iftop : display bandwidth usage on an interface http://www.ex-parrot.com/~pdw/iftop/
- net-fs/intersync : Intermezzo is an advanced replicating networked filesystem. http://www.inter-mezzo.org
- net-misc/grdesktop : Gtk2 frontend for rdesktop http://www.nongnu.org/grdesktop
- net-misc/tsclient : Gtk2 frontend for rdesktop http://www.gnomepro.com/tsclient
- net-www/opera : Opera web browser. http://www.opera.com/linux/
- app-xemacs/ada : Ada language support. http://xemacs.org/
- app-xemacs/build : Build XEmacs from within (UNIX, Windows). http://xemacs.org/
- app-xemacs/c-support : Basic single-file add-ons for editing C code. http://xemacs.org/
- app-xemacs/calc : Emacs calculator http://xemacs.org/
- app-xemacs/calendar : Calendar and diary support. http://xemacs.org/
- app-xemacs/cc-mode : C, C++ and Java language support. http://xemacs.org/
- app-xemacs/clearcase : New Clearcase Version Control for XEmacs (UNIX, Windows). http://xemacs.org/
- app-xemacs/cookie : Spook and Yow (Zippy quotes). http://xemacs.org/
- app-xemacs/crisp : Crisp/Brief emulation. http://xemacs.org/
- app-xemacs/debug : GUD, gdb, dbx debugging support. http://xemacs.org/
- app-xemacs/dired : Manage file systems. http://xemacs.org/
- app-xemacs/docbookide : DocBook editing support. http://xemacs.org/
- app-xemacs/ecrypto : Crypto functionality in Emacs Lisp. http://xemacs.org/
- app-xemacs/edebug : An Emacs Lisp debugger. http://xemacs.org/
- app-xemacs/edict : MULE: Lisp Interface to EDICT, Kanji Dictionary http://xemacs.org/
- app-xemacs/ediff : Interface over GNU patch. http://xemacs.org/
- app-xemacs/edit-utils : Miscellaneous editor extensions, you probably need this. http://xemacs.org/
- app-xemacs/edt : DEC EDIT/EDT emulation. http://xemacs.org/
- app-xemacs/efs : Treat files on remote systems the same as local files. http://xemacs.org/
- app-xemacs/egg-its : MULE: Wnn (4.2 and 6) support. SJ3 support. http://xemacs.org/
- app-xemacs/emerge : Another interface over GNU patch. http://xemacs.org/
- app-xemacs/eshell : Command shell implemented entirely in Emacs Lisp http://xemacs.org/
- app-xemacs/ess : ESS: Emacs Speaks Statistics. http://xemacs.org/
- app-xemacs/eudc : Emacs Unified Directory Client (LDAP, PH). http://xemacs.org/
- app-xemacs/footnote : Footnoting in mail message editing modes. http://xemacs.org/
- app-xemacs/forms : Forms editing support (obsolete, use Widget instead). http://xemacs.org/
- app-xemacs/fortran-modes : Fortran support. http://xemacs.org/
- app-xemacs/frame-icon : Set up mode-specific icons for each frame under XEmacs http://xemacs.org/
- app-xemacs/fsf-compat : FSF Emacs compatibility files. http://xemacs.org/
- app-xemacs/games : Tetris, Sokoban, and Snake. http://xemacs.org/
- app-xemacs/gnats : XEmacs bug reports. http://xemacs.org/
- app-xemacs/gnus : The Gnus Newsreader and Mailreader. http://xemacs.org/
- app-xemacs/haskell-mode : Haskell editing support. http://xemacs.org/
- app-xemacs/hm-html-menus : HTML editing. http://xemacs.org/
- app-xemacs/idlwave : Editing and Shell mode for the Interactive Data Language http://xemacs.org/
- app-xemacs/latin-unity : MULE: find single ISO 8859 character set to encode a buffer. http://xemacs.org/
- app-xemacs/leim : MULE: Quail. All non-English and non-Japanese language support. http://xemacs.org/
- app-xemacs/locale : MULE: Localized menubars and localized splash screens. http://xemacs.org/
- app-xemacs/lookup : MULE: Dictionary support http://xemacs.org/
- app-xemacs/mail-lib : Fundamental lisp files for providing email support. http://xemacs.org/
- app-xemacs/mh-e : Front end support for MH. http://xemacs.org/
- app-xemacs/mine : Minehunt Game. http://xemacs.org/
- app-xemacs/misc-games : Other amusements and diversions. http://xemacs.org/
- app-xemacs/mule-base : MULE: Basic Mule support, required for building with Mule. http://xemacs.org/
- app-xemacs/net-utils : Miscellaneous Networking Utilities. http://xemacs.org/
- app-xemacs/os-utils : Miscellaneous O/S utilities. http://xemacs.org/
- app-xemacs/pc : PC style interface emulation. http://xemacs.org/
- app-xemacs/pcl-cvs : CVS frontend. http://xemacs.org/
- app-xemacs/pcomplete : Provides programmatic completion. http://xemacs.org/
- app-xemacs/perl-modes : Perl support. http://xemacs.org/
- app-xemacs/pgg : Emacs interface to various PGP implementations. http://xemacs.org/
- app-xemacs/prog-modes : Support for various programming languages. http://xemacs.org/
- app-xemacs/ps-print : Printing functions and utilities http://xemacs.org/
- app-xemacs/psgml-dtds : Deprecated collection of DTDs for psgml. http://xemacs.org/
- app-xemacs/python-modes : Python support. http://xemacs.org/
- app-xemacs/reftex : Emacs support for LaTeX cross-references, citations.. http://xemacs.org/
- app-xemacs/rmail : An obsolete Emacs mailer. http://xemacs.org/
- app-xemacs/ruby-modes : Ruby support. http://xemacs.org/
- app-xemacs/sasl : Simple Authentication and Security Layer (SASL) library. http://xemacs.org/
- app-xemacs/scheme : Front-end support for Inferior Scheme. http://xemacs.org/
- app-xemacs/sgml : SGML/Linuxdoc-SGML editing. http://xemacs.org/
- app-xemacs/sh-script : Support for editing shell scripts. http://xemacs.org/
- app-xemacs/sieve : Manage Sieve email filtering scripts. http://xemacs.org/
- app-xemacs/skk : MULE: Japanese Language Input Method. http://xemacs.org/
- app-xemacs/slider : User interface tool. http://xemacs.org/
- app-xemacs/sml-mode : SML editing support. http://xemacs.org/
- app-xemacs/sounds-au : XEmacs Sun sound files. http://xemacs.org/
- app-xemacs/sounds-wav : XEmacs Microsoft sound files. http://xemacs.org/
- app-xemacs/strokes : Mouse enhancement utility. http://xemacs.org/
- app-xemacs/supercite : An Emacs citation tool for News and Mail messages. http://xemacs.org/
- app-xemacs/text-modes : Miscellaneous support for editing text files. http://xemacs.org/
- app-xemacs/textools : Miscellaneous TeX support. http://xemacs.org/
- app-xemacs/tm : Emacs MIME support. Not needed for gnus >= 5.8.0 http://xemacs.org/
- app-xemacs/tooltalk : Support for building with Tooltalk. http://xemacs.org/
- app-xemacs/tpu : DEC EDIT/TPU support. http://xemacs.org/
- app-xemacs/vc : Version Control for Free systems. http://xemacs.org/
- app-xemacs/vc-cc : Version Control for ClearCase (UnFree) systems. http://xemacs.org/
- app-xemacs/vhdl : Support for VHDL. http://xemacs.org/
- app-xemacs/viper : VI emulation support. http://xemacs.org/
- app-xemacs/xemacs-base : Fundamental XEmacs support, you almost certainly need this. http://xemacs.org/
- app-xemacs/xemacs-devel : Emacs Lisp developer support. http://xemacs.org/
- app-xemacs/xslt-process : XSLT processing support. http://xemacs.org/
Updates to notable packages
- sys-apps/portage - portage-2.0.47.ebuild; portage-2.0.47_pre4.ebuild;
- kde-base/kde - kde-3.1_rc6.ebuild;
- sys-kernel/* - sparc-sources-2.4.20-r1.ebuild; xfs-sources-2.4.20_pre3.ebuild;
- dev-db/mysql - mysql-4.0.7.ebuild;
- dev-php/php - php-4.3.0-r1.ebuild;
- sys-devel/perl - perl-5.8.0-r8.ebuild;
- app-admin/gentoolkit - gentoolkit-0.1.17-r6.ebuild; gentoolkit-0.1.17-r7.ebuild; gentoolkit-0.1.17-r8.ebuild;
6.
Bugzilla
Summary
Statistics
The Gentoo community uses Bugzilla (bugs.gentoo.org) to record and track
bugs, notifications, suggestions and other interactions with the development team. In the last 7 days, activity
on the site has resulted in:
- 267 new bugs this week
- 1305 total bugs currently marked 'new'
- 537 total bugs curently assigned to developers
- 49 bugs that were previously closed have been reopened.
There are currently 1891 bugs open in bugzilla. Of these: 38 are labelled 'blocker', 72 are labelled 'critical',
and 114 are labelled 'major'.
GWN has decided to modify the list of developers from those with a large number of open bugs
to those who have closed a large number of bugs. The developers and teams who have closed the
most bugs this week are:
The current list of developers' open bugs may be found at the
Gentoo Bug Count Report.
Bugs of Note
Each week, we will single out a few bugs for special mention, because they have been provoking significant
discussions, they are particularly problematic, they are amusing or simply because they struck our fancy.
This week's featured bugs are (in no particular order):
-
Bug 12246, although closed, deserves mention because of the traffic
in forums and the mailing lists about correcting a lost gcc link (after
emerging gcc-3.2.1-r6) with env-update.
-
Bug 13614 is related to the bug above, and remains open because colorgcc
is broken by the new gcc.
-
Bug 13255 discusses problems with emerge hanging when an rsync server
is not responding (or a firewall is blocking the port) for initial
gentoo installs.
-
Bug 13055 describes a requested enhancement to portage that would
include USE flags information on emerge -p calls. A nice example of
community interaction on feature requests.
-
Bug 12538 is a fairly high-traffic bug about difficulties compiling
kdelibs with qt-3.1.1
7.
Tips and Tricks
Keeping track of emerge world
Gentoo ebuilds sometimes require post-install configuration. Typically these ebuilds will notify you of any necessary commands to run. However, when running an emerge update world, these notices can scroll by very quickly and get lost as subsequent packages are installed. To get around this, we can send the output of emerge to a logfile. We use the 'tee' command to accomplish this since 'tee' allows us to watch the emerge in process in addition to writing to a file.
Code Listing 7.1 |
# emerge --update world 2>&1 | tee -a /tmp/emerge.log
|
Note: The 2>&1 construct means that both errors and output will be logged. For more information on input/output redirection see http://linux.oreillynet.com/pub/a/linux/lpt/13_01.html |
8.
Moves, Adds and Changes
Moves
The following developers recently left the Gentoo team:
Adds
The following developers recently joined the Gentoo team:
Changes
The following developers recently changed roles within the Gentoo project.
9.
Subscribe to the GWN mailing list
Would you prefer to receive the GWN via email? Subscribe to our mailing list by sending a blank email to gentoo-gwn-subscribe@gentoo.org.
10.
Contribute to GWN
Interested in contributing to the Gentoo Weekly Newsletter? Send us an email.
11.
GWN Feedback
Please send us your feedback and help make GWN better.
12.
Other Languages
The Gentoo Weekly Newsletter is also available in the following languages:
|