1 |
-----Opprinnelig melding----- |
2 |
Fra: gentoo-dev-admin@g.o [mailto:gentoo-dev-admin@g.o]På |
3 |
vegne av gentoo-dev-request@g.o |
4 |
Sendt: 5. september 2002 19:01 |
5 |
Til: gentoo-dev@g.o |
6 |
Emne: gentoo-dev digest, Vol 1 #534 - 12 msgs |
7 |
|
8 |
|
9 |
Send gentoo-dev mailing list submissions to |
10 |
gentoo-dev@g.o |
11 |
|
12 |
To subscribe or unsubscribe via the World Wide Web, visit |
13 |
http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
14 |
or, via email, send a message with subject or body 'help' to |
15 |
gentoo-dev-request@g.o |
16 |
|
17 |
You can reach the person managing the list at |
18 |
gentoo-dev-admin@g.o |
19 |
|
20 |
When replying, please edit your Subject line so it is more specific |
21 |
than "Re: Contents of gentoo-dev digest..." |
22 |
|
23 |
|
24 |
Today's Topics: |
25 |
|
26 |
1. questions about /var/run and pids (Dominik Westner) |
27 |
2. Re: Portage and /usr/local (Dominik Westner) |
28 |
3. Re: Portage and /usr/local (Marko Mikulicic) |
29 |
4. Re: Server / security thing (Evan Read) |
30 |
5. teTeX testing (Matthew J. Turk) |
31 |
6. Re: Portage and /usr/local (Sven Vermeulen) |
32 |
7. Installation via ISDN or Modem (Manuela Marquardt) |
33 |
8. Re: Portage and /usr/local (Eric Jacoboni) |
34 |
9. Re: Portage and /usr/local (Eric Jacoboni) |
35 |
10. Re: Installation via ISDN or Modem (drev@××××××.it) |
36 |
11. Re: questions about /var/run and pids (mike) |
37 |
12. Clearing the clutter (Thomas Osterlie) |
38 |
|
39 |
--__--__-- |
40 |
|
41 |
Message: 1 |
42 |
Date: Thu, 5 Sep 2002 08:52:28 +0200 |
43 |
From: Dominik Westner <lists@×××××××××××.com> |
44 |
To: gentoo-dev@g.o |
45 |
Subject: [gentoo-dev] questions about /var/run and pids |
46 |
|
47 |
Hi all, |
48 |
|
49 |
when creating some ebuilds I quite often run into the following problem: |
50 |
|
51 |
I have a daemon program which should run under a specific user. |
52 |
Additionally I think a good daemon should always write their pid in |
53 |
/var/run. |
54 |
|
55 |
Problem: /var/run is only writable by root. Therefore only daemons |
56 |
which run as root can put their pid into /var/run. |
57 |
|
58 |
I think a better approach would be to have /var/run owned and being |
59 |
writeable by group 'daemon'. |
60 |
Every daemon program could then belong to the daemon group and write |
61 |
its pid into /var/run. |
62 |
|
63 |
Or do I simply miss something? |
64 |
|
65 |
Dominik |
66 |
|
67 |
|
68 |
--__--__-- |
69 |
|
70 |
Message: 2 |
71 |
Date: Thu, 5 Sep 2002 08:58:47 +0200 |
72 |
Subject: Re: [gentoo-dev] Portage and /usr/local |
73 |
Cc: Eric Jacoboni <jaco@××××××××××××.org>, gentoo-dev@g.o |
74 |
To: Marko Mikulicic <marko@××××.org> |
75 |
From: Dominik Westner <westner@×××××××××××.com> |
76 |
|
77 |
|
78 |
On Donnerstag, September 5, 2002, at 02:08 AM, Marko Mikulicic wrote: |
79 |
> |
80 |
> Why UNIX has the distinction between /,/usr ? |
81 |
> I readed in the GNU Hurd documentation that it is just |
82 |
> a tradition from the old tape times, althrough it is true that |
83 |
> this separation eases the network sharing of binaries (/usr can be |
84 |
> mounted readonly |
85 |
> in remote clients). |
86 |
> |
87 |
|
88 |
Interesting I always thought that you can boot a system without /usr. |
89 |
Anything which is necessary for system startup is located in /bin, |
90 |
/sbin, /lib ... |
91 |
|
92 |
Dominik |
93 |
|
94 |
|
95 |
--__--__-- |
96 |
|
97 |
Message: 3 |
98 |
Date: Thu, 05 Sep 2002 09:36:58 +0200 |
99 |
From: Marko Mikulicic <marko@××××.org> |
100 |
To: Dominik Westner <westner@×××××××××××.com> |
101 |
Cc: Eric Jacoboni <jaco@××××××××××××.org>, gentoo-dev@g.o |
102 |
Subject: Re: [gentoo-dev] Portage and /usr/local |
103 |
|
104 |
Dominik Westner wrote: |
105 |
> |
106 |
> On Donnerstag, September 5, 2002, at 02:08 AM, Marko Mikulicic wrote: |
107 |
> |
108 |
>> |
109 |
>> Why UNIX has the distinction between /,/usr ? |
110 |
>> I readed in the GNU Hurd documentation that it is just |
111 |
>> a tradition from the old tape times, althrough it is true that |
112 |
>> this separation eases the network sharing of binaries (/usr can be |
113 |
>> mounted readonly |
114 |
>> in remote clients). |
115 |
>> |
116 |
> |
117 |
> Interesting I always thought that you can boot a system without /usr. |
118 |
> Anything which is necessary for system startup is located in /bin, |
119 |
> /sbin, /lib ... |
120 |
> |
121 |
> Dominik |
122 |
|
123 |
Personally, I would keep the dinstiction between / and /usr, as opposed |
124 |
to what GNU Hurd Debian does. But only because of the boot process and |
125 |
nfs root clients and the like. In /usr/local/ I would keep software |
126 |
installed without |
127 |
ebuild and in /opt binary packaged software (java, ...) as in FHS. |
128 |
|
129 |
Marko |
130 |
|
131 |
|
132 |
--__--__-- |
133 |
|
134 |
Message: 4 |
135 |
Date: Thu, 5 Sep 2002 17:57:36 +1000 (EST) |
136 |
Subject: Re: [gentoo-dev] Server / security thing |
137 |
From: "Evan Read" <eread@×××××××××.org> |
138 |
To: <Mikko.Moilanen@×××××××××××××××××××.fi> |
139 |
Cc: <gentoo-dev@g.o> |
140 |
|
141 |
> Hi |
142 |
> |
143 |
> Would it be good idea to make additional cammand "emerge security" to |
144 |
> check and upgrade any security things like now "emerge system" upgrades |
145 |
> some standard system things? |
146 |
|
147 |
Well, # emerge world should update everything you have to the latest, and |
148 |
therefore security fixed, ebuilds. |
149 |
|
150 |
To have emerge check for the security of a system would be a lot of work. |
151 |
Better to use third party tools like nessus |
152 |
(http://www.gentoo.org/packages/net-analyzer/nessus.html). |
153 |
|
154 |
> This would definetly be good for people who maintain servers or for |
155 |
> people who maintain workstations or this would just be *good* for |
156 |
> people. |
157 |
|
158 |
I think that having a "stable" set of packages which represents a released |
159 |
version + fixes would be good for those people. Managing security cant |
160 |
be that automatic. |
161 |
|
162 |
Thanks. |
163 |
|
164 |
Evan. |
165 |
|
166 |
|
167 |
|
168 |
|
169 |
|
170 |
--__--__-- |
171 |
|
172 |
Message: 5 |
173 |
From: "Matthew J. Turk" <satai@g.o> |
174 |
To: gentoo-user <gentoo-user@g.o>, |
175 |
gentoo-dev <gentoo-dev@g.o> |
176 |
Date: 05 Sep 2002 03:16:35 -0500 |
177 |
Subject: [gentoo-dev] teTeX testing |
178 |
|
179 |
|
180 |
--=-FahzN3TGS82y9ZJzK94J |
181 |
Content-Type: text/plain |
182 |
Content-Transfer-Encoding: quoted-printable |
183 |
|
184 |
Hi everyone - I've just version bumped (and masked) the latest pretest |
185 |
from the teTeX people. I'd really appreciate it if you could all test |
186 |
it and make sure it meets your needs - run through some of your old |
187 |
LaTeX/TeX source files, pdfTeX things, etc, just to make sure it's all |
188 |
working properly. If you could please send me an e-mail with your |
189 |
results (satai@g.o), that'd be great -- and hopefully we can get |
190 |
this unmasked very soon - and have a working pdfTeX for once! |
191 |
|
192 |
Also - if you use Omega, could you let me know ASAP? If so, I'll need |
193 |
to include that, as it's been removed from the "official" teTeX |
194 |
distribution. |
195 |
|
196 |
Thanks! |
197 |
|
198 |
|
199 |
mjt |
200 |
--=20 |
201 |
Matthew J. Turk |
202 |
satai@g.o |
203 |
|
204 |
--=-FahzN3TGS82y9ZJzK94J |
205 |
Content-Type: application/pgp-signature; name=signature.asc |
206 |
Content-Description: This is a digitally signed message part |
207 |
|
208 |
-----BEGIN PGP SIGNATURE----- |
209 |
Version: GnuPG v1.0.7 (GNU/Linux) |
210 |
|
211 |
iD8DBQA9dxLjgGcJ6evETR4RAmFNAJ97MZ26G4T5e6w2eugqO00g82BTIQCbB2S9 |
212 |
/BBEpSW3R2zcmkteQcCowL4= |
213 |
=dajf |
214 |
-----END PGP SIGNATURE----- |
215 |
|
216 |
--=-FahzN3TGS82y9ZJzK94J-- |
217 |
|
218 |
--__--__-- |
219 |
|
220 |
Message: 6 |
221 |
Date: Thu, 5 Sep 2002 11:05:18 +0200 |
222 |
From: Sven Vermeulen <sven.vermeulen@××××××.be> |
223 |
To: gentoo-dev@g.o |
224 |
Subject: Re: [gentoo-dev] Portage and /usr/local |
225 |
|
226 |
|
227 |
--mxv5cy4qt+RJ9ypb |
228 |
Content-Type: text/plain; charset=iso-8859-15 |
229 |
Content-Disposition: inline |
230 |
Content-Transfer-Encoding: quoted-printable |
231 |
|
232 |
On Thu, Sep 05, 2002 at 08:58:47AM +0200, Dominik Westner wrote: |
233 |
> Interesting I always thought that you can boot a system without /usr.=20 |
234 |
> Anything which is necessary for system startup is located in /bin,=20 |
235 |
> /sbin, /lib ... |
236 |
|
237 |
/bin, /sbin, /lib etc... are the files necessary to boot the system and to = |
238 |
be |
239 |
able to mount /usr (seperate partition or even NFS-exported).=20 |
240 |
|
241 |
/usr/bin, /usr/sbin, /usr/lib, /use/share etc... are the rest of the files, |
242 |
provided by the distribution. This can be NFS-exported as happens frequently |
243 |
on large networks where the boxes are merely intended for command-line usage |
244 |
(but also "bigger" usage is possible, ofcourse). |
245 |
|
246 |
/usr/local consist of the files that are compiled *on that box*, not by usi= |
247 |
ng |
248 |
any distribution-provided packagingtool (that's why all the tarballs you'll |
249 |
find install themselves in /usr/local by default). |
250 |
|
251 |
/opt is, as mentioned by another poster (sry, I've forgotten your name), mo= |
252 |
st |
253 |
of the time used for binary installs, such as the LSB-rpms. |
254 |
|
255 |
This is how I've learned about the dir-structure. I think this is also the |
256 |
way that FHS defines everything (in general). |
257 |
|
258 |
I know there aren't tools in /usr that should be in /bin etc... since my /u= |
259 |
sr |
260 |
is a seperate partition and works great, so I don't think there is a proble= |
261 |
m. |
262 |
|
263 |
Has anyone succesfully used Gentoo in a network and with /usr NFS-exported? |
264 |
|
265 |
Wkr, |
266 |
Sven Vermeulen |
267 |
|
268 |
--mxv5cy4qt+RJ9ypb |
269 |
Content-Type: application/pgp-signature |
270 |
Content-Disposition: inline |
271 |
|
272 |
-----BEGIN PGP SIGNATURE----- |
273 |
Version: GnuPG v1.0.7 (GNU/Linux) |
274 |
|
275 |
iD8DBQE9dx5OXfqz7M26L9sRAkauAJ9h41gnLYVGhOjRMBIowcHvNzmTiACgkSkE |
276 |
6i5f66hqb+3/KwV9vh/2ez8= |
277 |
=fmfp |
278 |
-----END PGP SIGNATURE----- |
279 |
|
280 |
--mxv5cy4qt+RJ9ypb-- |
281 |
|
282 |
--__--__-- |
283 |
|
284 |
Message: 7 |
285 |
Date: Thu, 5 Sep 2002 12:10:54 +0200 (MEST) |
286 |
From: Manuela Marquardt <manu.marquardt@×××.de> |
287 |
To: gentoo-dev@g.o |
288 |
Subject: [gentoo-dev] Installation via ISDN or Modem |
289 |
|
290 |
Hi, |
291 |
|
292 |
I just wanted to ask if it is possible to install Gentoo Linux using ISDN or |
293 |
Modem. Or do I have to be connected via LAN/Proxy to the internet? |
294 |
|
295 |
Sincerely |
296 |
Manuela Marquardt |
297 |
|
298 |
-- |
299 |
GMX - Die Kommunikationsplattform im Internet. |
300 |
http://www.gmx.net |
301 |
|
302 |
|
303 |
--__--__-- |
304 |
|
305 |
Message: 8 |
306 |
To: Gentoo-Dev <gentoo-dev@g.o> |
307 |
Subject: Re: [gentoo-dev] Portage and /usr/local |
308 |
From: Eric Jacoboni <jaco@××××××××××××.org> |
309 |
Date: 05 Sep 2002 12:16:01 +0200 |
310 |
|
311 |
>>>>> "Martin" == Martin Schlemmer <azarah@g.o> writes: |
312 |
|
313 |
Martin> Sure, edit the ebuild and change the --prefix=/usr to |
314 |
Martin> --prefix=/usr/local. |
315 |
|
316 |
Yes, i've already done that... But its not enough : considering |
317 |
gkrellm (my canonical example), the ebuild use the dobin() function |
318 |
(other ebuilds i've look at, don't...). This function is using the |
319 |
DESTTREE variable, exported by ebuild.sh. And DESTTREE is set to |
320 |
/usr... in ebuild.sh. |
321 |
|
322 |
Changing only --prefix in this case make the whole stuff in /usr/local |
323 |
but gkrellm2 still goes in /usr/bin. |
324 |
|
325 |
Martin> Thus I dont want to say never, but at least not in the next |
326 |
Martin> couple of months. |
327 |
|
328 |
Oh yes, it's not a problem: i've posted my first article as a |
329 |
"request to feature" not as a "bug" ;-) I'm gonna do some tests by |
330 |
tweaking script files... |
331 |
|
332 |
-- |
333 |
Éric Jacoboni, né il y a 1334664461 secondes |
334 |
|
335 |
--__--__-- |
336 |
|
337 |
Message: 9 |
338 |
To: gentoo-dev@g.o |
339 |
Subject: Re: [gentoo-dev] Portage and /usr/local |
340 |
From: Eric Jacoboni <jaco@××××××××××××.org> |
341 |
Date: 05 Sep 2002 12:59:14 +0200 |
342 |
|
343 |
>>>>> "Marko" == Marko Mikulicic <marko@××××.org> writes: |
344 |
|
345 |
Marko> If you find more important to have a clean /usr/bin, I wonder if |
346 |
Marko> having a mess in /usr/local/bin would help. |
347 |
|
348 |
No, of course. But, can you imagine that, on a Unix system, 'gcc' is |
349 |
in the same place than 'gkrellm', can you imagine that 'widget' (a |
350 |
example app from perl/tk) lives with the 'find' command ? |
351 |
|
352 |
For my own, i'll _never_ consider 'find' and 'gcc' on the same basis |
353 |
as gkrellm or widget. |
354 |
|
355 |
Don't know if my english skill is enough to express what i mean... |
356 |
|
357 |
Marko> The "cleanest" situation is when you have 50% in /usr/bin and 50% in |
358 |
Marko> /usr/local/bin, since otherways the other |
359 |
Marko> will be a mess :-) |
360 |
|
361 |
It's not a matter of repartition, it's a matter of software |
362 |
categorization. |
363 |
|
364 |
Marko> Consider for example "non system" software which installs kernel |
365 |
Marko> modules (for example AVFS, a user mode |
366 |
Marko> filesystem, or LiS, linux streams implementation. both are not yet |
367 |
Marko> complete software and cannot be threaded |
368 |
Marko> like "system" of "base" installation). |
369 |
|
370 |
Yes, i know it needs some work ;-) |
371 |
-- |
372 |
Éric Jacoboni, né il y a 1334667036 secondes |
373 |
|
374 |
--__--__-- |
375 |
|
376 |
Message: 10 |
377 |
Date: Thu, 5 Sep 2002 18:09:53 +0200 |
378 |
From: drev@××××××.it |
379 |
To: Manuela Marquardt <manu.marquardt@×××.de> |
380 |
Cc: gentoo-dev@g.o |
381 |
Subject: Re: [gentoo-dev] Installation via ISDN or Modem |
382 |
|
383 |
On Thu, Sep 05, 2002 at 12:10:54PM +0200, Manuela Marquardt wrote: |
384 |
> Hi, |
385 |
> |
386 |
> I just wanted to ask if it is possible to install Gentoo Linux using ISDN |
387 |
or |
388 |
> Modem. Or do I have to be connected via LAN/Proxy to the internet? |
389 |
> |
390 |
I've currently installed my gentoo linux using a 56k modem and i found no |
391 |
problem, except for downloading time. |
392 |
|
393 |
Just download the stage 1 and untar it to your (clean) future gentoo |
394 |
partition. mount the partition, chroot to it and follow the installation |
395 |
instructions. |
396 |
|
397 |
The network will works. it'slow but works. |
398 |
|
399 |
Gianluca Guida |
400 |
> Sincerely |
401 |
> Manuela Marquardt |
402 |
> |
403 |
> -- |
404 |
> GMX - Die Kommunikationsplattform im Internet. |
405 |
> http://www.gmx.net |
406 |
> |
407 |
> _______________________________________________ |
408 |
> gentoo-dev mailing list |
409 |
> gentoo-dev@g.o |
410 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
411 |
|
412 |
--__--__-- |
413 |
|
414 |
Message: 11 |
415 |
From: "mike" <vapier@×××××××.com> |
416 |
To: <gentoo-dev@g.o> |
417 |
Subject: Re: [gentoo-dev] questions about /var/run and pids |
418 |
Date: Thu, 5 Sep 2002 11:29:43 -0400 |
419 |
|
420 |
if you look at existing scripts (like /etc/init.d/samba) you see that |
421 |
they use 'start-stop-daemon' ... for more information on how to |
422 |
use it, run `start-stop-daemon --help` ... |
423 |
-mike |
424 |
|
425 |
----- Original Message ----- |
426 |
From: "Dominik Westner" <lists@×××××××××××.com> |
427 |
To: <gentoo-dev@g.o> |
428 |
Sent: Thursday, September 05, 2002 02:52 |
429 |
Subject: [gentoo-dev] questions about /var/run and pids |
430 |
|
431 |
|
432 |
> Hi all, |
433 |
> |
434 |
> when creating some ebuilds I quite often run into the following problem: |
435 |
> |
436 |
> I have a daemon program which should run under a specific user. |
437 |
> Additionally I think a good daemon should always write their pid in |
438 |
> /var/run. |
439 |
> |
440 |
> Problem: /var/run is only writable by root. Therefore only daemons |
441 |
> which run as root can put their pid into /var/run. |
442 |
> |
443 |
> I think a better approach would be to have /var/run owned and being |
444 |
> writeable by group 'daemon'. |
445 |
> Every daemon program could then belong to the daemon group and write |
446 |
> its pid into /var/run. |
447 |
> |
448 |
> Or do I simply miss something? |
449 |
> |
450 |
> Dominik |
451 |
> |
452 |
> _______________________________________________ |
453 |
> gentoo-dev mailing list |
454 |
> gentoo-dev@g.o |
455 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
456 |
> |
457 |
|
458 |
|
459 |
--__--__-- |
460 |
|
461 |
Message: 12 |
462 |
Date: Thu, 5 Sep 2002 18:45:19 +0200 |
463 |
From: Thomas Osterlie <gentho@×××××××××.org> |
464 |
To: gentoo-dev@g.o |
465 |
Subject: [gentoo-dev] Clearing the clutter |
466 |
|
467 |
Hi, |
468 |
|
469 |
I'm in the process of upgrading the JBoss ebuild to the latest JBoss |
470 |
release, and am in need of some advice. |
471 |
|
472 |
Here's the deal: JBoss comes with a *LOT* of third-party libraries, |
473 |
which it relies upon to run with the full monty of features. With the |
474 |
original JBoss ebuild I just stuffed all of these third party libraries |
475 |
in the JBoss file hierarchy. This time around, however, I'm tempted to |
476 |
write separate ebuilds for each third party library included, and |
477 |
instead sym linking them on need (I'm working on a tool to handle |
478 |
library and service dependencies when adding new server archives to |
479 |
JBoss). |
480 |
|
481 |
In my eyes having separate ebuilds for the third-party libraries is a |
482 |
good thing(tm), as more Java applications can share the same libraries. |
483 |
This could be a start in solving the inherent problem with Java |
484 |
applications living as separate islands on the file system, independent |
485 |
of each other. |
486 |
|
487 |
The consequence of separating the third-party libraries from the JBoss |
488 |
installation, however, is that we'd see a growth in the number of |
489 |
ebuilds in dev-java. JBoss requires around twenty third-party libraries |
490 |
for its complete functionality. That is some twenty odd new ebuilds in |
491 |
dev-java and possibly some in net-www. I'm unsure whether this will |
492 |
result in a cluttered dev-java dir. |
493 |
|
494 |
I'm tempted to start writing separate ebuilds for the third-party libs, |
495 |
but want to hear if anyone else have opinions on the matter before I |
496 |
start with the task. |
497 |
|
498 |
Cheers, |
499 |
|
500 |
Thomas Osterlie |
501 |
|
502 |
|
503 |
--__--__-- |
504 |
|
505 |
_______________________________________________ |
506 |
gentoo-dev mailing list |
507 |
gentoo-dev@g.o |
508 |
http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
509 |
|
510 |
|
511 |
End of gentoo-dev Digest |