summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000156.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000156.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000156.html202
1 files changed, 202 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000156.html b/zarb-ml/mageia-sysadm/2010-November/000156.html
new file mode 100644
index 000000000..b7dca78f4
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000156.html
@@ -0,0 +1,202 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] planning for sysadmin task
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20planning%20for%20sysadmin%20task&In-Reply-To=%3CAANLkTi%3Ddd8eqSa_dvHHqbRMOgSDVnnDMN8RYJ9GUGXkH%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000155.html">
+ <LINK REL="Next" HREF="000157.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] planning for sysadmin task</H1>
+ <B>Romain d'Alverny</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20planning%20for%20sysadmin%20task&In-Reply-To=%3CAANLkTi%3Ddd8eqSa_dvHHqbRMOgSDVnnDMN8RYJ9GUGXkH%40mail.gmail.com%3E"
+ TITLE="[Mageia-sysadm] planning for sysadmin task">rdalverny at gmail.com
+ </A><BR>
+ <I>Tue Nov 2 14:40:18 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000155.html">[Mageia-sysadm] [76] dns servers moved to ns0.mageia.org and ns1.mageia.org
+</A></li>
+ <LI>Next message: <A HREF="000157.html">[Mageia-sysadm] [77] add champagne in dns
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#156">[ date ]</a>
+ <a href="thread.html#156">[ thread ]</a>
+ <a href="subject.html#156">[ subject ]</a>
+ <a href="author.html#156">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Sat, Oct 30, 2010 at 10:55, Michael Scherer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>&gt; wrote:
+&gt;<i> Le mardi 26 octobre 2010 &#224; 16:39 +0200, Romain d'Alverny a &#233;crit :
+</I>&gt;&gt;<i> At some extent, RPM dependencies would be a useful thing for setting
+</I>&gt;&gt;<i> up the application but this mostly happens once (first install) and
+</I>&gt;&gt;<i> can be easily hosted within the web application itself (and then
+</I>&gt;&gt;<i> handle the error) - WordPress and Drupal do it for instance.
+</I>&gt;<i>
+</I>&gt;<i> It also prevent the removal of used dependencies.
+</I>&gt;<i> This can happen either when we are cleaning the server, or when we
+</I>&gt;<i> upgrade the server, or another application.
+</I>
+As a web developer, I don't expect a production server to change,
+apart from security updates (which should not remove some package,
+unless that's a specific case that is handled offline at first).
+
+If that's for a server upgrade/reinstall, then the webapp should:
+ - have this documented (in some preinstall validation script);
+ - handle this (warning in case of missing dependencies and going
+offlinle if really needed).
+
+&gt;<i> If tomorrow, we discover a huge security hole in php-hugesecurityhole
+</I>&gt;<i> rpm, we need to know who use it to assess the security of the
+</I>&gt;<i> infrastructure. And without knowing what other packages use the rpm,
+</I>&gt;<i> this is gonna be slightly complicated to know if we are affected or not.
+</I>
+Indeed.
+
+However, in the past 6 years both at Mandriva and elsewhere, I do not
+remember a situation where this could not be managed without packaging
+(we did not package web apps):
+ - only used library packages were installed;
+ - if an issue was raised for an installed package, web team was
+notified and a check on both sides (server and app); some times we had
+to code around a missing feature;
+ - when it happened that a package was missing (removed, or
+undocumented when doing a new fresh install), that meant at most a few
+minutes of (managed) service unavailability.
+
+&gt;&gt;<i> So we can discuss this further with other future webteam members but I
+</I>&gt;&gt;<i> will seriously not manage a production environment that goes through
+</I>&gt;&gt;<i> packaging for app updates.
+</I>&gt;<i>
+</I>&gt;<i> Well, if creating a package is just a single command ( as would be a
+</I>&gt;<i> upgrade to the production server ), I do not think it will be much of a
+</I>&gt;<i> problem. The only issue is to find someone skilled enough to create a
+</I>&gt;<i> shell script for that and I do not really think that it will be a big
+</I>&gt;<i> problem. We have a team of 8 admins and there is several volunteers
+</I>&gt;<i> eager to help, it would be quite weird to have no one able to do it in
+</I>&gt;<i> time.
+</I>
+It's not about &quot;in time&quot;. It's about &quot;instantly&quot;. Or in a matter of a
+single click; as soon as a feature is in, working, reviewed and
+approved by webmasters, it should go online asap (unless there's a
+specific milestone constraint).
+
+Yet I believe this is not an obstacle to RPM packaging, unless there
+are big changes in the app process/layout.
+
+Provided we speak about the same type of web app, of course.
+
+ - I am ok to use packages to deploy some web apps, like
+infrastructure, libraries, slow pace deployment/updates web apps
+(still, with care);
+
+ - I am not confortable at all to use a packaging system to deploy web
+apps that will get frequent updates (main website and related web
+services, blogs, forums, ideas, etc.) or even specific
+rollback/offmode procedures. And I would prefer the web app to take
+care itself of missing dependencies (stopping the service and
+providing a feedback about the fix to be done). Relying on a SCM +
+scripts deploy/check mechanism seems a lot more flexible, fast and
+platform agnostic to me. But I may be wrong.
+
+If we can have a specific build platform for webapps into packages and
+have these easily deploy with pre/post install scripts doing their job
+on a test server, then a prod server, why not. But I really see this
+as a huge payload at this point for a not so obvious gain.
+
+Or we could have a dual approach with only core components of a webapp
+being packaged, and more moving ones being deployed by versioning.
+Still...
+
+Not related to packaging, but that's a complement to the discussion,
+we may need that a privileged access is available to lead webmasters
+(logs read access, shell access to webapps root and config).
+
+
+&gt;&gt;<i> That does not mean I don't care about security - that means that
+</I>&gt;&gt;<i> there's a balance to find and that web developers have to be in charge
+</I>&gt;&gt;<i> of their apps security as well. So if that means we need to have
+</I>&gt;&gt;<i> separate servers to isolate risks, so be it. If that means we need to
+</I>&gt;&gt;<i> go for a different type of hosting, so be it.
+</I>&gt;<i>
+</I>&gt;<i> Separating server do not really help much, if there is a security
+</I>&gt;<i> problem, it will be there wherever you are.
+</I>
+Depends where the exploit comes from: if it comes from the application
+or a specific library, separating servers does help; you kill the
+compromised instance and reload a fresh new one. If it comes from
+system level components, that's another issue.
+
+&gt;<i>&#160;We will have work to do to be sure the server is clean after being audited,
+</I>
+I'd be more radical. If a server hosting a web app is compromised, we
+audit it, but we reinstall a full clean one and redeploy the
+applications.
+
+&gt;<i> the reputation will be affected none the less, and if the server is used for
+</I>&gt;<i> spam/attack/whatever, we have to take care of this.
+</I>
+Sure. But things do break. Nothing to be ashamed of. We have to live
+with this and balance security requirements with flexibility as well.
+
+Security is not only a server-level issue, it's an app-level issue as
+well. Leaving webapps developers with no clue/hand over the
+server-level conf/knowledge is not going to help. At least, lead
+webmasters are not supposed to be illiterate regarding system
+administration.
+
+Romain
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000155.html">[Mageia-sysadm] [76] dns servers moved to ns0.mageia.org and ns1.mageia.org
+</A></li>
+ <LI>Next message: <A HREF="000157.html">[Mageia-sysadm] [77] add champagne in dns
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#156">[ date ]</a>
+ <a href="thread.html#156">[ thread ]</a>
+ <a href="subject.html#156">[ subject ]</a>
+ <a href="author.html#156">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>