1 |
--------------------------------------------------------------------------- |
2 |
Gentoo Weekly Newsletter |
3 |
http://www.gentoo.org/news/en/gwn/current.xml |
4 |
This is the Gentoo Weekly Newsletter for the week of 1 November 2004. |
5 |
--------------------------------------------------------------------------- |
6 |
|
7 |
============== |
8 |
1. Gentoo News |
9 |
============== |
10 |
|
11 |
Report from last week's Linux World Expo in Germany (Frankfurt) |
12 |
--------------------------------------------------------------- |
13 |
|
14 |
The Linux World Conference & Expo[1] in Frankfurt is one of Germany's top |
15 |
5 specialized fairs, with 15,000 visitors and its main focus on commercial |
16 |
Linux offerings. The exhibition serves as a platform for Linux products |
17 |
and development, and is complemented by a conference program spanning all |
18 |
three days. Gentoo was present in the ".org Pavilion" next to a lot of |
19 |
other non-commercial community projects. The German non-profit association |
20 |
"Förderverein Gentoo e.V."[2] had been in charge of organization, and |
21 |
brought together more than ten Gentoo developers from Germany, Austria and |
22 |
the Switzerland to man the booth. |
23 |
1. http://www.linuxworldexpo.de |
24 |
2. http://www.gentoo-ev.de |
25 |
|
26 |
Figure 1.1: The Usual suspects |
27 |
http://www.gentoo.org/images/gwn/20041101-lwe.jpg |
28 |
Note: Left to right: zypher (Marc Hildebrand), dj-submerge (Marc Herren), |
29 |
visiting GWN editor Ulrich Plate, swegener (Sven Wegener), crouching ian! |
30 |
(Christian Hartmann), PyLon (Lars Weiler), yah (Markus van Bracht), |
31 |
cybersystem (Markus Nigbur), amne (Wernfried Haas), stkn (Stefan Knoblich) |
32 |
and tantive (Michael Imhof) |
33 |
|
34 |
There was quite some interest in the large variety of supported platforms |
35 |
displayed at the Gentoo booth this year, from various x86 and PPC laptops |
36 |
to three Ultra-Sparc machines, and even a Siemens Primergy quadruple Xeon |
37 |
server. With half a dozen hosts constantly building base systems or |
38 |
emerging applications, a dedicated Mini-ITX based distfiles server was put |
39 |
in place as a local repository right at the booth, very convenient for |
40 |
both staff and Gentoo users passing by. Several visitors came to get |
41 |
special support for their Gentoo installations, or just wanted to meet |
42 |
some of the developers involved in the project. One of their most frequent |
43 |
request was a "server edition" or "Enterprise Gentoo", with a more |
44 |
stabilized tree and more comfort for updates in a production environment - |
45 |
hardly surprising, since the LWE is a predominantly commercial trade fair. |
46 |
|
47 |
Special LWE edition Gentoo x86 LiveCDs (nicknamed "Fizzlewizzle") |
48 |
featuring German localizations of KDE, extensive documentation and a |
49 |
nightview of Frankfurt's office district on the CD label were distributed |
50 |
at the booth. Both the ISO image (remastered by Tobias Scherbaum[3]) and |
51 |
Christian Hartmann's[4] artwork to print directly onto the media can be |
52 |
downloaded from here[5]. |
53 |
3. dertobi123@g.o |
54 |
4. ian@g.o |
55 |
5. |
56 |
http://download.iansview.com/gentoo/exhibitions/lwe-frankfurt/2004/livecd/ |
57 |
|
58 |
Figure 1.2: Gentoo LiveCD LWE edition cover |
59 |
http://www.gentoo.org/images/gwn/20041101-livecd.jpg |
60 |
|
61 |
Mixed messages were heard from neighboring exhibitors: While Sven Herzberg |
62 |
of the Gnome[6] booth was kind enough to point out that Gentoo's bugzilla |
63 |
(unlike his own project's older version) provides buglists in iCalendar |
64 |
format for import into Evolution, Sun Microsystems had disappointing news |
65 |
about the future availability of Java on the PowerPC platform - none |
66 |
planned, unfortunately. Their project Looking Glass[7] remains quite an |
67 |
eyecatcher, though. |
68 |
6. http://www.gnome.org |
69 |
7. http://www.sun.com/software/project-looking-glass |
70 |
|
71 |
Call for help: Experienced J2EE developers needed |
72 |
------------------------------------------------- |
73 |
|
74 |
Karl Trygve Kalleberg[8] of Gentoo's Java team really needs help: "Judging |
75 |
from the number of bugs and requests for feature enhancements that we've |
76 |
been assigned in the recent past, there must have been increased interest |
77 |
in Java applications since the release of Eclipse[9]," explains Karl. The |
78 |
first request for additional help went out in August, but this time |
79 |
there's a tad more urgency to it: If you're an experienced Java developer, |
80 |
especially with a J2EE track record, please mail Karl[10] and the Gentoo |
81 |
recruiters team[11] today. |
82 |
8. karltk@g.o |
83 |
9. http://www.eclipse.org |
84 |
10. karltk@g.o |
85 |
11. recruiters@g.o |
86 |
|
87 |
Coming up: Gentoo Bugday on Saturday, 6 November 2004 |
88 |
----------------------------------------------------- |
89 |
|
90 |
Gentoo Bugday is a monthly event where users and developers gather on IRC |
91 |
to fix lots of bugs. This unique opportunity to meet the devs and directly |
92 |
participate in fixing problems has been hugely successful, in the past. A |
93 |
dedicated IRC channel has been set aside for this collaborative effort, |
94 |
#gentoo-bugs on irc.freenode.org, and if you want to participate, all you |
95 |
have to do is /join the channel. |
96 |
|
97 |
================== |
98 |
2. Gentoo security |
99 |
================== |
100 |
|
101 |
MySQL: Multiple vulnerabilities |
102 |
------------------------------- |
103 |
|
104 |
Several vulnerabilities including privilege abuse, Denial of Service, and |
105 |
potentially remote arbitrary code execution have been discovered in MySQL. |
106 |
|
107 |
For more information, please see the GLSA Announcement[12] |
108 |
12. http://www.gentoo.org/security/en/glsa/glsa-200410-22.xml |
109 |
|
110 |
Gaim: Multiple vulnerabilities |
111 |
------------------------------ |
112 |
|
113 |
Multiple vulnerabilities have been found in Gaim which could allow a |
114 |
remote attacker to crash the application, or possibly execute arbitrary |
115 |
code. |
116 |
|
117 |
For more information, please see the GLSA Announcement[13] |
118 |
13. http://www.gentoo.org/security/en/glsa/glsa-200410-23.xml |
119 |
|
120 |
MIT krb5: Insecure temporary file use in send-pr.sh |
121 |
--------------------------------------------------- |
122 |
|
123 |
The send-pr.sh script, included in the mit-krb5 package, is vulnerable to |
124 |
symlink attacks, potentially allowing a local user to overwrite arbitrary |
125 |
files with the rights of the user running the utility. |
126 |
|
127 |
For more information, please see the GLSA Announcement[14] |
128 |
14. http://www.gentoo.org/security/en/glsa/glsa-200410-24.xml |
129 |
|
130 |
Netatalk: Insecure tempfile handling in etc2ps.sh |
131 |
------------------------------------------------- |
132 |
|
133 |
The etc2ps.sh script, included in the Netatalk package, is vulnerable to |
134 |
symlink attacks, potentially allowing a local user to overwrite arbitrary |
135 |
files with the rights of the user running the utility. |
136 |
|
137 |
For more information, please see the GLSA Announcement[15] |
138 |
15. http://www.gentoo.org/security/en/glsa/glsa-200410-25.xml |
139 |
|
140 |
socat: Format string vulnerability |
141 |
---------------------------------- |
142 |
|
143 |
socat contains a format string vulnerability that can potentially lead to |
144 |
remote or local execution of arbitrary code with the privileges of the |
145 |
socat process. |
146 |
|
147 |
For more information, please see the GLSA Announcement[16] |
148 |
16. http://www.gentoo.org/security/en/glsa/glsa-200410-26.xml |
149 |
|
150 |
mpg123: Buffer overflow vulnerabilities |
151 |
--------------------------------------- |
152 |
|
153 |
Buffer overflow vulnerabilities have been found in mpg123 which could lead |
154 |
to execution of arbitrary code. |
155 |
|
156 |
For more information, please see the GLSA Announcement[17] |
157 |
17. http://www.gentoo.org/security/en/glsa/glsa-200410-27.xml |
158 |
|
159 |
rssh: Format string vulnerability |
160 |
--------------------------------- |
161 |
|
162 |
rssh is vulnerable to a format string vulnerability that allows arbitrary |
163 |
execution of code with the rights of the connected user, thereby bypassing |
164 |
rssh restrictions. |
165 |
|
166 |
For more information, please see the GLSA Announcement[18] |
167 |
18. http://www.gentoo.org/security/en/glsa/glsa-200410-28.xml |
168 |
|
169 |
PuTTY: Pre-authentication buffer overflow |
170 |
----------------------------------------- |
171 |
|
172 |
PuTTY contains a vulnerability allowing an SSH server to execute arbitrary |
173 |
code on the connecting client. |
174 |
|
175 |
For more information, please see the GLSA Announcement[19] |
176 |
19. http://www.gentoo.org/security/en/glsa/glsa-200410-29.xml |
177 |
|
178 |
GPdf, KPDF, KOffice: Vulnerabilities in included xpdf |
179 |
----------------------------------------------------- |
180 |
|
181 |
GPdf, KPDF and KOffice all include vulnerable xpdf code to handle PDF |
182 |
files, making them vulnerable to execution of arbitrary code upon viewing |
183 |
a malicious PDF file. |
184 |
|
185 |
For more information, please see the GLSA Announcement[20] |
186 |
20. http://www.gentoo.org/security/en/glsa/glsa-200410-30.xml |
187 |
|
188 |
Archive::Zip: Virus detection evasion |
189 |
------------------------------------- |
190 |
|
191 |
Email virus scanning software relying on Archive::Zip can be fooled into |
192 |
thinking a ZIP attachment is empty while it contains a virus, allowing |
193 |
detection evasion. |
194 |
|
195 |
For more information, please see the GLSA Announcement[21] |
196 |
21. http://www.gentoo.org/security/en/glsa/glsa-200410-31.xml |
197 |
|
198 |
========================= |
199 |
3. Heard in the community |
200 |
========================= |
201 |
|
202 |
Web forums |
203 |
---------- |
204 |
|
205 |
To sleep - perchance to dream: ay, there's the patch |
206 |
|
207 |
Ending many months of insomnia in PowerBooks, Gentoo/PPC developer JoseJX |
208 |
reported in a Forum thread on Wednesday that Benjamin Herrenschmidt, the |
209 |
PPC kernel maintainer, has published his latest enhancement to the power |
210 |
management of portable Macs, more specifically for putting the aluminium |
211 |
PowerBooks with ATi graphics chipsets to sleep. Benh's patch seems to |
212 |
apply cleanly to Gentoo's development sources 2.6.9-r1, and a wave of |
213 |
gratitude is washing over the PPC forum: |
214 |
|
215 |
* Test patch for sleep on AluBooks[22] |
216 |
22. http://forums.gentoo.org/viewtopic.php?t=243169 |
217 |
|
218 |
gentoo-user |
219 |
----------- |
220 |
|
221 |
Analogue distributions |
222 |
|
223 |
Users commented on a new linux distribution vidalinux[23] which is based |
224 |
on Gentoo. It uses the Gentoo system tools and portage as its package |
225 |
manager. |
226 |
23. http://www.vidalinux.com |
227 |
|
228 |
* vidalinux[24] |
229 |
24. http://thread.gmane.org/gmane.linux.gentoo.user/105000 |
230 |
|
231 |
Master USE |
232 |
|
233 |
Several discussions arose this week regarding USE flags in Portage. USE |
234 |
flags provide a convenient approach to managing support and dependency |
235 |
information when emerging packages. Understanding what flags are necessary |
236 |
and how they might impact a system's configuration can be challenging for |
237 |
new users. |
238 |
|
239 |
* USE flags documentation[25] |
240 |
* Choosing USE flags (and choosing well)[26] |
241 |
* changed USE flags[27] |
242 |
25. http://thread.gmane.org/gmane.linux.gentoo.user/105145 |
243 |
26. http://thread.gmane.org/gmane.linux.gentoo.user/105001 |
244 |
27. http://thread.gmane.org/gmane.linux.gentoo.user/104703 |
245 |
|
246 |
Binary pop |
247 |
|
248 |
One user noticed that etc-update was asking them to overwrite /etc/X11/xdm |
249 |
binary files in addition to just configuration files. |
250 |
|
251 |
* Portage: binaries seen as config files[28] |
252 |
28. http://thread.gmane.org/gmane.linux.gentoo.user/105121 |
253 |
|
254 |
gentoo-dev |
255 |
---------- |
256 |
|
257 |
A few glibc changes |
258 |
|
259 |
Travis Tilley[29] has again done some (major) changes to Gentoo's glibc. |
260 |
This includes enabling some sanity checks, and improved DNS and mDNS |
261 |
handling. |
262 |
29. lv@g.o |
263 |
|
264 |
* A few glibc changes[30] |
265 |
30. http://thread.gmane.org/gmane.linux.gentoo.devel/22501 |
266 |
|
267 |
"Planet Gentoo" blog aggregator |
268 |
|
269 |
Daniel Drake[31] presents a proposal for a Gentoo Blog Aggregator to |
270 |
provide users and developers with a better overview of developments in |
271 |
Gentoo. The ensuing discussion centered more on the usefulness of such a |
272 |
service, as many people dislike blogs. |
273 |
31. dsd@g.o |
274 |
|
275 |
* GLEP 30: "Planet Gentoo" web log aggregator[32] |
276 |
32. http://thread.gmane.org/gmane.linux.gentoo.devel/22415 |
277 |
|
278 |
GLEP 29: USE flag grouping |
279 |
|
280 |
In another GLEP started this week, Ciaran McCreesh[33] proposes some new |
281 |
input on USE flag groups. This should enable users to select groups (for |
282 |
example, @KDE, @MULTIMEDIA), but the fine details (what does @KDE -@GNOME |
283 |
do?) are still not perfectly worked out. |
284 |
33. ciaranm@g.o |
285 |
|
286 |
* A GLEP 29: USE flag grouping[34] |
287 |
34. http://thread.gmane.org/gmane.linux.gentoo.devel/22378 |
288 |
|
289 |
====================== |
290 |
4. Gentoo in the press |
291 |
====================== |
292 |
|
293 |
Newsforge (30 October 2004) |
294 |
--------------------------- |
295 |
|
296 |
Joe Barr has written a tongue-in-cheek piece[35] answering the question |
297 |
what the choice of Linux distributions says about a person. According to |
298 |
Barr, Gentoo's motto is "If it moves, compile it," supposedly making it |
299 |
the distribution most appealing to lone ranger types like John Wayne. |
300 |
35. http://www.newsforge.com/article.pl?sid=04/10/30/1322227 |
301 |
|
302 |
=========== |
303 |
5. Bugzilla |
304 |
=========== |
305 |
|
306 |
Summary |
307 |
------- |
308 |
|
309 |
* Statistics |
310 |
* Closed bug ranking |
311 |
* New bug rankings |
312 |
|
313 |
Statistics |
314 |
---------- |
315 |
|
316 |
The Gentoo community uses Bugzilla (bugs.gentoo.org[36]) to record and |
317 |
track bugs, notifications, suggestions and other interactions with the |
318 |
development team. Between 24 October 2004 and 30 October 2004, activity on |
319 |
the site has resulted in: |
320 |
36. http://bugs.gentoo.org |
321 |
|
322 |
* 802 new bugs during this period |
323 |
* 378 bugs closed or resolved during this period |
324 |
* 19 previously closed bugs were reopened this period |
325 |
|
326 |
Of the 7368 currently open bugs: 115 are labeled 'blocker', 255 are |
327 |
labeled 'critical', and 551 are labeled 'major'. |
328 |
|
329 |
Closed bug rankings |
330 |
------------------- |
331 |
|
332 |
The developers and teams who have closed the most bugs during this period |
333 |
are: |
334 |
|
335 |
* Gentoo's Team for Core System packages[37], with 45 closed bugs[38] |
336 |
* AMD64 Porting Team[39], with 25 closed bugs[40] |
337 |
* Gentoo Security[41], with 19 closed bugs[42] |
338 |
* Java team[43], with 14 closed bugs[44] |
339 |
* netmon herd[45], with 13 closed bugs[46] |
340 |
* Gentoo KDE team[47], with 12 closed bugs[48] |
341 |
* Wine Maintainers[49], with 10 closed bugs[50] |
342 |
* Gentoo Toolchain Maintainers[51], with 10 closed bugs[52] |
343 |
37. base-system@g.o |
344 |
38. |
345 |
http://bugs.gentoo.org/buglist.cgi?bug_status=RESOLVED&bug_status=CLOSED&chfield=bug_status&chfieldfrom=2004-10-24&chfieldto=2004-10-30&resolution=FIXED&assigned_to=base-system@g.o |
346 |
39. amd64@g.o |
347 |
40. |
348 |
http://bugs.gentoo.org/buglist.cgi?bug_status=RESOLVED&bug_status=CLOSED&chfield=bug_status&chfieldfrom=2004-10-24&chfieldto=2004-10-30&resolution=FIXED&assigned_to=amd64@g.o |
349 |
41. security@g.o |
350 |
42. |
351 |
http://bugs.gentoo.org/buglist.cgi?bug_status=RESOLVED&bug_status=CLOSED&chfield=bug_status&chfieldfrom=2004-10-24&chfieldto=2004-10-30&resolution=FIXED&assigned_to=security@g.o |
352 |
43. java@g.o |
353 |
44. |
354 |
http://bugs.gentoo.org/buglist.cgi?bug_status=RESOLVED&bug_status=CLOSED&chfield=bug_status&chfieldfrom=2004-10-24&chfieldto=2004-10-30&resolution=FIXED&assigned_to=java@g.o |
355 |
45. netmon@g.o |
356 |
46. |
357 |
http://bugs.gentoo.org/buglist.cgi?bug_status=RESOLVED&bug_status=CLOSED&chfield=bug_status&chfieldfrom=2004-10-24&chfieldto=2004-10-30&resolution=FIXED&assigned_to=netmon@g.o |
358 |
47. kde@g.o |
359 |
48. |
360 |
http://bugs.gentoo.org/buglist.cgi?bug_status=RESOLVED&bug_status=CLOSED&chfield=bug_status&chfieldfrom=2004-10-24&chfieldto=2004-10-30&resolution=FIXED&assigned_to=kde@g.o |
361 |
49. wine@g.o |
362 |
50. |
363 |
http://bugs.gentoo.org/buglist.cgi?bug_status=RESOLVED&bug_status=CLOSED&chfield=bug_status&chfieldfrom=2004-10-24&chfieldto=2004-10-30&resolution=FIXED&assigned_to=wine@g.o |
364 |
51. toolchain@g.o |
365 |
52. |
366 |
http://bugs.gentoo.org/buglist.cgi?bug_status=RESOLVED&bug_status=CLOSED&chfield=bug_status&chfieldfrom=2004-10-24&chfieldto=2004-10-30&resolution=FIXED&assigned_to=toolchain@g.o |
367 |
|
368 |
New bug rankings |
369 |
---------------- |
370 |
|
371 |
The developers and teams who have been assigned the most new bugs during |
372 |
this period are: |
373 |
|
374 |
* Gentoo's Team for Core System packages[53], with 19 new bugs[54] |
375 |
* Gentoo Linux Gnome Desktop Team[55], with 17 new bugs[56] |
376 |
* AMD64 Porting Team[57], with 17 new bugs[58] |
377 |
* Alpha Porters[59], with 15 new bugs[60] |
378 |
* Gentoo Games[61], with 12 new bugs[62] |
379 |
* Dylan Carlson[63], with 12 new bugs[64] |
380 |
* Portage team[65], with 11 new bugs[66] |
381 |
* Mozilla Gentoo Team[67], with 10 new bugs[68] |
382 |
53. base-system@g.o |
383 |
54. |
384 |
http://bugs.gentoo.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&chfield=assigned_to&chfieldfrom=2004-10-24&chfieldto=2004-10-30&assigned_to=base-system@g.o |
385 |
55. gnome@g.o |
386 |
56. |
387 |
http://bugs.gentoo.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&chfield=assigned_to&chfieldfrom=2004-10-24&chfieldto=2004-10-30&assigned_to=gnome@g.o |
388 |
57. amd64@g.o |
389 |
58. |
390 |
http://bugs.gentoo.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&chfield=assigned_to&chfieldfrom=2004-10-24&chfieldto=2004-10-30&assigned_to=amd64@g.o |
391 |
59. alpha@g.o |
392 |
60. |
393 |
http://bugs.gentoo.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&chfield=assigned_to&chfieldfrom=2004-10-24&chfieldto=2004-10-30&assigned_to=alpha@g.o |
394 |
61. games@g.o |
395 |
62. |
396 |
http://bugs.gentoo.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&chfield=assigned_to&chfieldfrom=2004-10-24&chfieldto=2004-10-30&assigned_to=games@g.o |
397 |
63. absinthe@g.o |
398 |
64. |
399 |
http://bugs.gentoo.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&chfield=assigned_to&chfieldfrom=2004-10-24&chfieldto=2004-10-30&assigned_to=absinthe@g.o |
400 |
65. dev-portage@g.o |
401 |
66. |
402 |
http://bugs.gentoo.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&chfield=assigned_to&chfieldfrom=2004-10-24&chfieldto=2004-10-30&assigned_to=dev-portage@g.o |
403 |
67. mozilla@g.o |
404 |
68. |
405 |
http://bugs.gentoo.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&chfield=assigned_to&chfieldfrom=2004-10-24&chfieldto=2004-10-30&assigned_to=mozilla@g.o |
406 |
|
407 |
================== |
408 |
6. Tips and Tricks |
409 |
================== |
410 |
|
411 |
nice and PORTAGE_NICENESS |
412 |
------------------------- |
413 |
|
414 |
Last week's GWN introduced brandnew Portage features, this week we'd like |
415 |
to take you back to a venerable, sturdy old feature that's hot |
416 |
nonetheless: PORTAGE_NICENESS. Let's look at some basics first. |
417 |
|
418 |
Very simply put, the Linux kernel has a (process) scheduler that selects |
419 |
which process to run next in your system. One factor influencing the |
420 |
scheduler's decision about which process to assign CPU time to, is the |
421 |
priority of a process. Processes with a high priority will run before |
422 |
those with a lower priority, and processes with the same priority will |
423 |
take turns in running, one after the other and over again. |
424 |
|
425 |
Better have a look at it for yourself: Run top from a terminal on your |
426 |
host and pay special attention to the PR and NI columns: |
427 |
|
428 |
--------------------------------------------------------------------------- |
429 |
| Code Listing 6.1: | |
430 |
|Sample top | |
431 |
output--------------------------------------------------------------------- |
432 |
---- |
433 |
| | |
434 |
| PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | |
435 |
| 8005 root 20 0 85188 33m 57m R 3.3 6.7 8:43.77 X | |
436 |
| 8148 tobias 20 10 25624 2376 24m S 0.3 0.5 0:00.60 xscreensaver| |
437 |
| 1 root 20 0 2476 552 2304 S 0.0 0.1 0:00.31 init | |
438 |
| 2 root 39 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 | |
439 |
| 3 root 15 -5 0 0 0 S 0.0 0.0 0:00.09 events/0 | |
440 |
| | |
441 |
--------------------------------------------------------------------------- |
442 |
|
443 |
The PR column indicates the priority level of a process, the value in the |
444 |
NI column displays the so-called nice value of process, which allows you |
445 |
to adjust the priority of a running process. Possible values range from |
446 |
-20 (very high priority), via 0 (standard priority) to 20 (very low |
447 |
priority). In our little example the xscreensaver process has a higher |
448 |
nice value than X, which indicates that X has a higher priority than |
449 |
xscreensaver. |
450 |
|
451 |
Now, how do we make this work to our advantage when using Portage? |
452 |
|
453 |
If you keep using your computer while compiling packages you will notice |
454 |
that your box is much less responsive as usal. This is caused by having |
455 |
two "groups" of processes with the same nice priority: your usual running |
456 |
tasks on one side, and emerge (and its child processes) on the other. Now, |
457 |
if you could renice emerge and its children to a higher nice (i.e. lower |
458 |
priority!) value, compiling would inevitably take somewhat longer, but you |
459 |
could use your workstation without noticing much difference to its usual |
460 |
performance. That's what the PORTAGE_NICENESS parameter in /etc/make.conf |
461 |
is for: |
462 |
|
463 |
--------------------------------------------------------------------------- |
464 |
| Code Listing 6.2: | |
465 |
|Put this in | |
466 |
/etc/make.conf------------------------------------------------------------- |
467 |
------------ |
468 |
| | |
469 |
|PORTAGE_NICENESS="15" | |
470 |
| | |
471 |
--------------------------------------------------------------------------- |
472 |
|
473 |
You can generally "renice" individual processes from the commandline, |
474 |
(e.g. renice 0 -p 8148 to prioritize xscreensaver in the above example), |
475 |
but this will not work with emerge, as Portage reads the PORTAGE_NICENESS |
476 |
setting from /etc/make.conf once and executes all child processes with the |
477 |
specified nice value. |
478 |
|
479 |
=========================== |
480 |
7. Moves, adds, and changes |
481 |
=========================== |
482 |
|
483 |
Moves |
484 |
----- |
485 |
|
486 |
The following developers recently left the Gentoo team: |
487 |
|
488 |
* None this week |
489 |
|
490 |
Adds |
491 |
---- |
492 |
|
493 |
The following developers recently joined the Gentoo Linux team: |
494 |
|
495 |
* None this week |
496 |
|
497 |
Changes |
498 |
------- |
499 |
|
500 |
The following developers recently changed roles within the Gentoo Linux |
501 |
project: |
502 |
|
503 |
* None this week |
504 |
|
505 |
==================== |
506 |
8. Contribute to GWN |
507 |
==================== |
508 |
|
509 |
Interested in contributing to the Gentoo Weekly Newsletter? Send us an |
510 |
email[69]. |
511 |
69. gwn-feedback@g.o |
512 |
|
513 |
=============== |
514 |
9. GWN feedback |
515 |
=============== |
516 |
|
517 |
Please send us your feedback[70] and help make the GWN better. |
518 |
70. gwn-feedback@g.o |
519 |
|
520 |
================================ |
521 |
10. GWN subscription information |
522 |
================================ |
523 |
|
524 |
To subscribe to the Gentoo Weekly Newsletter, send a blank email to |
525 |
gentoo-gwn-subscribe@g.o. |
526 |
|
527 |
To unsubscribe to the Gentoo Weekly Newsletter, send a blank email to |
528 |
gentoo-gwn-unsubscribe@g.o from the email address you are |
529 |
subscribed under. |
530 |
|
531 |
=================== |
532 |
11. Other languages |
533 |
=================== |
534 |
|
535 |
The Gentoo Weekly Newsletter is also available in the following languages: |
536 |
|
537 |
* Danish[71] |
538 |
* Dutch[72] |
539 |
* English[73] |
540 |
* German[74] |
541 |
* French[75] |
542 |
* Japanese[76] |
543 |
* Italian[77] |
544 |
* Polish[78] |
545 |
* Portuguese (Brazil)[79] |
546 |
* Portuguese (Portugal)[80] |
547 |
* Russian[81] |
548 |
* Spanish[82] |
549 |
* Turkish[83] |
550 |
71. http://www.gentoo.org/news/da/gwn/gwn.xml |
551 |
72. http://www.gentoo.org/news/be/gwn/gwn.xml |
552 |
73. http://www.gentoo.org/news/en/gwn/gwn.xml |
553 |
74. http://www.gentoo.org/news/de/gwn/gwn.xml |
554 |
75. http://www.gentoo.org/news/fr/gwn/gwn.xml |
555 |
76. http://www.gentoo.org/news/ja/gwn/gwn.xml |
556 |
77. http://www.gentoo.org/news/it/gwn/gwn.xml |
557 |
78. http://www.gentoo.org/news/pl/gwn/gwn.xml |
558 |
79. http://www.gentoo.org/news/br/gwn/gwn.xml |
559 |
80. http://www.gentoo.org/news/pt/gwn/gwn.xml |
560 |
81. http://www.gentoo.org/news/ru/gwn/gwn.xml |
561 |
82. http://www.gentoo.org/news/es/gwn/gwn.xml |
562 |
83. http://www.gentoo.org/news/tr/gwn/gwn.xml |
563 |
|
564 |
Ulrich Plate <plate@g.o> - Editor |
565 |
Brian Downey <bdowney@×××××××××××.net> - Author |
566 |
Patrick Lauer <patrick@g.o> - Author |
567 |
Tobias Scherbaum <dertobi123@g.o> - Author |
568 |
Emmet Wagle <ewagle@×××××.com> - Author |
569 |
Lars Weiler <pylon@g.o> - Author |
570 |
|
571 |
|
572 |
-- |
573 |
gentoo-gwn@g.o mailing list |