summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-March/013659.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-March/013659.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2012-March/013659.html')
-rw-r--r--zarb-ml/mageia-dev/2012-March/013659.html92
1 files changed, 92 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-March/013659.html b/zarb-ml/mageia-dev/2012-March/013659.html
new file mode 100644
index 000000000..f2dd3ff71
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-March/013659.html
@@ -0,0 +1,92 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] lighttpd and others now require apache
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20lighttpd%20and%20others%20now%20require%20apache&In-Reply-To=%3C4F749E9D.2070807%40gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="013405.html">
+ <LINK REL="Next" HREF="013167.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] lighttpd and others now require apache</H1>
+ <B>Guillaume Rousse</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20lighttpd%20and%20others%20now%20require%20apache&In-Reply-To=%3C4F749E9D.2070807%40gmail.com%3E"
+ TITLE="[Mageia-dev] lighttpd and others now require apache">guillomovitch at gmail.com
+ </A><BR>
+ <I>Thu Mar 29 19:40:45 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="013405.html">[Mageia-dev] lighttpd and others now require apache
+</A></li>
+ <LI>Next message: <A HREF="013167.html">[Mageia-dev] lighttpd and others now require apache
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#13659">[ date ]</a>
+ <a href="thread.html#13659">[ thread ]</a>
+ <a href="subject.html#13659">[ subject ]</a>
+ <a href="author.html#13659">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Le 22/03/2012 21:42, Anssi Hannula a &#233;crit :
+&gt;<i> 20.03.2012 18:48, Guillaume Rousse kirjoitti:
+</I>&gt;&gt;<i> Le 17/03/2012 03:22, Anssi Hannula a &#233;crit :
+</I>&gt;&gt;&gt;<i> Hence I suggest a single user id to be used. (I'm fine with any other
+</I>&gt;&gt;&gt;<i> solution which works as well)
+</I>&gt;&gt;<i> My main concern is the fuzziness of the current situation where we have
+</I>&gt;&gt;<i> - one virtual package 'webserver' corresponding to four implementations
+</I>&gt;&gt;<i> (apache, lightpd, nginx, cherooke)
+</I>&gt;&gt;<i> - one common base (webserver-base) only used by the two first ones
+</I>&gt;&gt;<i> - all our web applications packages using 'apache' as mandatory dependency
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> If the main concern is file ownership, I'd propose for the next release
+</I>&gt;&gt;<i> to have each of these servers use a distinct uid, document root and
+</I>&gt;&gt;<i> index page, but use a shared 'webserver' or 'www' gid, and ensure all of
+</I>&gt;&gt;<i> those applications use group-based permission, instead of user-based.
+</I>&gt;&gt;<i> I'd find this setup a bit clearer.
+</I>&gt;<i>
+</I>&gt;<i> I'd rather they all use the traditional document root &quot;/var/www/html&quot;,
+</I>&gt;<i> but I don't really care much as long as the webapps are usable with both
+</I>&gt;<i> apache and lighttpd.
+</I>&gt;<i>
+</I>&gt;<i> I'm not sure if all webapps can easily work with group-based
+</I>&gt;<i> permissions, but maybe they do (I don't know much about them)...
+</I>We will test group-based file permissions in next release.
+
+However, I'm suggesting right now remove 'webserver' virtual package
+from nginx and cherooke, and to keep it only for those relying on
+'webserver-base' base, aka apache and lighttpd. This would make this
+virtual package sounds more like a minimal interface, implemented by a
+subset of our web server packages, rather than just a label without
+meaning. Is that OK for everyone ?
+--
+BOFH excuse #349:
+
+Stray Alpha Particles from memory packaging caused Hard Memory Error on
+Server.
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="013405.html">[Mageia-dev] lighttpd and others now require apache
+</A></li>
+ <LI>Next message: <A HREF="013167.html">[Mageia-dev] lighttpd and others now require apache
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#13659">[ date ]</a>
+ <a href="thread.html#13659">[ thread ]</a>
+ <a href="subject.html#13659">[ subject ]</a>
+ <a href="author.html#13659">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>
> 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472
package fsedit; # $Id$

use diagnostics;
use strict;
use vars qw(%suggestions);

#-######################################################################################
#- misc imports
#-######################################################################################
use common qw(:common :constant :functional :file);
use partition_table qw(:types);
use partition_table_raw;
use detect_devices;
use fsedit;
use devices;
use loopback;
use log;
use fs;

%suggestions = (
  __("simple") => [
    { mntpoint => "/",     size => 300 << 11, type => 0x83, ratio => 5, maxsize =>3500 << 11 },
    { mntpoint => "swap",  size =>  64 << 11, type => 0x82, ratio => 1, maxsize => 250 << 11 },
    { mntpoint => "/home", size => 300 << 11, type => 0x83, ratio => 3 },
  ], 'with usr' => [
    { mntpoint => "/",     size => 150 << 11, type => 0x83, ratio => 1, maxsize => 500 << 11 },
    { mntpoint => "swap",  size =>  64 << 11, type => 0x82, ratio => 1, maxsize => 250 << 11 },
    { mntpoint => "/usr",  size => 300 << 11, type => 0x83, ratio => 4, maxsize =>3000 << 11 },
    { mntpoint => "/home", size => 100 << 11, type => 0x83, ratio => 5 },
  ], __("server") => [
    { mntpoint => "/",     size => 150 << 11, type => 0x83, ratio => 1, maxsize => 250 << 11 },
    { mntpoint => "swap",  size =>  64 << 11, type => 0x82, ratio => 2, maxsize => 400 << 11 },
    { mntpoint => "/usr",  size => 300 << 11, type => 0x83, ratio => 3, maxsize =>3000 << 11 },
    { mntpoint => "/var",  size => 100 << 11, type => 0x83, ratio => 4 },
    { mntpoint => "/home", size => 100 << 11, type => 0x83, ratio => 5 },
  ],
);
my @suggestions_mntpoints = (
    "/root", "/var/ftp", "/var/www", "/boot",
    arch() =~ /sparc/ ? "/mnt/sunos" : "/mnt/windows",
);

my @partitions_signatures = (
    [ 0x83, 0x438, "\x53\xEF" ],
    [ 0x183, 0x10034, "ReIsErFs" ],
    [ 0x183, 0x10034, "ReIsEr2Fs" ],
    [ 0x82, 4086, "SWAP-SPACE" ],
    [ 0x7,  0x1FE, "\x55\xAA", 0x3, "NTFS" ],
    [ 0xc,  0x1FE, "\x55\xAA", 0x52, "FAT32" ],
arch() !~ /^sparc/ ? (
    [ 0x6,  0x1FE, "\x55\xAA", 0x36, "FAT" ],
) : (),
);

sub typeOfPart { typeFromMagic(devices::make($_[0]), @partitions_signatures) }

#-######################################################################################
#- Functions
#-######################################################################################
sub hds {
    my ($drives, $flags) = @_;
    my (@hds, @lvms);
    my $rc;

    foreach (@$drives) {
	my $file = devices::make($_->{device});