Slashdot Mirror


Gentoo On Server Considered Harmful

Siker writes in to point out his blog post — Why Gentoo Shouldn't Be On Your Server — which seems to have stirred up a lot of discussion, including a thread on the Gentoo forums. From the post: "I firmly believe in updating server software only when you need to. If you don't need new features, and things are working, why change anything? If you update anything you will undoubtedly need to update configuration files. You will need to fix things that break in the upgrade process... This is hard with Gentoo. Gentoo wants you to change a lot of stuff. It wants to be bleeding edge."

372 comments

  1. This article makes good points. by suso · · Score: 4, Insightful

    At the same time, the "your system is always approaching the bleeding edge" way of doing things solves one problem that I've always been bothered by with running user servers for suso.org. Eventually, the OS on the server reaches the age where it is no longer supported and updates are no longer coming out for it. This isn't always X years where X is the number of years that a distribution claims to provide package updates for. Its usually X-1. This is because you'd be foolish to use the very latest hasn't been available for more than a day version of Linux. Usually you wait for 6-12 months for it to be mature and have special packages of whatever available for it. Then you spend another month or two setting up the machine and getting it ready for production. By that time, you've already burned over a year of support time. Then you get users onto it and now you only have X-1.5 years of support. On Fedora, this means practically no time is left. Upgrading such a system to the latest version of whatever distro means taking the server down for several hours to upgrade, hope to hell that special packages you've built and configurations aren't broken and in nightmare situations, roll back because something is broken and can't be fixed.

    The promise of Gentoo for me is being able to continually upgrade and never get outside of that window of support.

    I actually have a new shared user system that is running Gentoo that is kinda in beta right now. This article was very useful for me because it brings up those points about stability that concern me. Its kinda an experiment.

    I think I may try Debian next.

    1. Re:This article makes good points. by lordsilence · · Score: 5, Informative

      Gentoo has proven troublesome in a production environment.
      The problem isnt updating often... it's when you DONT update often.

      We had one system which we didnt bother to update. (Dont fix what isnt broken)
      Then one day we had to upgrade some of the services.. which in turn required lots of libraries to be upgraded.

      In the end, we had to upgrade kernel.. cause libraries didnt support 2.4 kernel.
      Stuff change too much in gentoo to put it simple.. It's easier to keep updating often

      emerge sync && emerge -u world
      Then iron out all config-changes. Find out which undocumented features were changed, which keys to add to startup script etc.

      Lesson learnt: Dont use gentoo on production systems. Run it on your desktop computer you play around with...

    2. Re:This article makes good points. by Anonymous Coward · · Score: 0
      Gentoo brings one thing to the table that I wish other distros would: The ability to do a reverse-dependency analysis of the package tree (revdep-rebuild). Too often, RPM-based distributions must be updated to address security issues, which is often more than risky if you're running, say, Oracle, which has a high level of dependency on library versions (to the point where old compatibility libraries are still required to run it on the RHES 4 distros.)

      Having the ability to do the reverse dependency analysis can help you find potential trouble spots before wide deployment.

    3. Re:This article makes good points. by Fyre2012 · · Score: 4, Informative

      The promise of Gentoo for me is being able to continually upgrade and never get outside of that window of support.
      I agree. Every now and then a program's latest version doesn't agree with a config script somewhere, but that's what etc-update is for. If something borks, you can always ask the gentoo forums, which is an invaluable source of information for all things gentoo. That and the gentoo-wiki.

      Also, no one is 'requiring' anyone to upgrade. I administer hundreds of gentoo servers and you don't always need to keep up to date to be secure. Part of the nice thing about gentoo is that you're only installing the packages you need, so if you know of a vulnerability in a script you use, you don't have to upgrade your whole portage tree just to plug a hole.

      --
      This is not the greatest .sig in the world, no. This is just a tribute.
    4. Re:This article makes good points. by ePhil_One · · Score: 4, Insightful
      Then you get users onto it and now you only have X-1.5 years of support. On Fedora, this means practically no time is left.


      Which is why IT Pros prefer Red Hat Linux or its unencumbered variants link CentOS, White Box, and Scientific. Better testing up front thanks to the Red Hat gang, and longer shelf life. Which is why most commercial software chooses to support it first, it provides a stable base.

      --
      You are in a maze of twisted little posts, all alike.
    5. Re:This article makes good points. by oGMo · · Score: 1

      Which is why IT Pros prefer Red Hat Linux or its unencumbered variants link CentOS, White Box, and Scientific. Better testing up front thanks to the Red Hat gang, and longer shelf life. Which is why most commercial software chooses to support it first, it provides a stable base.

      Not really. "Pros" typically don't care about platform-delivered apps, and they certainly don't care about crap like various RedHat knockoffs. Stability is OK, but in the end it comes down to one thing: paid support. Which is why commercial vendors produce software for it, because you can then buy support contracts for the entire platform. And it's usually a big chunk of change, which makes everyone feel warm and fuzzy.

      --

      Don't think of it as a flame---it's more like an argument that does 3d6 fire damage

    6. Re:This article makes good points. by mcrbids · · Score: 3, Interesting

      Then you get users onto it and now you only have X-1.5 years of support. On Fedora, this means practically no time is left.

      What kind of dope uses Fedora on a production server?

      Use CentOS - I'm running CentOS 4, and anticipate not having to do *ANYTHING* to my production systems except use them, keep them turned on, and keep them updated (which is about 5 min/week) until 2010 or so.

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    7. Re:This article makes good points. by sethawoolley · · Score: 1

      sourcemage has had this longer than gentoo has.

      It's actually a _lot_ better at it, too, since dependency analysis is more difficult than revdep-rebuild comprehends.

    8. Re:This article makes good points. by Anonymous Coward · · Score: 4, Insightful

      Then one day we had to upgrade some of the services.. which in turn required lots of libraries to be upgraded.

      In the end, we had to upgrade kernel.. cause libraries didnt support 2.4 kernel.
      Stuff change too much in gentoo

      How is it Gentoo's fault that the services you run require updated libraries? How is it Gentoo's fault that the libraries you use require a 2.6 kernel?

      Seems to me the blame lies with the services and the libraries respectively, and performing the same upgrade would require the same kernel update on other distros too.

    9. Re:This article makes good points. by suso · · Score: 2, Interesting

      What kind of dope uses Fedora on a production server?

      Here is where I make myself sound like an old man talking to his children about walking through the snow both ways. I knew someone would have to make a remark like this.

      I've been using RedHat and thus Fedora for 10 years now. I started out on Linux on the RedHat track. And thus I'm more familiar with it. CentOS wasn't even in diapers and there weren't many other choices. Now that there are things like CentOS, I've actually gotten tired of dealing with rpm dependency issues that Fedora/CentOS/RHEL have and don't want to use it anymore. I once had an error about something like kernel-source requires some audio library.

    10. Re:This article makes good points. by sumdumass · · Score: 1

      I had a simular problem but it was a little worse. It was with mandrake (now mandriva) and not only did they stop updating my version after about a year an a half, they pulled all the existing updates from the servers and they weren't availible anymore. I had some program that was compiled against something that was newer after an update but the next mandrake release version was too new and I couldn't get that program to compile and except the data set from a server that crashed due to harware problems.

      Long story short, I spent about 6 days compared to the original 4-5 hours I was expecting in order to get a running version of a program going and move it to a new server. I also ended up fiding a guy who had his system set to cache all the updates, send them to me so I could get everything to were it needed to be and move the data set. Who knows if his cached RPMs were changed or not but at that pint i didn't care. It was a big nightmare I wish not to repeat.

      BTW, backups were usless because the database backend was on the machine that crashed and postgre SQL cannot take a data directory from a previous whole numbered revisions and use them without exporting everything and importing it again. I guess I made several mistakes with that setup.

    11. Re:This article makes good points. by matrixhax0r · · Score: 1

      Unfortunately, we will have to wait to read about proper server setups until once the server recovers from a slashdotting. In the mean time, I suggest you emerge -uDN world while you wait.

      --
      If it's no on fire, it's a hardware problem.
    12. Re:This article makes good points. by whoever57 · · Score: 3, Informative

      but that's what etc-update is for.
      dispatch-conf is an improved tool for managing configuration files.
      --
      The real "Libtards" are the Libertarians!
    13. Re:This article makes good points. by Anonymous Coward · · Score: 2, Insightful

      This article is FUD. Nothing more.

      The stability of Gentoo on ANY system is user controlled. Period. Yes functioning hardware is first and foremost, but running a stable/unstable system is entirely set up by user config settings. Its THIS ability in Gentoo, that will determine just what software gets updated at what stage of their particular development.

      I keep reading posts in here about constant updates, and bleeding edge, which in turn produce broken Databases, unstable systems etc. If people don't know how to properly Administer their Linux distro's and the software and applications they are running on them, they have no right to complain about the stability/instability of the distros THEY CHOOSE TO RUN.

      If people want to complain about a particular program that is unstable or whose updates have caused instability on a system, there are places for that in the forums and on the dev lists. To write off an entire distro. because of individual user limitations and mismanagement is callous and juvenile. Proper Administration of Linux requires knowing each of your distro's limitations and benefits.

      I run gentoo on servers, desktops, and notebooks; at work, and at home. Gentoo is the EASIEST distro to control, IMO. It allows me to run stable or unstable designations for my arch-type if I prefer. It allows me to update WHAT I WANT, WHEN I WANT. There is no GREATER control of Linux than that. Is there?

      Gentoo is about one thing. Complete System Control. Every facet of it. If sys-admins aren't interested in THAT BENEFIT, I'd like to hear where you find it elsewhere.

    14. Re:This article makes good points. by saleenS281 · · Score: 4, Interesting

      And that my friend, is the niche Opensolaris will quickly start filling.

    15. Re:This article makes good points. by Anonymous Coward · · Score: 5, Insightful

      In the case of Red Hat, they'll backport changes for you so that you don't need to upgrade 50 other packages in order to get a security patch for Apache to work.

      So in a way, yes, it is Gentoo's fault. It's just the way the distro is designed. Everything at the latest revisions possible. Great for a home system, not good for a server you have to maintain.

    16. Re:This article makes good points. by scum-e-bag · · Score: 2, Informative

      If people don't know how to properly Administer their Linux distro's and the software and applications they are running on them, they have no right to complain about the stability/instability of the distros THEY CHOOSE TO RUN.
      I just thought I might repeat that point as there are too many Linux "experts" out there whose only real skill is being able to run the installation disk.
      --
      Does it go on forever?
    17. Re:This article makes good points. by runderwo · · Score: 1

      Stability is OK, but in the end it comes down to one thing: paid support.
      It would seem to me that the availability of these two features in a particular distribution would be highly correlated.
    18. Re:This article makes good points. by dbIII · · Score: 4, Interesting

      Lesson learnt: Dont use gentoo on production systems.

      I would see that lesson instead as don't experiment on your production systems. Obsolete hardware is useful for testing out stuff like this.

      The reason I don't run gentoo on production systems is simply becuase I am not familiar enough with it and it is different enough from other distributions of linux and other versions of *nix to make things confusing. It's the same reason I don't use reiserfs - if it all messes up how can I or any moderately skilled linux user get things back into operation?

    19. Re:This article makes good points. by Anonymous Coward · · Score: 0

      running a stable/unstable system is entirely set up by user config settings
      I gave up on Gentoo after they pushed out a broken, obviously untested glibc. They did push a fixed version the next day, but it wasn't much of a consolation for people like me who got bitten by this and were left with unusable systems. Nowadays I stick to distros that have at least some QA processes in place, and I find that I don't really miss the "tweaking" aspects, which more often were illusions in the first place.
    20. Re:This article makes good points. by rucs_hack · · Score: 1

      not on any computers I own, my promised free opensolaris dvd has never arrived.

      Ubuntu managed to send me the one I ordered. Heck, even microsoft managed to post an SP2 cd to me, but Sun? It would appear my order has dissapeared into the ether.

    21. Re:This article makes good points. by heinousjay · · Score: 1

      I suppose in some twisted Gentoo fanboy logic, railing against Red Hat somehow mitigates Gentoo's issues. I just don't get how.

      --
      Slashdot - where whining about luck is the new way to make the world you want.
    22. Re:This article makes good points. by arivanov · · Score: 4, Informative

      The joy of portage all the way. Continuous upgrade versus release cycles. 15 years of dealing with both have convinced me that portage is good only in two places:

      • your own workstation where you want to look at how the bleeding edge looks before unleashing it on the unsuspecting user population. This one is updated continuously and rebuild as necessary.
      • single special purpose dedicated servers (not run of the mill 10+ servers with same load). You build these once and after that you leave them alone until they die (preferrably).

      Everything in between - forget it. Update hell, dll hell, etc. If you use portage (either the BSD or Gentoo incarnation) you die and releases are the exact and only solution to this. You can stamp servers with a "released" OS out of workshop by truckload and you can be more or less confident that updates will not break a lot of things. The only problem is upgrades to next release but if you are using The One OS to rule them all even that is not a problem.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    23. Re:This article makes good points. by Anonymous Coward · · Score: 0

      So in a way, yes, it is Gentoo's fault. It's just the way the distro is designed. Everything at the latest revisions possible.

      Have you ever actually used Gentoo? You are completely wrong. Gentoo uses the same system as Redhat and all the other distros. If there's a security patch that is needed, it gets ported to the current version and the revision number is bumped - so you have 1.2.3-r2 bumped to 1.2.3-r3 without having to upgrade to 1.2.4 if you don't want to.

    24. Re:This article makes good points. by 400049 · · Score: 1

      Partially true! I had a system running on Gentoo as a frontend student's web server on a P3 machine. It had Apache 1.* and we needed to upgrade to Apache 2 for some reason (don't remember what exactly what it was). I did 'emerge' and (bang!) apache would just not start. Mind you at the time of this terrible occurance Apache 2 had been there for more than 12 months atleast! After 5-6 hours of downtime and a lot of brickbats I was finally able to get it running. Reason ? Gentoo used to have a non-standard apache config file (for some strange reason broken into three different files instead of just one httpd.conf for apache 1.* and changed it to standard form for apache 2*). Now 1.how I am supposed to know that before hand ? (is there a way ...seriously ?) 2.Why merge it back and create so much trouble for innocent sysadmins like me!???!!! Bleeding edge sucks and Gentoo on servers suck. For me Gentoo on a front end server is reciepe for disaster. I like debian's mature approach. Stable, secure and tested. Gentoo is good for people who like compiling every bit and pieceof the system. But please not my servers!

    25. Re:This article makes good points. by TyrainDreams · · Score: 0

      Hmm, well i ordered one of those Solaris 10 CDs that was posted on here last week, the email said in approx 10 days i would receive the cd, i assume that means business days of which that would be tomorrow as day 10, so tomorrow ill see how punctual they and/or the post is.

        Though i don't see why so many people rely on the free CDs that certain companies offer to obtain their easily downloadable operating systems. I actually couldn't wait to explore the world of Solaris and downloaded Nexenta being an apt junky and all, i was impressed although it lacks wide arrays of packages. The system installed fine albeit a little slow. However everyone i know starting with Linux has been ordering Fedora CDs and Ubuntu CDs instead of just burning them themselves.

      "And that my friend, is the niche Opensolaris will quickly start filling."

        I assume your refering to the first posts complaint about support since you neglected to go into detail about which niche we were talking about. I am setting up a shared system for my household since it has multiple geeks within and im hoping to do it with Solaris. While briefly glancing over the OpenSolaris website i saw it had a central distribution and then several other distributions, i see that as potentially covering the issue of support that a distro which can die has. By having a central distribution of packages and also options for distro of choice the system would seem to support from the inside out(Heres a complete OS) instead of the Linux method of supporting from the outside in(You can only have Linux if you have Linux+Debian Linux+Gentoo) excluding of course those daft enough to attempt LFS which then causes you to support every package you have all by yourself. Each has its own flaws and benefits, But as far as a desire for support goes i would have to say thats the way to go.

      If im off please feel free to elaborate on what you said

      Tyrain

    26. Re:This article makes good points. by zokum · · Score: 5, Insightful

      So, you upgraded from the old 1.x branch to a radically different 2.x branch, known to be a substantial partial rewrite, and expect everything to work out ok all by magic? You also seem to failed the "sentient sys-admin test" by not using 'google' to do some research. Things like say "http://www.gentoo.org/doc/en/apache-upgrading.xml " perhaps?

      I run Gentoo on my own machine, and most of my users WANT bleeding edge versions, a lot of custom options here and there. The system is using a hardened kernel, stack protection and everything is compiled for 64bit (k8). I don't know of any distros that can do that for every package. So far I have had 1 package problem, and that was resolved by 'uncaching' some stuff and redo the emerge of that package. In general, gentoo is easy to maintain, provided you update regularly. As for the people whining about compile times, this is a server, using it at 100% cpu now and then, provided the compilation has a low priority impacts noone. Compiler time is a non-issue, i'm not running X, soundcards, usb, video drivers, gui-browsers etc, there's not all that much to upgrade.

      It should be noted that I sync the portage tree from a euro-mirror to a local mirror 6 times a day, and having 3-4 meg a sec to the files-repository makes downloads take an average of 2-3 seconds. Coupled with two beefy processors and lots of ram, Gentoo is brilliant for me. And yes, I have permission from the rsync-maintainer to synch that often.

      --
      Rest in peace Malin "looxn" Kristiansen. We miss you...
    27. Re:This article makes good points. by pakar · · Score: 1

      One BIG suggestion for you. If running a critical system, always have a test-system where you do the upgrade in advance to see what you need to do during the upgrade.

      And the same goes for ANY critical system, whatever OS it might be running.
      I have seen tons of problems like these on debian/redhat/gentoo/Suse/HPUX/MS Windows systems so it does not matter what you run. You always run into these kind of problems if you just assume that everything will get updated correctly.

    28. Re:This article makes good points. by Goeland86 · · Score: 4, Insightful

      It's not. The issue here is not which distro is better than the other in some very personal sense, it's whether or not it makes sense to update all the time. I personally feel that, yes, gentoo does require lots of time to update constantly, but it's meant for a park of desktops, not specifically servers, or else you'd better have a number of machines you have a servers + 1 to run updates and then just use packages compiled on your external machine.
      Yes new patches come out all the time, but the real question is whether you trust developers to improve their code over time, or to destroy it. We've seen one end of the spectrum with what MS did between 98 and ME, and I believe that gentoo shows us the other end. While you theoretically always ARE at the bleeding edge with Gentoo, it does have a "safe window" built in, the way it handles portage with the keyword system. New packages are usually in CVS within 48 hours of release. If they compile and run, they get thrown into the ~arch (testing) rapidly. Then, depending on what kind of update has been done on it, you'll have to wait anywhere from 2 days to 5 months to see it come down into the actual arch repository, which is deemed the "stable" gentoo. I personally run ~arch, yet I can't seem to recall a problem that portage couldn't solve with minimum input on my part.
      Yes, I'm a gentoo fanboy, but I'm not so glued down into distro patriotism to refuse to see flaws where they are.
      Some people seem to want to spend time in maintenance to keep a system up to date and continually tinker and let their knowledge grow by frequent maintenance, and other people seem more interested in setting something up and being lazy about having to deal with updates/upgrades. I personally trust that most open source coders, and especially the ones for the big projects like apache, ssh, mysql and others of that caliber, usually improve the code from release to release, not damage it. Security fixes, bug fixes, and plain new features are usually the goal of coders, and I trust that they do that.

      --
      ---- I am certain of only one thing : I know nothing else.
    29. Re:This article makes good points. by 400049 · · Score: 1

      This is different. This apache 1.3 to apache 2.* is not this weird any where on this planet. Gentoo guys specifically had this thing broken and since I never dived into config zone of Apache, I never knew there would be so much trouble. Having Apache running on my personal PC (running mandrake) and painless upgradation to Apache 2 without any changes in configs has led to believe that there won't be any problem when same thing is done on Gentoo system. Gentoo is good ...no argument... but it's not suitable for critical systems and unexperienced sys-admins.

    30. Re:This article makes good points. by 400049 · · Score: 1

      The problem here was not Apache rewrite. Instead it was a case of Gentoo screwing up the conf files and unscrewing them. I admit my error of not googling Gentoo wiki before updating. But coem on! Gentoo is also to blame!

    31. Re:This article makes good points. by lRem · · Score: 5, Informative

      Gentoo has proven all right in my production enviroment - and that is an ISP.
      First reason, is that you don't have to upgrade those production machines all that often. I sit down and read any security advisory that seems to affect me. And, not surprisngly, there are actually very few remote vulnerabilities that hit Gentoo-hardened. Furthermore, those tend to be in software right in a leaf of the dependency tree, or software I might consider disabling (or limiting to trusted hosts) to the next maintainance cycle.
      And there comes it - once in 6 months a massive emerge -uDB world && emerge -uDk world && revdep-rebuild && perl-cleaner (better don't omit the latter two). The system is nicely trimmed down and the build runs on a few machines I have available, so it doesn't take any epic amounts of time. In fact, I even seen it done within half an hour. Still, back when it did take a better part of the day, I simply run the first command a day earlier and then used the packages, what of course is a breeze.
      Finally comes the configuration updating. I haven't seen it easier anywhere. The first nice thing is that Gentoo developers don't toy around them - they usualy come as the original software developers intended. But what really makes a difference is the toolchain. By far, I have seen no other distro that automagicaly within the standard package system uses revision control for configs. And then, it gets the trivial updates done for me, and puts me into vimdiff anytime any decision is required.
      At most times, this means no downtime at all, as everything runs smoothly. In case of a kernel upgrade, or anything going wrong (once till now), we still have redundancy. So there are no visible drawbacks of using Gentoo on those servers... Unless I, and my boss, am missing something.

      --
      Always put off dealing with time-wasting morons. If you would like to know how... I'll get back to you
    32. Re:This article makes good points. by jimicus · · Score: 1, Interesting

      I'd happily run Debian.

      However, for a lot of the packages I use, I require a recent version. There are plenty of bugs in Samba's domain support which have only been recently fixed. Bacula, a backup tool, is fantastic but the only version in Debian stable has been showing its age for months, if not years.

      Possible Solutions:

      Run a mix of unstable/stable. What's the point in a supposedly "stable" distro then?
      Run "stable" and live with the old software. Not an option for me, I can't very well tell my staff that the reason such a feature doesn't work (even though the developers fixed it over a year ago) is because it hasn't hit Debian stable yet. They simply will not accept this.
      Run unstable. What's the benefit of using Debian if I'm using the unstable branch? Granted, apt-get et al are great tools, but so is portage.
      Compile my own newer versions of packages (and any dependencies which need updating). Eurgh. The whole point of a tool like portage is that the dependency hell which so often crops up when compiling a major package is effectively eliminated.

      None of these are an issue for reasonably mature software where it's unlikely you need the latest version and you're probably better off with a proven version - cf. Apache or Postfix, for instance.

    33. Re:This article makes good points. by Fred_A · · Score: 1

      I'm amazed you lasted this long, I too ran RedHat ages ago, after the first Slackware and Yggdrasil. RH's introduction of RPM was a fine idea but the damn thing never worked properly. So I only ran a few versions of that before moving to greener pastures and settling on Debian and variants because it was the easiest to manage (with a stop along the way using Gentoo).

      I'd consider RH because of the long term support in a type of deployment where it would be required. But sticking with it by choice, nah. SuSE or Mandriva possibly if I wanted something more bleeding edge. Of course there's a lot of personal taste involved.

      --

      May contain traces of nut.
      Made from the freshest electrons.
    34. Re:This article makes good points. by Fred_A · · Score: 1

      Back when Solaris 9 (I think) was downloadable for testing for intel (and friends) machines, I remember I couldn't get one of the disk images because of a broken link. It wasn't something essential so I just sent a polite feedback note saying the link was broken and I couldn't get that disk and just played with what I had.

      And I got it in the mail two weeks later ! Mailed in from the US if I remember correctly. I was fairly impressed needless to say.

      Apparently the standards have gone down quite a bit since then. :-/

      --

      May contain traces of nut.
      Made from the freshest electrons.
    35. Re:This article makes good points. by arivanov · · Score: 3, Interesting

      In an average company you need 2-3 packages at most that need to be pushed to newer versions. If you need to maintain locally more than 3 packages for infrastructure (and you are not making a living out of it) you are doing something seriously wrong. The most likely reason is the magpie syndrom (love for all things new and shiny). Time to stand back, look at what are you doing and think: "Do I really need all these shiny latest superduper things or I can make with a verified version and a well known workaround".

      If you are dealing with 2-3 packages you can do that by using backports.org or backporting yourself. If you need more and these are an essential part of the business there is no difference between portage and backporting/local packaging. In ether case they have a tendency to break and you need local developer/sysadmin time allocated to that. Portage gives you no advantage whatsoever because the resource you gain in keeping more than 3-4 packages synced to their projects HEADs you will lose in infrastructure upgrade creep. Every time I have looked at this in the past taking out the numbers out of the ticketing and workflow control systems have proven that this is the case. I have yet to see one case where this is not.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    36. Re:This article makes good points. by pakar · · Score: 1

      Hehe, never assume anything .. Always test it, and having a testbed for critical systems is a must..

      But i don't agree with your assumption that gentoo is not suited for critical systems. It all depends on how you manage the system, Gentoo might require some more knowledge and testing before implementing new things so it requires some extra attention when doing things.

      Some more hints for you:
      - Use a testbed before doing upgrades
      - Make pkg/cfg-backups before doing a upgrade so you can easily downgrade if you run into any problems.
      - Make binary pkg's on the testbed that you then can install on the production system to speed up the upgrade-process.

    37. Re:This article makes good points. by micheas · · Score: 2, Informative

      This depends on what your servers are doing.

      If you are serving static content, use something tested like Debian stable.

      If your business depends on you being at the technological front edge, (Etrade for example) then you run something like Gentoo or Debian unstable (Etrade runs Gentoo, but Debian unstable has packages of about the same age and quality.)

      If you run something like Debian SID, Gentoo, FreeBSD current, or Microsofts current beta server, you need to set up a test server, and you need to have a staged rollout, but you were going to do that anyways if the site was at all critical. If you are just running a file server, or static web server or some such similar server, Debian Stable, windows 2003 Server, Solaris, and some versions of FreeBSD are all worth a look as you can get them supported in 2008, even if you don't decide to upgrade. (longer than that, a popular release of FreeBSD is probably the only server with a real chance of getting security patches back ported to it.)

      The comments to the article really point to some of the things the author was unaware of, and happily accepted the advice and hints. I have never used Gentoo, but there are people and organizations that run large server farms with Gentoo, so it clearly is suitable for some server use.

    38. Re:This article makes good points. by dtfinch · · Score: 1

      I've had just enough experience with support contracts (mostly with rotten, scheming ERP vendors) that having one doesn't help me sleep better at night. What I really care about is having stable software that's never beyond my ability to fix.

      My experience with CentOS has been entirely positive. Downtime has been rare, brief, and almost always due to failed hardware. And being based on RHEL, it gets longterm updates, limited to bug fixes and the occasional backported feature, nothing that would break a setup. I've never had a time where I wished I could call up a support tech for help with it, because it always seems faster to research a problem than try to describe it over the phone to someone who's unfamiliar with my setup and try all the standard solutions on their list that I know won't work. If a support tech had to appear onsite, it'd mean we were down for days. I'd much rather just know what I'm doing. But if I had to run commercial software that demanded a specific distro like RHEL before they'd provide support, I'd obviously meet their demands.

    39. Re:This article makes good points. by Kirth · · Score: 1

      As soon as they implement a package management which earsn the name "package management". Will take some years, I guess.

      --
      "The more prohibitions there are, The poorer the people will be" -- Lao Tse
    40. Re:This article makes good points. by ACORN_USER · · Score: 1

      It's gentoo's fault, because, sometimes you won't need generation Xi of said library. It's just imposed on you because some tosser put this dependency in the ebuild. You could probably just as easily ./configure --with- to use your existing lib from source. I've seen this where pgadmin was tied to a specific version of wxwidgets and yet when building manually, it would allow you to specify which wxwidget version you were using. But noooo. Our ebuild had to force an upgrade. No it didn't, 'have to.' But it did.

    41. Re:This article makes good points. by ACORN_USER · · Score: 1

      Oh, come on. What distro, or for that matter, 'ANY OPEN SOURCE PRODUCT', doesn't come with a whole world of mailing lists, faq's and forums. Nothing special there. Move along.

    42. Re:This article makes good points. by dondelelcaro · · Score: 2, Informative

      Run a mix of unstable/stable. What's the point in a supposedly "stable" distro then?

      Run "stable" and live with the old software.

      What almost everyone who really uses Debian in production does is run the stable software for everything that can be gotten away with running the stable version, and specific backports of sandbox tested versions from unstable. (In many cases backports.org or other publicly available repositories have actually done the hard work for you.)

      In this way you avoid having changes that you haven't specifically asked for sinking your production machines, and can easily keep up with security updates. When you're dealing with whole fleets of systems, this becomes a not inconsiderable advantage.

      --
      http://www.donarmstrong.com
    43. Re:This article makes good points. by speculatrix · · Score: 1

      personally, if a server is that important, have a warm standby which is a clone of the live one. when update time arrives, stop replication, do the update to see what works and what breaks, and then you'll have the confidence to do the live server.

      if you can't afford a replica, at least have a full set of disks onto which you clone the system, and then update the copy.

      if you can't afford a set of replica disks and your server has mirrored disks, break the mirroring on your live server (having checked for smart errors etc on the disks), update the primary disks, and if it works, re-mirror.

      if your server isn't mirrored or even raided, you can't be serious about the quality of the server you run, therefore if you break it, who cares?!

    44. Re:This article makes good points. by Hal_Porter · · Score: 3, Funny

      in gentoo u just need emerge --backport --fuck-upstream --unrollloops --skip-rarely-taken-else-clauses --inlinelimit=9999999999999999999999

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    45. Re:This article makes good points. by Bert64 · · Score: 0

      The problem with running a mix of stable and unstable on debian, is the use of binary packages...
      Recently i needed to install TeTeX version 3 and several other packages onto a debian stable system, yet stable only supported 2. So i tried to install the unstable version. The unstable version was compiled using a newer version of gcc, and linked against a newer version of glibc so i had to install those too, the newer glibc needed a newer kernel and the newer gcc needed a newer binutils.
      I ended up with all my core packages being from unstable, thus rendering the idea of running stable useless.

      Gentoo is fine if you have time to maintain it, the issues of merging config files are not insurmountable, afterall you did write those configuration files in the first place didn't you? It will auto merge new default configs in cases where you've not modified the old defaults, so all you have to do is merge your configuration changes into the new configs, if necessary.

      What gentoo does need, however:

      A bootup sanity checker - a script to check your essential configs so that *At the very least* the system will boot, configure networking and start SSH, so that whatever else you do, you can always get in to fix it.
      A grub equivalent to lilo -R, or just use lilo, single boot mode is awesome for remotely testing a new kernel, if it panics the machine auto reboots and goes back to the old kernel.

      Checkpoint stable releases, perhaps once a year or so, where a set of packages are marked "stable" and you can install a system using them. Then, any subsequent updates are only small security fixes, ala debian stable. However, with the optional flexibility of being able to install unstable (with associated warnings) or later-checkpoint versions of packages (a system using a 2005 stable kernel and a 2006 stable apache should still be considered stable) Basically, to let you lock particular packages (all by default) to a particular checkpoint release (with incremental security updates), but with the flexibility to update if necessary, either to newer checkpointed versions or to the bleeding edge.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    46. Re:This article makes good points. by dodobh · · Score: 1

      The trick is to build your own packages on one host. Set that one up as a centralised distribution server. Then everything just pulls from it.

      --
      I can throw myself at the ground, and miss.
    47. Re:This article makes good points. by kv9 · · Score: 1

      As soon as they implement a package management

      I'm not sure, but you probably can run pkgsrc on it.

    48. Re:This article makes good points. by cortana · · Score: 1

      Another option is backports.org. Or simply backporting the packages that you want from unstable to your stable system yourself. Debian's packaging tools make this very easy (dpkg-checkbuilddeps and apt-get build-dep among others).

    49. Re:This article makes good points. by Hal_Porter · · Score: 2, Funny

      Oh, come on. What distro, or for that matter, 'ANY OPEN SOURCE PRODUCT', doesn't come with a whole world of mailing lists, faq's and forums. Nothing special there. Move along.

      The pages seem to load faster on the gentoo-wiki than most others though.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    50. Re:This article makes good points. by ocularb0b · · Score: 1

      As a long time gentoo user i have to agree with this post. Harmful might not be the word, but i'll accept dicey.
      I've found no other distro that can replace gentoo for me on the desktop.
      But can be a bit high maintenance for simple server use.
      I should mention that i used gentoo to build my firewall and then hand removed portage. Of course then you have to do updates by hand.
      I'm going to start moving my fileserver over to Solaris and ZFS(which is insanely cool). ::open on up::

      --
      Support bacteria, the only culture most people have.
    51. Re:This article makes good points. by Anonymous Coward · · Score: 0

      If there's a security patch that is needed, it gets ported to the current version and the revision number is bumped - so you have 1.2.3-r2 bumped to 1.2.3-r3 without having to upgrade to 1.2.4 if you don't want to.
      No, if there's a security patch available for the current version it gets included. Otherwise, they usually update to the fixed version rather than backporting the fix themselves.
    52. Re:This article makes good points. by wolverine1999 · · Score: 1

      You can use it on production systems. Just you have to know what you're doing and don't upgrade every day, of course!

    53. Re:This article makes good points. by segin · · Score: 0

      And on any other distribution, you would had to wipe your disks clean and install an updated version of your favourite binary distro. "Upgrading" from Fedora 3 to 4, for example, requires you to nuke (read: delete permanetly) anything not on /home, so how is Gentoo any different from any other Linux distribution or even UNIX out there?

    54. Re:This article makes good points. by ACORN_USER · · Score: 1

      :) Only because it's hosted on a quantum computer, running a yet to developed version of gentoo and 14.9 linux kernel on a node on mars in the year 2132. Unfortunately, the quantum architecture is balanced with a server in Baton Rouge in the year 2003 and if you're unlucky it'll longer to serve a request than your standard windows installation; tachion latency. :(

    55. Re:This article makes good points. by CastrTroy · · Score: 1

      On Fedora, this means practically no time is left
      Why do people want to run their servers on such bleeding edge OSes as Fedora and Gentoo? Unless there is something available for these platforms which isn't available on another more well supported distro (which I doubt) then why run something that is more likely to contain bugs, simply because it hasn't had the time to undergo testing?
      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    56. Re:This article makes good points. by segin · · Score: 1, Interesting

      And this backported security patch would be a dirty hack and wouldn't work as intended, so what's the point? Changes for the 2.6 Linux kernel, for example, should NEVER be backported to 2.4, because they will be flaky and unstable at best. But you're right -- all these kernel panics make my machine very secure -- They can't hack what isn't online to be hacked!

    57. Re:This article makes good points. by CastrTroy · · Score: 1

      but it's not suitable for critical systems and unexperienced sys-admins
      Why do you have a critical system that is being handled by an unexperienced sys-admin?
      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    58. Re:This article makes good points. by saleenS281 · · Score: 1

      Support is one of them, but he was also complaining about his packages no longer working on 2.6 kernel. Solaris has the whole binary compatibility thing going for it. If it worked on Solaris 2.6, odds are very very very good it will work on Solaris 10 (10 years later) unless someone did a very bad job of coding it in the first place.

    59. Re:This article makes good points. by neersign · · Score: 3, Insightful

      on the contrary, this article makes NO good points. First of all, he is using old hardware and then he complains about the time it takes to compile packages. Duh. Slow computer + large packages like Apache and MySQL = a lot of time spent compiling. The writer talks about the inital install taking a long time. Yes, my first time installing Gentoo using the CLI took a long time, too, because I was spending more time reading the documentation than performing the steps. The documentation is stupendous, btw. Now that I have gone through a few installs, I can pretty much do it all on my own, but I still refer to the Quick Install Guide for reference. He then complains about the Stage 3 install losing the "compile everything" mentality. Wrong again, because the nature of Gentoo is that as you change USE flags and packages get updated, then the base system will naturally update itself. So, the Stage 3 install simply removes a lot of initial compiling to get you in to a base system quicker. The author then complains about Gentoo wanting you to upgrade everything all of the time and not being stable. Wrong again. You perform an initial `emerge -vauDN world` to update the base system to your new, custom USE flags. Once you install packages and you only want to keep specfic packages up to date, you only need to update that package using `emerge -vau package` (v is verbose, a is ask, both are good so you know exactly what is going on, but not essential). And, as a lot of other people have pointed out, if you do not use the unstable keywords, you will be on a very stable system. Also, no config files will be overwritten unless you tell them to be. The `etc-update` program shows you what needs to be updated, and allows you to merge, overwrite, or ignore the updates. He then says "Gentoo wants you to change a lot of stuff. It wants to be bleeding edge." This is also false. Gentoo wants you to do whatever you want to on your own system. It wants to be as current as you want it to be. Gentoo is all about control and knowing your system.

      Obviously, the author has used Gentoo once and now believes he is an expert on the subject. If he had used it more than once, he would see that all of his arguments hold no weight. Every distribution has their own way of doing things, and when you change from one to the other, it takes time to learn the new procedures.

      and for the record, I tried to install Debian Woody on my pentium 133 laptop. It took an entire 7 days to download and update the base system. And that was a full 7 days of straight work. Thus, I decided to pick a distribution that was more appropriate for the system and settled on DSL. Also, I switched to Gentoo from Slackware on my server because I always found my self reading the Gentoo documentation for help in setting things up on Slackware, and I like the FreeBSD-esque package manager (Portage is based on Ports). Personally, I would always choose a BSD in a production environment. "BSD on the server; Linux on the desktop," as the old addage goes.

    60. Re:This article makes good points. by Ash+Vince · · Score: 1

      Why are all these people taling about running Debian or gentoo in a production environment?

      Surely the best bet is to actually go and pay for any OS you use in a production environment, then if it goes tits up you can always pass the buck if you cant fix it?

      My company use Red Hat Enterprise Server but I will probably try and encourage this new Oracle offering as it is cheaper once I have evaluated it. I have never had to use their support services yet, but I like knowing they are there if needed and I can easily justify the cost of that support to my manager if asked (My time is more valuable than they charge).

      I would quite happily have gentoo in our server room, I would just not like to be the end of chain support person. Maybe some Linux admins out there like having no backup, but I dont.

      Regarding some of your points about flagging packages as stable under gentoo and some as unstable, this already exists. The ~ in ~x86 denotes unstable as well as stable. Here is a link to the relevant section of the gentoo manual:
      http://www.gentoo.org/doc/en/handbook/handbook-x86 .xml?part=3&chap=3

      But this is the biggest problem some people have with gentoo, it asks you to read the manual. Most users hate reading manuals.

      --
      I dont read /. to RTFA, I read /. to offend people in ignorance.
    61. Re:This article makes good points. by Fyre2012 · · Score: 1

      omg i almost spit my coffee out laughing at that one!
      And i do agree with you on the point earlier about every distro having forums and docs. Obviously they do, i've just found it much simpler to find answers for gentoo problems than with other distros because the community tends to know a little more about what's actually going on than with binary distros.

      --
      This is not the greatest .sig in the world, no. This is just a tribute.
    62. Re:This article makes good points. by sgt+scrub · · Score: 1

      This is the post I was looking for. It answers the question and proves the point, "If you are familiar with something then it is what you should use".

      I run Debian on my servers. I run Gentoo on my laptop. I've become familiar enough with Gentoo that maintaining it on a server would not be that difficult for me. In fact, I've started to use Gentoo on all of my VM's. ie. I use Debian as the base and Gentoo on the VM's (LVM).

      --
      Having to work for a living is the root of all evil.
    63. Re:This article makes good points. by Anonymous Coward · · Score: 0

      Bah hum bug!!! (however that is spelled, and yes im aware i could google it) Gentoo has problems in a production environment if your su is an idiot. Duh, this is a server. Once its up, working, feature filled with everything you need and hardened, then don't "emerge --sync; emerge -uDN world" every day. Learn how to run something for a specific type of job application. Remember, computers are only as smart as their operators, programmers, etc.

    64. Re:This article makes good points. by MyDixieWrecked · · Score: 1

      Gentoo has proven troublesome in a production environment.
      The problem isnt updating often... it's when you DONT update often.


      That's my only complaint about Gentoo. Although it's my favourite distro, it can be extremely time consuming to update and install software, and when you need to update your kernel, be ready for a day of downtime.

      The article makes excellent points. I wouldn't recommend using Gentoo for a server that's going to be running a dozen services, and although portage is great, I'm not really a fan of it on the desktop (for that I use Ubuntu... mostly because of its great support for everything out of the box-- ipod, etc). It takes FOREVER to compile X11 and KDE or Gnome and Firefox on older hardware.

      I've got 2 servers running Gentoo at home. One is just a webserver and the other is just a fileserver and coordinates backups of the webserver. They're both 1ghz and updates are a hassle, but I keep the web guy up to date with upgrades more or less once a month. The other one, I recently had to upgrade around 130 packages.

      But managing headless servers, for me at least, is a lot easier using Gentoo than any other distro I've tried. I'm not a fan of RedHat's RPMs or Debian's dpkg/dselect. I'm not really big on BSD's ports, although I'm still getting used to that one.

      Gentoo is a great distro for learning the ins and outs of Linux. Without it, I think I'd only be an intermediate user and I wouldn't be able to manage a system. I can fix almost anything, now.

      --



      ...spike
      Ewwwwww, coconut...
    65. Re:This article makes good points. by luker0 · · Score: 1

      I had Gentoo running on 4 machines at one point: personnal workstation, myth tv, intranet file server and a wireless workstation in the garage. At first I though this was the holy grail that will allow to never re-install the OS ever again. Well that did not really. I'm at a point in my life where the technology my family relies on just needs to work. The constant feeding and caring of a Gentoo is just too time consuming, and that's when the updates work. The constant updates to keep a multimedia machine working with codecs and such was just too much. Myth box converted to Knoppmyth, up and running in 35 minutes. Haven't touche it since. Then you take into consideration the amount of time needed to fix the problems that were created by the updates. On one occasion a simple update to a config (which I did not notice at the time) caused 2 days of downtime for our file server. And many many days of downtown for my workstation. Both workstations are now running Windows, much to my chagrin. And the new internet gateway I was building is now a Fedora Core 6 box. Yeah I know I'll be re-installing in 24 months, maybe by then I'll able to afford a RedHat Enterprise license. I now have Gentoo only on one machine and that one will likely get rebuilt to something else soon. My next workstation purchase: A Mac Book. They just work.

    66. Re:This article makes good points. by Spudds · · Score: 3, Interesting

      What kind of dope uses Fedora on a production server?

      It's arrogant, elitist (and ignorant) comments like this that really drive me crazy.

      What you use in your production environment depends on different things; Knowledge and preference of the admins, business needs, type of environment, etc.

      At my current employer, we're moving away from debian towards fedora for a very specific reason: Our requirements dictate that we *need* functionality that doesn't exist in 1000 year old software that's housed in debian packages. Don't get me wrong, I love debian. I personally find apt to be a better package manager than rpm, but we simply can't wait for 6 months/2 years/whatever to get the features that exist right now in more "bleeding edge" distros.

      Being a long time fedora user I can say with a great deal of confidence that fedora is very stable on a server. We run one version behind on our servers to let the brand new version mature a bit (we're running FC5 on our servers now), and have *never* had an issue with stability.

      Can we all just stop with the two rediculous Fedora FUD comments please?
      Dependency Hell(tm) no longer exists for redhat (and hasn't for a LONG time) and FC is a stable OS.
      Just stop.
      It's old now.

    67. Re:This article makes good points. by Anonymous Coward · · Score: 0

      And those forced updates because of non-backporting cause LOTS of problems, even for me, a home desktop user. Gentoo is great and all, the portage system is the best package manager i have ever seen, but Gentoo itself is just horrable, packages that are marked "stable" rarely are, the whole distro just lives on the bleeding edge and dosent provide a set of working, proven stable ebuild packages.

    68. Re:This article makes good points. by luker0 · · Score: 1

      Sure Gentoo has the ~ flags. But they don't work. Quite a bit of very unstable code gets moved from ~x86 to x86. I had a machine that did not allow any unstable flags, none, zero, nadda. The machine still went down on 3 occasions because of updates to baselayout, which required updates to udev, which required updates to dbus, .... It's not of everyone and I for one agree that it's not production capable, unless you leave the box alone and never update. Oh and I did read the manual, many, many times and for several versions of the manual. And the forums. And the wiki.

    69. Re:This article makes good points. by tomstdenis · · Score: 2, Informative

      What compels you to update and change things regularly?

      If your mythbox "just works" and isn't exposed to the outside world, JUST LEAVE IT ALONE. People like you make bad admins, regardless of OS or distro.

      As for the haters, Gentoo is not the be all of Distros, but let's not pretend that the other distros are perfect mmm'kay? Gentoo is what it is. Requires effort and gives the users lots of choices on how things are configured. If you are willing to pay the price [of taking the time to set it up] you are rewarded with a flexible OS.

      Otherwise, plomp that knoppix/fedora CD in and use the software as configured by other people.

      Tom

      --
      Someday, I'll have a real sig.
    70. Re:This article makes good points. by Anonymous Coward · · Score: 0

      Some of us prefer distributions where we feel safe updating every day.

    71. Re:This article makes good points. by Anonymous Coward · · Score: 0

      > It should be noted that I sync the portage tree from a euro-mirror to a local mirror 6 times a day

      What about the Gentoo Net'Etiquette ?

    72. Re:This article makes good points. by arodland · · Score: 1

      So if, as an admin, I've learned through doing that some distros make my job easier and some make it harder, I'm callous and juvenile to share that information with others? Cut the "everything is as good as everything else" bullshit. Gentoo? Not so hot for real-world uses. "Complete System Control" is antithetical to convenience. The right answer is "take care of it for me using reasonable defaults, but get the hell out of my way when I ask you to."

    73. Re:This article makes good points. by iabervon · · Score: 2, Interesting

      You're still *reading* security advisories? "glsa-check -f new" or "glsa-check -l affected" But you should be aware that Gentoo doesn't do glsas for the kernel, which may be important to an ISP and is not entirely obvious.

      Gentoo does reasonably well with configuration stuff (certainly better than any other system I've seen), but I still think it should be better; it'd be really nice if upgrades that change config files would be built but not installed, and then you'd be guided through updating the config file stored in the new package, and then it would install the package, overwriting your old config file with the version you prepared separately. And then it could stop the service right before installation and start it again right after, because the new configuration would already be in place.

      The other thing that would be great would be if it could build packages with their dependancies built but not yet installed. Then it could do the revdep-rebuild *before* there were any non-working programs on the system.

      But really, the only case where I've had problems with Gentoo on my server is when there's a difference between what services are running now and what services would be started if I rebooted and got to the current runlevel. (I.e., you install something and start it but don't add it to the default runlevel, and when you eventually reboot, you don't realize it's not running until somebody complains that the thing they need isn't working.)

    74. Re:This article makes good points. by Anonymous Coward · · Score: 0

      Sure, this article has it's good points, but really isn't fair to Gentoo. Gentoo never claimed to be easy or for everyone. Gentoo is distribution geared toward customization: the whole Gentoo philosophy speaks about choice, not being the best for any one user or purpose. Portage adequately allows a user to control package versions, and thus updates, for every single package on the system. I have run and currently still run a number of Gentoo systems, both workstations and servers, without breakage or compiling all day. Gentoo, and it's great package manager, is only as dangerous to a server as the person who admins it; and, just because you can manage RHEL or another distro doesn't mean you have a clue how to manage portage. Guess what, Mr. Admin, time to go back and RTFM.

    75. Re:This article makes good points. by TyrainDreams · · Score: 0

      Yeah totally forgot the whole lack of support kernel version to kernel version. I can see that as potential for taking that sort of market niche, though im not a linux developer primarily im sure most people dont want to recode every time there is a new kernel version :P Doesnt BSD have a backwards compatible system or am i just thinking of the linux compatibility layer.

      I do think OpenSolaris would be better for a server especially over Gentoo, doesnt have the speed of deployment time and in the case of some sort of disaster recovery you better have a full system backup or else your going to have to wait to get the system back up, which usually a big company does but when it comes to small servers and such like ive dealt with over the years we usually just backup the information and rarely the system. Thats why Gentoo has been something i avoid.

      I also checked the post today, being day 10, and no Solaris 10 yet :P

      Tyrain

    76. Re:This article makes good points. by dbIII · · Score: 1

      I run Gentoo on my laptop. I've become familiar enough with Gentoo that maintaining it on a server would not be that difficult for me.

      The other problem is if you get hit by a proverbial bus how would your management find somebody to take care of those Gentoo servers? Redhat is not ideal, but a lot of people know it and Solaris and AIX admins that don't know it have enough similarities to get them going. I play with Gentoo occasionally on a system with a low power consumption CPU but I can't even remember off the top of my head what they have done differently with init.

    77. Re:This article makes good points. by turbidostato · · Score: 1

      "The trick is to build your own packages on one host. Set that one up as a centralised distribution server. Then everything just pulls from it."

      And somehow magically that will avoid that upgrading say, from postfix 1.x to postfix 2.x (or subversion 1.2 to 1.4, or whatever) overnight would break your mail system, uh?

    78. Re:This article makes good points. by turbidostato · · Score: 1

      "By far, I have seen no other distro that automagicaly within the standard package system uses revision control for configs. And then, it gets the trivial updates done for me, and puts me into vimdiff anytime any decision is required."

      You haven't seen to many distributions then. Debian does it. And (surprise) you won't ever will have to "vimdiff" any configuration file unless jumping from version to version. As long as you stay with, say, Sarge, no diffs at all upon upgrading will be needed -guaranteed. And that makes years I can spend doing really productive things like deploying new services instead of babysitting servers.

    79. Re:This article makes good points. by turbidostato · · Score: 1

      ""Upgrading" from Fedora 3 to 4, for example, requires you to nuke (read: delete permanetly) anything not on /home"

      On the other hand, upgrading from Debian Potato to Woody to Sarge to Etch (and that's a lot of years) can be done with just some *minutes* of downtime on a live system, so go figure.

      "so how is Gentoo any different from any other Linux distribution or even UNIX out there?"

      You see, in *some* other distributions you are not expected to have a whole testbed and a compile farm for a single-function server exposed to the Internet to work for ages.

    80. Re:This article makes good points. by Anonymous Coward · · Score: 0

      What kinda FUD is that? It's perfectly possible to upgrade FC3 to FC4 (or FC5 or FC6, you'll normally get away even with skipping versions) without wiping anything by using Anaconda's "upgrade" option. It's even possible to update online using yum or apt-rpm, this is not recommended (you're supposed to use Anaconda's "upgrade" option instead), but it usually works just fine.

    81. Re:This article makes good points. by caldodge · · Score: 1

      >""Upgrading" from Fedora 3 to 4, for example, requires you to nuke (read: delete permanetly) anything not on /home"

      That's interesting, since I recently upgraded a Core 3 system to Core 6 with little problem.

    82. Re:This article makes good points. by turbidostato · · Score: 1

      "If your mythbox "just works" and isn't exposed to the outside world, JUST LEAVE IT ALONE. People like you make bad admins, regardless of OS or distro."

      Well, yeah, of course.

      Unless, like quite a lot sane sysadmins overthere you know you can be confident on the time *others* have already expended so you can avoid bugs *before* they happen to touch you without the worryness of breaking havoc at each "minor" upgrade, so avoiding the bad taste of having to explain to your manager why you didn't upgrade some critical package because it wasn't broken on your system... yet.

      Do you know why many sysadmins hesitate about aplying Ms Windows fixes? Because they tend to break things with insane frecuency. And you know what comes with such a policy, don't you? Why then do you want to bring those things to Linux?

    83. Re:This article makes good points. by Mik-Norway · · Score: 1

      Haven't you seen broken .rpm things? You are in about the same situation with *redhat-like systems just as with Gentoo. On the other hand - if there is some problem with update on gentoo, it won't roll in, giving you clues what is wrong, so you wouldn't end up in mess with incompatible stuff. And nobody forces you to use experimental packages or versions on production system (just set up your make.conf & keywords correctly). We run Gentoo on about 40 production servers (Clustered firewalls, proxy servers, mail/DNS/ftp/mysql/apache/php) without a single glitch. And we do upgrade when there is other a feature enhancement or security issue. As far as I can remember, the only major upgrade which involved a lot of fuzz was migration from kernel 2.4 to 2.6 - but hey, how often do you do that, and you would definitely experience the same troubles on all other distributions. Someone pointed out that this discussion in fact not about Gentoo, but actually about your upgrade policy - do you upgrade every single day because "well, I want to be up-to-date", or because there is a good argument that your production servers in fact MUST have an upgrade? I'd stick to choice of distribution based on the answer to that question - if you need flexibility for users on special installation or multiple versions of some package, I'd definitely stick with Gentoo, however if you want to be a monkey that wants fully-automated blindly self-updating linux distribution - that's taking a HUGE chance that things will break down and you will end up with using a LOT of hours fixing your troubles (use whatever distribution you want for that, typically *redhat-like systems or SuSE)

      --
      Be nice, and one day I might help you
    84. Re:This article makes good points. by Magada · · Score: 1

      You seem knowledgeable. Fix the darn ebuild and stop whining. Or just post a bug report and continue whining at the package maintainer until it's fixed :).

      --
      Something bad is coming when people are suddenly anxious to tell the truth.
    85. Re:This article makes good points. by Syberghost · · Score: 1

      And there comes it - once in 6 months a massive emerge -uDB world && emerge -uDk world && revdep-rebuild && perl-cleaner (better don't omit the latter two).

      That's nice. On REAL production machines, a massive upgrade effort like that every six months is about 6 times too often; once every 3 years would be better. NEVER would be perfect, but nobody supports things forever; although 10 years isn't unrealistic for a real UNIX vendor.

      Your solution doesn't scale to thousands of machines.

    86. Re:This article makes good points. by Magada · · Score: 1

      I'm sorry, but, asking as a relative newbie: why would a kernel update require a day of downtime in Gentoo? The last few I went through were pretty smooth, so that's why I ask.

      --
      Something bad is coming when people are suddenly anxious to tell the truth.
    87. Re:This article makes good points. by Anonymous Coward · · Score: 0

      Anyone who runs Gentoo [or any distro, for that matter] in production and points it at any random external update server deserves the pain they get. Gentoo makes it fantastically easy to maintain a single internal rsync and package server that has a heavily controlled tree and compile farm. Add that to the PORTAGE_BINHOST variable, and you get smooth, scriptable, fast updates to critical servers with zero worries. It has a ready-made distribution system for your custom/homegrown packages, can be configured for automatic, timed delivery, and supports multiple custom profiles enabling one to utilize highly heterogeneous production machines.

      For those needing an even more minimized system, there's GNAP. You can even set up your own signature for packages so the production servers don't install anything you didn't bless.

      All that to say: you get what you put in. Every single one of my internal systems (Windows, RHEL, & Gentoo) points to it's appropriate internal update server that carefully metes out package updates in an extremely controlled manner. I have zero problems and zero downtime.

    88. Re:This article makes good points. by ACORN_USER · · Score: 1
      What say, I just goto sf.net, download the latest stable release and build it? Why should I fix the ebuild, when I think that the whole idea of hiding possible configuration options is pants?

      *I am suddenly hit by guilt < insert melancholic music >*

      I should really give back to the community, shouldn't I?

      Hmmm.. then again since guilt is one of the roots to the Dark side, perhaps I should simply find evil-zen in my loathing of portage?

    89. Re:This article makes good points. by Magada · · Score: 1

      Erm. Actually, if you go to sf.net and grab the latest clean sources, you *should* damn well also roll your own ebuild (adding use flags as needed), instead of just compiling the raw source and flying with it until the next update breaks compat... that way it will be easier to maintain your system from now on.

      If you feel particularly graceful, you might even publish your new ebuild for brownie points, but it's not a requisite.

      On a side-note, I believe the community is actually made up of people and companies acting in what they believe is their own enlightened self-interest. No-one is asking you to become a commie/hippie/buddhist.

      --
      Something bad is coming when people are suddenly anxious to tell the truth.
    90. Re:This article makes good points. by ePhil_One · · Score: 1

      Which is why I run CentOS whenever I introduce Linux to a new company. None of the licensing headaches of RHEL, all the stability and excellent training and web resources. And when the Comercial software comes that demands RHEL, no retraining of staff (Now those config files are here, This version of Samba does it this way, etc.) And if I need to get someone up to speed, I still think the RHCE training program is one of the best in the industry and is 100% applicable to CentOS aside from teh need to use "system-config-network" in place of "redhat-config-network"

      --
      You are in a maze of twisted little posts, all alike.
    91. Re:This article makes good points. by tomstdenis · · Score: 1

      I would assume a mythbox is just a box sitting at home recording stuff from a PVR device. If it's working. then installing new software won't fix it. It might make it better [add new features] but that's about it.

      That there are updates out there doesn't mean you have to use them.

      Tom

      --
      Someday, I'll have a real sig.
    92. Re:This article makes good points. by ildefonso · · Score: 1

      The main problem I found when I used gentoo is: you can break things for a long period of time while upgrading. I ended with no computer for over 3 hours while I was upgrading, and I DO download all the upgrades before starting the upgrade, so no network problem stops me.

      The main problem: the same thing many people says is great in gentoo, the absence of automatic configuration scripts (so, when the configs files changes, you have to change them yourself), and, from time to time, compile-time errors.

      The compile time errors, I found to be related to some libraries NOT BEING updated (this was a long time ago, about two years now). and thus, I need to run the emerge's upgrade with a parameter I don't remember, the one you use to force the dependency tree (--deep -r?).

      Anyway, I just started to use debian: Debian is cool, but it is sloow to updates, and "stable" is frozen (only security upgrades), but, when you upgrade from one stable to the next, it use to be transparent (apt-get update && apt-get dist-upgrade , and voilá): I mean, the manual changes that you need to do are minimal.

      I actually use debian sid (unstable), beacuase it is updated on a regular basis, and it is really good for desktop usage.

      I hop this helps,

      Ildefonso Camargo

    93. Re:This article makes good points. by turbidostato · · Score: 1

      "Haven't you seen broken .rpm things?"

      Thrice on about a decade. On the other hand I've never seen a failed security upgrade on a Debian Stable, ever.

      "You are in about the same situation with *redhat-like systems just as with Gentoo."

      You must be joking. Where a typical Debian on "maintenance mode" usually takes me no more than twenty minutes weekly (usually much less) Gentoo clearly goes beyond the hour/week, not including upgrading profiles, which is a six-monthly task on average.

      "if there is some problem with update on gentoo, it won't roll in, giving you clues what is wrong"

      Yeah, sure. It never upgrades packages you will discover incompatible due to new functionality by the time you are about to merge the config files.

      "And nobody forces you to use experimental packages or versions on production system"

      I've never talked about anything but stable packages on "maintenance mode".

      "We run Gentoo on about 40 production servers (Clustered firewalls, proxy servers, mail/DNS/ftp/mysql/apache/php) without a single glitch."

      I'd really would want to see the results of an internal security audit over those boxes.

      "how often do you do that, and you would definitely experience the same troubles on all other distributions."

      Yeah, sure. Upon going from Woody to Sarge I went from 2.4 to 2.6 as standard. Do you know how many problems did it gave me? Zero, zitch, nada.

      "do you upgrade every single day because "well, I want to be up-to-date""

      I do upgrade every single day (that there's something to upgrade) because "well, I want to be up-to-date, security wise" with the certainty it won't break anything and that I won't have to change any single line on a config file. Don't you want it too?

      "or because there is a good argument that your production servers in fact MUST have an upgrade?"

      My Internet-facing servers MUST be upgraded as soon a security concern arises and there's a patch avaliable. On the other hand, my internal servers are upgraded too, because it's so easy and harmless to gain the advantage of a single baseline.

      "that's taking a HUGE chance that things will break down and you will end up with using a LOT of hours fixing your troubles"

      I'll repeat it again: I have had *zero* problems in about eight years "blindly" upgrading Debian Stable from their security repositories. Maybe I'm madly lucky, who knows...

    94. Re:This article makes good points. by lRem · · Score: 1

      Your solution doesn't scale to thousands of machines.
      While I could agree with much of what you've written, this last point got me a little puzzled. How come upgrading a system on a thousand machines is so much worse than upgrading it on one machine? I mean, if it's the same system, then you simply distribute the update you have prepared on the one machine among the other ones. If you've got to administer a thousand of different systems, then you're already screwed up, no matter what you're trying to do...
      --
      Always put off dealing with time-wasting morons. If you would like to know how... I'll get back to you
    95. Re:This article makes good points. by ACORN_USER · · Score: 1
      Misunderstanding. I contribute and am a oss hippie. However, it was the draw of the Darkside, which I was joking about. That said, I have gentoo 'imposed' on me and I'm not so keen on portage just yet. Further, I have no desire to become involved in maintaining the latest ebuild in a line of ebuilds, which I thought were crap to begin with - and whose predecessors I would not myself want to support.

      Btw. I like whining and will forever preserve my right to whine.

    96. Re:This article makes good points. by dodobh · · Score: 1

      Errr, having staging and build servers does not remove the need for testing upgrades. On any OS.

      --
      I can throw myself at the ground, and miss.
    97. Re:This article makes good points. by MyDixieWrecked · · Score: 1

      I've never really had a problem with kernels in Gentoo. Normally it's just a matter of figuring out what devices are in your machine and then enabling the drivers in the kernel. 9 times out of 10, the machine will boot without issue, but oops, you forgot to enable a USB driver or a driver specific to your sound card and you don't have sound. And if the machine doesn't boot, it'll throw and error and you'll realize "hey, I forgot to enable drivers for my IDE card" or something similar. It's usually obvious what's wrong if you look at the output. The hardest part is finding the exact directive in the menuconfig.

      but for some reason, I can't get my machine to boot with the new kernel. I've tried and tried and tried. I went through my old config and compared things; but there's a problem with doing that... The old kernel is 2.6.10 where my new one is 2.6.18 and the latter config has added quite a lot of new stuff.

      So my problem is that my server just will not boot, no matter how many times I go through the config and check and uncheck things. It also doesn't help that this machine is only 800mhz, so it takes 20+ minute each time I compile.

      I've posted in the gentoo forums, but no one's answered me, yet. grrr.

      --



      ...spike
      Ewwwwww, coconut...
    98. Re:This article makes good points. by Syberghost · · Score: 1

      How come upgrading a system on a thousand machines is so much worse than upgrading it on one machine? I mean, if it's the same system, then you simply distribute the update you have prepared on the one machine among the other ones.

      A binary package from, say, RedHat has been regression tested on a bunch of machines, by people whose only job is testing RedHat packages against RedHat's releases. A binary package I prepare is regression tested on as many machines as I can manage to make available, by people who've got more to do than just regression test somebody else's stuff.

  2. calling all trolls by Zashi · · Score: 1, Redundant

    Someone tag this article flamebait because hoo-boy are the trolls going to be coming out of the woodwork for this. My prediction, around 200 comments along the lines of "You don't have to update constantly and still get the 2% performance increase from those 72 hours of compiling!!!1!!one"

    --
    Skiffy is Spiffy, but Ort is tort.
    1. Re:calling all trolls by gbjbaanb · · Score: 1

      I'm sure you're trolling :) but the real reason for upgrading when something new comes out is security updates. This applies double for servers. Added performance and features are side-shows to the real reason.

  3. hey now by macadamia_harold · · Score: 1

    This is hard with Gentoo. Gentoo wants you to change a lot of stuff. It wants to be bleeding edge.

    Hey now, anything endorsed by Larry the Cow can't be bad. Larry the Cow and Poochie the dog are similar, in a lot of ways.

  4. Some serious crack smoking... by (H)elix1 · · Score: 4, Interesting

    Gentoo allows you to be on the cutting edge, just like all the other distributions. The primary difference is it makes it very easy for those who don't know what they are doing to be there. Most folks running SuSE, RH, or one of the other 'package' based distributions won't build their own RPM, etc. There is nothing stopping one of the 'normal' distributions from upgrading the kernel with each release. I certainly don't update everything on my Gentoo box because it is there, on my server.

    I run Gentoo on a server. The server is stripped down beyond what a typical 'router' distro looks like - one of the reasons I went with Gentoo is I could really trim the system down for the job at hand. My server only gets updates for security, and once in a while a bug fix that impacts the applications running on the server. Not often. When I need to compile something big, the last place I'd do it on is the server itself - it has another task. I take one of my workstations with far more GCC horsepower and let distccd do the work for the poor little pizza box. Beyond the initial build, I doubt those boxes have ever compiled anything.

    Since it is a source-based distro, I also am not trapped by RPM's or other packages no longer getting provided for my system. One of the applications I had was using RH9 (with paid support) only to have them drop maintenance on it and have the vender drag their feet moving to another platform (clue stick, they had issues with the 2.6 kernel, so would not 'support' any platform but RH 8 and later 9. The enterprise editions? Forget about it... You want to live in the suck, you try keeping one of those boxes alive and secure years after it EOL.

    1. Re:Some serious crack smoking... by Ash-Fox · · Score: 2, Insightful

      Of course some distributions like Debian/Ubuntu/Mandriva let you build the packages if you really want to.

      With Debian/Ubuntu it's easily done with apt-build. Mandriva on the other hand, things get a bit more complicated.

      --
      Change is certain; progress is not obligatory.
    2. Re:Some serious crack smoking... by Anonymous Coward · · Score: 4, Insightful

      You are essentially describing a Slackware system after 20 minutes of install.

    3. Re:Some serious crack smoking... by Anonymous Coward · · Score: 0

      Hear hear....

      Slackware is so underrated, Gentoo is kewl and nerdy so peopel defend it...

      Slackware is kewl

    4. Re:Some serious crack smoking... by b1ufox · · Score: 1
      The server is stripped down beyond what a typical 'router' distro looks like - one of the reasons I went with Gentoo is I could really trim the system down for the job at hand

      FYI, LFS can be customised for the same job i guess :).

      --
      -- "Genius is 1% inspiration and 99% perspiration" - TAE --
    5. Re:Some serious crack smoking... by Anonymous Coward · · Score: 0

      A typical "router" distro doesn't include gcc and all the development libraries. In fact, a "router" distro usually fits within a few tens of MB, the largest item probably being the kernel. Some fits within a floppy.

      Or did you actually track down the unnecessary files in your production machine and removed them? With that I suspect it may be better if you used LFS and did the stuff yourself instead...

    6. Re:Some serious crack smoking... by wolf31o2 · · Score: 2, Insightful

      It's just not trendy to knock on Slackware, so everyone targets Gentoo.

      Some people also love to ignore advances that are made. The article mentions how long it took to install Gentoo. He claims that there was not an installer when he performed his installation more than a year ago. This is false. There was an installer, but it was considered experimental. Since then, the installer has become the de facto installation method on x86/amd64 and will be the default method on other architectures as support is added for them.

      As for updates, who in the world out there has a ton of servers, then compiles on all of them? What is this guy smoking and where can I get some? Does he not realize that you can upgrade only what you want? There's nothing forcing you to upgrade the entire system. Hell, there's nothing forcing you to ever update the portage tree on your servers.

      Any place where I'm ending up with more than one or two Gentoo boxes, I setup a local "master" server. This server will host my portage tree, which I don't update. It will also host my overlay. I update packages and add my own packages in this overlay. I build binary packages on this "master" server and distribute them to my servers. This really isn't a hard concept. It also isn't much different than the sort of thing that any sane administrator would do with any distribution. You don't just blindly run Red Hat updates, do you?

      I think the biggest problem here is one of perception. People seem to ignore that when you buy Red Hat/SuSE, you are buying a product. You're buying support and service. With Gentoo, you're "buying" a toolset and nothing more. It's the difference between buying a car, and getting a bunch of parts and tools. They simply aren't comparable. If you want a nice Gentoo server infrastructure, you have to build it!

      Gentoo has projects, such as the Scire project, which are designed to create a more enterprise-ready management set for Gentoo. However, this will not be a default for Gentoo, since few of our users would need it. Like everything else with Gentoo, you pick what you want from the tools provided, and you customize and tailor it to fit your needs. This entire article reads like a rant from someone who chose a tool because of its properties, then complained about those exact properties. You don't get to bitch when the "do-it-yourself" distribution asks you to do it yourself. ;]

  5. Tag: by the_mind_ · · Score: 1

    Troll

    --
    You feel sleepy. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise.
    1. Re:Tag: by Workaphobia · · Score: 1

      Then I have already failed, by replying to you.

      --
      Evidently, the key to understanding recursion is to begin by understanding recursion. The rest is easy.
  6. Depends on admin... by sparcnut · · Score: 0

    This whole article is a blatant troll. Gentoo's usability on a production server depends entirely on how you use it. It is up to the admin to manage updating software without breaking anything.

    That said, what really ticks me off about Gentoo is when they make big, sweeping changes that aren't backwards compatible. For example: modular X. I know there was plenty of warning, but when modular X went stable all of a sudden *all* packages that needed X now depended on the modular X libs. If you had monolithic X installed, anything that requires X now generates many blockers. That's just *awesome*... you are forced into installing something you shouldn't have to install. The best solution to that problem was really to put all the modular X libs in /etc/portage/profile/package.provided, but that's an ugly hack.

    --
    perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10);'
    1. Re:Depends on admin... by lintux · · Score: 1

      but when modular X went stable all of a sudden *all* packages that needed X now depended on the modular X libs.

      Dude, that's a lot better than to have all those packages depend on non-modular X packages that don't exist anymore. Actually I'd almost say I'm impressed that they managed to update all those dependencies so quickly. Although depending on both (OR, not AND) would be better, of course...

  7. Out of Context by yamamushi · · Score: 1
    I run gentoo on my servers (3 of them), and yes Gentoo may be harmful if you don't know what you're doing. If you're the the kind of person who updates everyday, and stays bleeding edge, it's relatively easy to bring down your own server for a good couple of hours to a few days.



    But if you have a good schedule for when you want to update your system, it's as good as any other linux distro out there. What this guy wanted was probably something like Redhat, or Debian (don't nitpick). I don't run enterprise servers, I run basic gaming/radio/website setups, the website server is updated once every 4 days, but I don't get a lot of traffic, and I can afford to have my system come down for a few hours while I figure out what is going wrong.


    My gaming server is my testbed, since I update that once a day, if something goes wrong I don't mind digging into it to figure out what went wrong, this usually helps me keep the other sites from screwing up when they update, and I can troubleshoot problems on them before they happen.


    Regardless of what you run, there is going to be downtime associated with your distro, and gentoo is no exception. If the guy who wrote this article had any experience with Gentoo, he'd know the hardships that come with it. I'd never reccommend someone to use Gentoo as their server operating system if they've never used it, even if they've had a few months using it, but that doesn't mean it's a bad choice for a server operating system.

    --
    - Aetheral Research -
    1. Re:Out of Context by azuretek · · Score: 1

      That's funny because I run CentOS and FreeBSD on my servers and I never have to deal with downtime. Though if I want to fix kernel security issue I'll schedule maybe an hour of downtime and in reality only have a max of 5 minutes (the time it takes to reboot)

      To each his own I suppose, I personally can't afford to screw around with confs and such while a server is down, 99.99% uptime is important to me.

  8. And?? by friedmud · · Score: 4, Informative

    "I firmly believe in updating server software only when you need to. If you don't need new features, and things are working, why change anything?"

    I agree... so why does this preclude using Gentoo?

    Just because you _can_ update all the time doesn't mean you should. I've used gentoo for various purposes (server, desktop, laptop). What I usually do is get it setup and install all the packages I need and then leave it for a _long_ time... only upgrading packages that I either need the new capability of or for security purposes.

    Look... I personally don't think Gentoo is the best server OS out there... but I also don't think that just because the package system makes it really easy to tinker with the system that Gentoo is inherently unstable...

    Friedmud

    1. Re:And?? by Anonymous Coward · · Score: 0

      You're retarded. Gentoo doesn't let you get only security updates to old packages, which are sometimes backported by the distro-makers themselves. That's what all the enterprise distros and Debian get you.

    2. Re:And?? by lintux · · Score: 1

      Just because you _can_ update all the time doesn't mean you should.

      From what I have heard, it does mean that. Not updating a Gentoy box for half a year or even longer often means that any attempt to upgrade it will be hard and painful.

    3. Re:And?? by kashani · · Score: 1

      Totally agree and wrote some of my own experiences up on the Gentoo forum.

      http://forums.gentoo.org/viewtopic-t-504541.html

      kashani

      --
      - Why is the ninja... so deadly?
  9. Part of "article" not quite correct. by michrech · · Score: 4, Informative

    There is no 'stable' version of Gentoo. Gentoo is rather a moving target where emerge will forever cause your system to approach the cutting edge.

    Yea. Not quite. This is what the "ACCEPT_KEYWORDS=" setting in make.conf is for. If you don't have it set, you get "stable" packages. If you do have it set, you get the unstable stuff.

    Further, with the use of the files in /etc/portage, you can have a stable system, but have one or more packages be unstable without having it a system-wide setting.

    Haven't read the rest yet, but wanted to point that out.

    --
    bork bork bork!
    1. Re:Part of "article" not quite correct. by sethawoolley · · Score: 1

      if you don't have actual branches, you get version creep, even if you do that.

      This is the main reason I use sourcemage, which is source-based, has all the package management capabilities of gentoo (but easier), and has actual branches.

      I run servers on the stable branch.

    2. Re:Part of "article" not quite correct. by ensignyu · · Score: 1

      Setting ACCEPT_KEYWORDS is playing with fire anyways. You're guaranteed to run into problems if you do that.

    3. Re:Part of "article" not quite correct. by zsau · · Score: 1

      By referring to there being "no 'stable' version of Gentoo", the author was not talking about having stable packages, but having stable package versions. e.g. with Debian Stable, packages don't change version. When a security hole is discovered, they patch the version in Stable, backporting it from upstream if necessary & convenient. (This is a large part of where the disagreement between Mozilla and Debian stems: Debian wants to keep packages at the same version for years at a time, Mozilla wants everyone to use the latest stable version.)

      This is a part of why I switched away from Gentoo eventually to Debian; I got sick of dealing with package versions changing. I want a secure and easy-to-manage desktop, not one with all the latest stable packages. (Also because it was easier to get Debian working on all my sometimes esoteric hardware than Gentoo.)

      --
      Look out!
    4. Re:Part of "article" not quite correct. by Anonymous Coward · · Score: 0

      Gentoo's definition of "stable" seems to differ from everyone else's, though. In Gentoo it seems that if no-one's complained about a package that's been marked unstable for a while it'll automatically get promoted to stable without any guarantee that anyone has actually tested the new version at all.

    5. Re:Part of "article" not quite correct. by wolf31o2 · · Score: 1

      What?

      Have you ever used Gentoo? I will tell you that it is, in fact, the exact opposite. Packages will remain in our testing branch until the package maintainers or users request it become stable. At that point, it is tested by the various architecture teams and stabilized on each architecture individually based on the testing. Packages are never automatically promoted to stable.

  10. It's a dirty job by Joebert · · Score: 1

    If nobody had "bleeding edge" software running, how would anyone know when it was ready to use ?

    This person is obviously no pioneer, & exhibits the same attitude described in the "Stale Tech" article on Slashdot awhile ago.

    --
    Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    1. Re:It's a dirty job by Anonymous Coward · · Score: 0

      > If nobody had "bleeding edge" software running, how would anyone know when it was ready to use ?

      Gosh, I dunno, a QA process? Naw, that's just not l33t enough.

    2. Re:It's a dirty job by VGPowerlord · · Score: 5, Insightful

      Servers are not the place for bleeding tech. Servers are the place for stability.

      That is, unless you really dislike your customers that much, be they actual customers or other divisions in your business.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    3. Re:It's a dirty job by Joebert · · Score: 1

      I suppose new stuff just magicly appears all rock solid like, it's not like it needs to be tested in a real world setting before everyone else starts to use it, right ?

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    4. Re:It's a dirty job by Anonymous Coward · · Score: 0

      It is better to allow developers and casual users (who only lose time, not money or prestege) tread through the land mine field than servers.

      Yes, they might not find everything, but they'll still probably discover something you're happy you didn't.

    5. Re:It's a dirty job by jnieuwen · · Score: 1

      No, that is why for serious environments you have a development, test, acceptance and time travel environment. Only when an application or change makes it through all those stages without problems it is ready to be put onto the production environment. If a problem is detected in one of these stages it should be fixed and the test process start over again.

    6. Re:It's a dirty job by Joebert · · Score: 1

      Is the time travel enviroment what makes it go back to square one ?
      I'm confused.

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    7. Re:It's a dirty job by jnieuwen · · Score: 1

      No, the time travel environment is an environment to test with date settings. I.e. what happens with your software in leap years etc.

    8. Re:It's a dirty job by caluml · · Score: 1

      So only emerge stable versions of software that you know are safe. Why would my compiled binary of postgres/apache/ssh/bash be any different to the Redhat/Debian version if I use the same versions, the same GCC, no crazy CFLAGS the same Glibc, etc?

    9. Re:It's a dirty job by Joebert · · Score: 1

      Isn't that what planning is for though ?

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    10. Re:It's a dirty job by Spudds · · Score: 1

      That's true as long as "stability" isn't synonymous with "> 6 month old software" which has been the problem with distros like debian.

          It's the old admin vs. programmer issue.
          Admins (I am one) want their stuff stable so they're not always dealing with issues.
          Programmers (I am one) want [need] the latest functionality to be as productive as possible (or to be able to do their job at all in some instances)

          The trick is to find the middle ground. Just because something is "newer" doesn't mean it's bleeding edge or unstable. Of course, you also wouldn't go throwing on the very latest release of a distro the day it comes out.

  11. Not for me! by MarkRose · · Score: 4, Funny

    I certainly wouldn't want a Gentoo on my servers. Sure, it wouldn't weigh much, but think of the poop you'd have to clean up!

    --
    Be relentless!
  12. I use to run Gentoo on a Personal Server by asv108 · · Score: 3, Interesting
    I had a colo box that ran gentoo. Then one day, a standard stable package update broke mysql.

    * MySQL DATADIR is /var/lib/mysql * Previous datadir found, it's YOUR job to change * ownership and have care of it * Sorry, plain up/downgrade between different version of MySQL is (still) * un-supported.

    I vowed never to use Gentoo again, and promptly moved that machine to Debian. I use to run Gentoo on all my desktop machines in the pre-ubuntu days, because it had the most bleeding edge desktop packages and optimizations. After Ubuntu came on the seen, Gentoo had no advantage for me. Its still a great learning too though. I highly recommend for aspiring Linux geeks.

    1. Re:I use to run Gentoo on a Personal Server by robbyt · · Score: 1

      hrmm you might want to try a little RTFM now and then?
      http://www.gentoo.org/doc/en/mysql-upgrading.xml

    2. Re:I use to run Gentoo on a Personal Server by paulmer2003 · · Score: 1

      You should have masked mysql. If you are running a server with important things running you also need to consider every emerge when you do it. Learn to always emerge -av things.

    3. Re:I use to run Gentoo on a Personal Server by Anonymous Coward · · Score: 0

      Don't imply that that isn't ridiculous error message. Other distros handle upgrading MySQL without admin intervention. Your comment doesn't refute the idea that Gentoo isn't real server-worthy framework. If you think you can block a db sw team by having a broken MySQL service while you dick around with config files when another distro could have done the job automated & cleanly you're sorely mistaken.

    4. Re:I use to run Gentoo on a Personal Server by RzUpAnmsCwrds · · Score: 2, Insightful

      You should have masked mysql. If you are running a server with important things running you also need to consider every emerge when you do it. Learn to always emerge -av things.
      No, I should run a distro where I don't have to be on the defense against stupid design choices. I should choose a distro where stable really means stable.

      I know that apt-get update && apt-get dist-upgrade (on Debian Stable) is unlikely to break anything. Testing is still prudent, but you know that nothing so insanely stupid as an incompatible database upgrade is going to occur. PHP4 and PHP5, for example, are separate packages in Debian. So are MySQL 4 and MySQL 5, Apache and Apache2, and any other package with significantly different versions. Running updates doesn't drastically change your environment. That's a good thing.
    5. Re:I use to run Gentoo on a Personal Server by BKX · · Score: 1

      Really, AC? While minor version upgrades of mysql are no doubt handled, major upgrades are probably a different story. This is because the database format likes to change between major versions. The process of upgrading requires full access to your database, which is something even root might not have, hence the reason Gentoo doesn't try to do the upgrade for you.

    6. Re:I use to run Gentoo on a Personal Server by kashani · · Score: 1

      Please name this uber distro that automatically upgrades your database between major versions without borking your data. Something that Postgres, Mysql, and ever db vendor on the planet suggests does not ever work and is pretty much guaranteed to lose data.

      kashani

      --
      - Why is the ninja... so deadly?
    7. Re:I use to run Gentoo on a Personal Server by Des+Herriott · · Score: 2, Insightful

      A major mysql update should certainly not be done without planning. However, the OP's point was that a standard stabe update included a major mysql upgrade which broke his functionality. If that's indeed the case, there is something very wrong with the way Gentoo manages its packages, and exactly why you wouldn't want it running on any kind of production system.

    8. Re:I use to run Gentoo on a Personal Server by jimicus · · Score: 2, Insightful

      See, this is where things are slightly different with Gentoo versus any other Linux distribution.

      There's no such thing as "Gentoo Version 3" or whatever. A package is marked stable after it is deemed to be... well, stable. Gentoo does have a mechanism whereby you can ask it to tell you what it proposes to update before it actually goes away and does it (emerge -p), and on any system this is exactly what you should use to make sure you're not trying to do a major update on your database.

      The one issue here (and it's open to debate whether or not it's an issue) is that portage is designed with a more traditional Unix mindset - a mindset which says "the operator knows best, if they're telling the computer to do something then the computer should do it unless it's physically impossible, regardless of how silly it may seem".

    9. Re:I use to run Gentoo on a Personal Server by jimicus · · Score: 0, Flamebait

      So, presumably, your versions of rm, chmod, chown, chgrp and mv always prompt you before they change anything?

    10. Re:I use to run Gentoo on a Personal Server by caluml · · Score: 2, Insightful

      mysqldump, stop mysql, unmerge it, emerge new version, and restore?

      Anyway, it sounds like you're blaming Gentoo for something that is MySQL's fault. (Assuming that the format was changed, and not just the db dir location). It's probably because you went from 3.x to 4.x or similar.

    11. Re:I use to run Gentoo on a Personal Server by shutdown+-p+now · · Score: 0, Flamebait

      There's no such thing as "Gentoo Version 3" or whatever.
      ... and that alone is already enough to disqualify Gentoo from production environment.
    12. Re:I use to run Gentoo on a Personal Server by sofla · · Score: 1

      You're right. I'd much rather have a server that has to be rebuilt from scratch (new partition, new OS install, re-install all the applications, try to remember all your config tweaks, then migrate the user data and hope they don't mind their profiles being borked) than a system that will just upgrade the existing software for me. NOT !

      I used to use Mandrake (now Mandriva) starting from Mandrake 7 I think it was. Two OS upgrades later I switched. The OS upgrade NEVER worked - each 'upgrade' made the system more and more unstable. Then a coworker recommended Gentoo, with its promise of "our users never worry about version upgrades", which seemed like a godsend. And so far it has been. Sure, updating can be a pain - I usually set aside a weekend of downtime to do it, and do it on a test box first (never on a production box, what are you mad???!!!) - but, more often than not, its not the fault of the package system but the packages themselves (modular X anyone?). Gentoo tends to make you more aware of the incompatibilities in the packages you're upgrading, which to me is a good thing.

    13. Re:I use to run Gentoo on a Personal Server by kashani · · Score: 1

      This is the operators failure to understand Gentoo. It's true Gentoo does assume that you always want to upgrade. However if it does provide an easy system to stop upgrades, only upgrade in the current code train, and half a dozen other options. Chances are the original poster did a Mysql 4.0 to Mysql 4.1 or Mysql 4.1 to Mysql 5.0 upgrade both of which are major version jumps though the upgrade to 5.0 is a bit more intrusive. In Gentoo you can stop this upgrade by adding a single line to your /etc/portage/package.mask

      >=dev-db/mysql-5

      Now you'll get all the updates to 4.1, but never update to 5.0. You can even lock it down to a particular version, but allow minor bug fix revisions if they are released.

      The great thing about Gentoo is that I can use Mysql 4.0, 4.1, or 5.0 on the whole system if I need it without having to do the Redhat dance of "lib-sasl-mysql needs Mysql-4.1" when attempting to install Mysql 5.0 or use Mysql 5.0 client lib functionality.

      kashani

      --
      - Why is the ninja... so deadly?
    14. Re:I use to run Gentoo on a Personal Server by ahodgson · · Score: 1

      It's a very deliberate design choice. One you bought into when you installed Gentoo on a server. If you don't want things to change, then obviously you should be running CentOS or something similar, where only security problems are patched.

      I have one server running Gentoo, and that's on purpose, because I want it to have the latest dev toys. Everything else runs CentOS.

  13. Agreed. by MrNaz · · Score: 5, Interesting

    I have been a server admin for web/database for about 3 years now. I agree that bleeding edge is *not* where server admins want to be. There's a reason that Debian is widely considered the best server OS despite being rather far behind the bleeding edge. Tried and tested is better than the latest and greatest when you rely on the machine being up. It's also worth noting that the military doesn't use any COTS technology within 5 years of it being released.

    --
    I hate printers.
    1. Re:Agreed. by Anonymous Coward · · Score: 0

      It's also worth noting that the military doesn't use any COTS technology within 5 years of it being released.

      What military would that be? It's not true for the USA military, and that's the usual country in question when somebody is arrogant enough to assume everybody knows what country they are from.

    2. Re:Agreed. by MrNaz · · Score: 1

      I'm referring to the US military, and before you get all indignant about the US military being high tech and cutting edge please note the "COTS" in my sentence. Sure, military designed hardware is cutting edge, but they never use consumer grade stuff off the shelf unless it has years of testing in the real world behind it. There's a difference between stuff designed to be "consumer grade" and "military grade". Consumer grade stuff only gets integrated into military systems when they can be dead sure it's not going to go berserk at the worst possible moment. A CPU throwing in a floating point error that causes a fire trajectory to be out on a naval gun can make the difference between winning and losing a battle.

      --
      I hate printers.
    3. Re:Agreed. by Anonymous Coward · · Score: 1, Interesting

      Actually, I was thinking of one case in particular, the USS Yorktown, which made the news in 1997 for being dead in the water because their systems crashed. It was reported that they were running Windows NT 4.0, which was released in 1996, making it a year old when the USS Yorktown incident happened.

    4. Re:Agreed. by pasamio · · Score: 1

      Probably explains where the policy now stems from then, they would hate for it to happen again.

      --
      I always wondered where this setting was...
  14. The Problem With Gentoo... by mattdev121 · · Score: 5, Insightful
    The problem with Gentoo Linux is not the system itself, it's the stereotypes that people put against it.

    Gentoo is only good for ricers, Gentoo is bleeding edge and unstable, Gentoo is only good for X deployment

    The truth about Gentoo is that it is not really a distribution. Gentoo Linux does not make "releases" and it does not aim to cover one area of the market alone.

    In Gentoo's packaging system, called portage, the aim is not only to provide up-to-the-minute packages (which it does) but also to provide a wide variety of both tested and verified "stable" packages as well as more bleeding-edge, testing packages.

    This, along with a properly configured make.conf and /etc/portage file system, allows you to pull down the packages you want that have been verified as stable (and are also under watch by the Gentoo security project) and keep track of their libraries with revdep-rebuild.

    Stop branding Gentoo with stereotypes that label it as X distribution, the project even calls itself a "metadistribution" capable of dropping into multiple roles.

    --
    mattdev@server$ touch /dev/genitals
    cannot touch `/dev/genitals': Permission denied
    1. Re:The Problem With Gentoo... by RzUpAnmsCwrds · · Score: 1

      The problem with Gentoo Linux is not the system itself, it's the stereotypes that people put against it.
      The problem with Gentoo is that Gentoo users assume that most people care about configuration options. They assume that people want the most up-to-date packages. They assume that there's no reason to have stable, long-term supported releases.

      The vast majority of the market wants something that's not a moving target. I can install Debian or CentOS, keep it up to date with yum or apt-get, and never worry about something breaking because a new version of some package was installed.

      I'm sure you can do this with Gentoo. But that's not the point. I don't want a distro that makes more work for me. I don't want to "keep track of their libraries with revdep-rebuild". I don't want to screw around with make.conf or /etc/portage.

      ISVs don't want everyone to be running different binaries. It's hard enough to debug without having to worry that one of your customers has changed their compile flags for glibc.
    2. Re:The Problem With Gentoo... by ben+there... · · Score: 1

      Gentoo Linux does not make "releases" and it does not aim to cover one area of the market alone.
      Gentoo does make releases though. Those are the profiles you have to switch every 6 months to a year when you're upgrading. 2006.1 is the latest release. If you ran that, you'd be getting the same "release" thousands of other people are getting on their Live CD / base install. I suppose if you ran it on a server, you could just apply security updates and you've got the same "stable release" as other distros. Or simply use portage correctly with "emerge -p world" to see what is new, then specific "emerge mysql", "emerge apache", etc when you actually want to update something. But then you wouldn't have a good flamebait article.
    3. Re:The Problem With Gentoo... by wolf31o2 · · Score: 3, Insightful

      The problem with Gentoo is that Gentoo users assume that most people care about configuration options. They assume that people want the most up-to-date packages. They assume that there's no reason to have stable, long-term supported releases.

      Huh? We assume no such thing. In fact, we really don't care what "most people" want, at all. We make no assumptions about support. It is Gentoo detractors who tend to claim that we do. We don't. What we care about is making Gentoo. If Gentoo doesn't fit your needs, don't friggin' use it! Trust me, you won't hurt our feelings. If you think Debian is better, use it. If you think Windows is better, use it. You aren't harming us in any way by using what you feel is the best tool for the job. In fact, that is exactly what we try to give to our users. We give them a set of tools to allow them to build what they want.

      I think the biggest issue is that people seem to have this closed-minded view of software and Gentoo. They're stuck in this way of thinking that lends towards doing what the vendor tells you to do. They run Red Hat. They run Debian. They don't think that you can build what you want. Gentoo provides the tools to do just that. For many of my clients, I have built custom Gentoo-based distributions. What they get themselves is slightly different than Gentoo. They get pre-compiled packages. They get a very nice Internet-based update system for these packages. They don't jump into make.conf, at all. They don't need to make these kind of changes. Instead, I have built a custom distribution with the software that the customer wants on it. They install it from CD, and it has exactly what they want on it and nothing else. Gentoo is the tool that builds this system. I am using Gentoo as it was intended, to build exactly what I want. People tend to forget that it is impossible to make something that fits every need. Rather than try to do so, like other distributions do, we instead provide the tools to allow you to build it on your own. It's a completely different philosophy, which is why I understand that so many people simply don't get it.

  15. Redhat 6.2 by flyingfsck · · Score: 5, Funny

    Don't fix it if it ain't broke: up 292 days, 22:26 The reason for the short uptime, is PSU upgrades...

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
    1. Re:Redhat 6.2 by suso · · Score: 2, Insightful

      I ran RedHat 6.2....... 8 years ago. Dude, that's not too cool. IMHO, that was back when there were some more serious remote exploits.

    2. Re:Redhat 6.2 by Jacer · · Score: 1

      Amazing! RedHat 6.2 was my first linux distro ever, and after my second time getting rooted, I started to dig around a whole bunch. I feel it's flaws are the only reason I know anything about linux....

      --
      --fetch daddy's blue fright wig, i must be handsome when i release my rage
    3. Re:Redhat 6.2 by Anonymous Coward · · Score: 1, Funny

      I'm still running Redhat 6.2. I't my firewall box and it's stable as all hell. No hacks. No root kits. Pure security through and through. ALl I had to do was strip it down to the core and rebuild it every few months. It's on Linux kernel 2.6.16 right now and everything on it is updated to the latest modern stuff. So don't tell me it's not possible to have a secure and stable Redhat. Just shut the hell up with your ignorant lies. Oh... and I run Gentoo on 15 servers at work. Just keep 'em up to date and there's no problems.

    4. Re:Redhat 6.2 by Blkdeath · · Score: 3, Interesting

      Don't fix it if it ain't broke: up 292 days, 22:26 The reason for the short uptime, is PSU upgrades...

      My Gentoo system was up 309 days before I realized that the PSU fan had stopped turning and the motherboard overheated and blew 6 capacitors which is why the clock got so far out of sync (the computer thought it was April when I rebooted it back in November) which explains the graph weirdness.

      Prior to that I had an uptime well over 200 days ruined by a blackout that outlasted my UPS.

      I perform updates here and there on my server periodically and perform a full-scale "bleeding edge" upgrade whenever I'm forced to reboot the machine.

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    5. Re:Redhat 6.2 by dmayle · · Score: 2, Interesting

      I've got to admit, I've got a relatively short uptime right now on Gentoo, only 98 days, 15:27. (There was a power outage due to a storm.) But in that time, I've upgraded versions of asterisk, postgresql, apache, squid, samba, PHP, and mythTV. I've also recompiled the system using a new compiler, and the only service downtime I had was when the recompile of PHP was finished, merging it in crashed Apache. Total downtime? Less than 15 minutes. Now this is a home server, and I wouldn't be nearly so aggressive on a production machine.

      I've got a production Gentoo server running Xen (I use custom CFLAGS to remove thread local storage, which makes for a HUGE improvement for xen virtual machines.) I have duplicates of the production virtual servers which are upgraded while out of circulation, and when tested, they are placed into live circulation, and the live machines are pulled out of service.

      While people can complain about being able to shoot their own feet with Gentoo, I've never seen someone take a Redhat server from 6.2 up to Fedora Core without having to completely reinstall.

    6. Re:Redhat 6.2 by pipatron · · Score: 3, Funny

      Dude, install NTP. Then you could have kept the machine going without those useless capacitors!

      --
      c++; /* this makes c bigger but returns the old value */
    7. Re:Redhat 6.2 by cortana · · Score: 3, Funny

      Are you kidding? This reminds me of the old adage about the 20 year old broom. 7 new handles and 12 new brushes and it still cleans as well as it did when it was new. :)

    8. Re:Redhat 6.2 by Hal_Porter · · Score: 1

      Dude, lots of people in third world countries depend on unpatched Red Hat 6.2 boxes for their Linux needs. He's happy with his box, and so are they. Why spoil it?

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    9. Re:Redhat 6.2 by srussell · · Score: 1

      Don't fix it if it ain't broke: up 292 days, 22:26 The reason for the short uptime, is PSU upgrades...
      I can say the same thing about Gentoo, though. We hit 380 days of uptime on our Gentoo server the last time before we had to replace a hard drive. And, yes, that's with occasional, but fairly rare, software updates.

      I'm baffled by the number of people who seem to have trouble with Gentoo. In my experience, as long as you keep the tilde keywords out of your make.conf and don't just blindly use "-U", Gentoo packages require fewer dependency upgrades than RPM. I use Gentoo on my servers and laptops, and CentOS (RPM) at work, and I have more trouble with updates triggering deep dependency cascades on the CentOS box than on the Gentoo boxes. Heck, I get uptimes in weeks on my laptop, and I've got "~x86" in there and upgrade that every couple of days or so on that.

      I must just be exceptionally smart. Or lucky.

      --- SER

  16. some truth, but for many Gentoo is appropriate by Anonymous Coward · · Score: 5, Interesting

    First of all, I find it interesting that FreeBSD never seems to get these complaints and hate about having to recompile packages with portupgrade all the time, and being able to tweak the flags, etc. In this respect, it's just like gentoo!!! Except without a lot of the fancy features like etc-update and slots and masking and multiple supported versions. Yes, the "base system" is more stable on FreeBSD (which is both a blessing and curse), but what is it about Gentoo that attracts so many haters/inexperienced admins, hmm??

    Anyway, I run Gentoo on servers. (Also FreeBSD). I think it's great. I can't stand stuff like Red Hat, which makes it difficult to customize anything, so I'd always resort to installing stuff "by hand", which was a huge pain. Or creating a custom RPM, which was an even bigger pain (RPM is basically a huge clusterfuck in general).

    Being able to set up ebuild "overlays" is great. Being able to set up custom profiles that contain all the software needed for a particular app is great. Writing ebuilds is a piece of cake. Turning on/off various features system-wide is very helpful. The mechanism for merging configs (etc-update or dispatch-conf) is nice. Being able to pin down specific versions with masking is good. Etc. For the record, I've never tweaked the CFLAGS in my life.. that's just not why I use Gentoo.

    The author writes this:

    A profile update will touch a very large number of configuration files, and it may even alter your startup process. Obviously this is not something you want to do to any server. ................. The end result: the machine had to be resuscitated on-site with associated downtime.

    I have no idea what happened to him. Updating your profile is basically moving a symlink, which changes some lists of base packages and other high-level build configuration. It doesn't "touch" anything in your system. Sure, you have to some upgrades afterwards, but you have to do that regularly anyway on Gentoo. Compare it to upgrading FreeBSD from 5.x to 6.x, which is much more involved.

    As you might be aware, FreeBSD has a nice little program called portaudit........... Now, Gentoo also has something like portupgrade. What it doesn?t have is portaudit. ............ In all fairness, Gentoo has an experimental command called "glsa-check".

    I've been using glsa-check for a while now, it works great. It tells me what's got known holes and I just update those packages, and their dependencies. What problem did he have with it, besides the "experimental" status? Yeah it can "do stuff", but I don't use those options, I just use it to get a list of packages with known holes. Heck I could probably write a script to do the very same thing.

    Suppose you need to patch one of your installed packages by the way.. it's very easy to create custom ebuilds on Gentoo. Sometimes I plug security holes that I've found on my own for instance.

    I have a simple strategy with Gentoo servers: keep an identical test/staging server nearby and do your updates on that machine first. Run your application tests and then upgrade the production machine. If you want, build binary packages on the staging machine. I would do this even with Red Hat, Debian, etc.

    Another point: I've NEVER run "emerge -u world". I always do the packages in small groups or chunks and then updated configs, restarted daemons, and run tests after each one. This seems like a much better strategy than what some people do.

    Also, I gotta say, it's probably not a good idea to run Gentoo on a production server unless you've got at least 5 years of Linux admin under your built. You also need to FOLLOW the Gentoo newsletter, AT LEAST, so you can get a heads-up when config files change or files are moved around. It happens from time to time.

    Really, the only valid point he makes that generalizes to servers other than his own is the following: Gentoo takes more time to keep running. But you have to weigh that against the flexibility you get, just like any "build vs. buy" decision.

    1. Re:some truth, but for many Gentoo is appropriate by level_headed_midwest · · Score: 1

      Gentoo's portage was modeled after BSD ports. The similarities are intentional :D

      --
      Just "gittin-r-done," day after day.
    2. Re:some truth, but for many Gentoo is appropriate by mikemcc · · Score: 3, Interesting

      You wrote, "First of all, I find it interesting that FreeBSD never seems to get these complaints and hate about having to recompile packages with portupgrade all the time, and being able to tweak the flags, etc. In this respect, it's just like gentoo!!!."

      As was pointed out in an earlier post, gentoo is a meta-distribution, whereas FreeBSD is complete operating system. Overall, the "FreeBSD experience" is significantly different from the "Gentoo experience." FreeBSD feels much more polished, and is therefore less likely to produce frustrated blog entries.

      I administer Gentoo, FreeBSD, and RHEL boxes, and have several years of Solaris experience. There is a lot to like about gentoo but the final point that you acknowledge, "Gentoo takes more time to keep running," is extremely important, and worth elaborating on in a whole paragraph of its own.

      It does require more time and effort to build a gentoo box in the first place; it take more time/effort to provide a secure environment (glsa-check is still in beta, for good reasons); it requires more time/effort to ensure that your dev, staging, and production environments are all in sync. Yes, it can be done, and quite elegantly, but it costs more (time == money) to do that on gentoo than using other solutions.

      That is the core frustration of every negative gentoo review that I've read. The most common counter-argument to those complaints boils down to, "You just haven't spent enough time to appreciate the elegant beauty that is gentoo." Allow me to offer a counter-counter-argument.

      Once upon a time, I took the time to fully appreciate the beauty that is emacs. I accepted the truism that emacs doesn't meet you halfway, that you have to go to emacs; I read books on the subject; I made it my default editor; I created a highly customized .emacs file; I got tired of pushing my customzied .emacs file, and all associated libraries, onto every new machine; my pinkies started to hurt all the time; and I noticed that when I was REALLY in a hurry I used vi. Eventually I just stopped using emacs.

      I think of gentoo as the "emacs" of operating systems - really cool, but with a high pain threshold before the cool starts paying for itself.

    3. Re:some truth, but for many Gentoo is appropriate by Anonymous Coward · · Score: 0

      The problem with Gentoo is not that one can't have it work well on a server for the long term, but more the effort required to keep it running smoothly compared to the alternatives.

      My first Gentoo install was for a desktop in 2005. I decided on a stage1 install cause that's the kind of person I am.
      The install went along for some hours until it crapped out compiling Python. All of Gentoo depends on Python, so the install could not continue until I had found and fixed the bug. Not only did I need to fix the bug, I then needed to learn about the portage system without having an installation to help me in order to have the system recognise my changes to the python package.

      I enjoy playing with systems and fixing problems, thus I managed to overcome this MAJOR hurdle to having a Gentoo system. However, how many people are going to be bitten by stupid Gentoo commiters who break the system? Why should admins have to fix problems such as this?

      My other main gripe with Gentoo (and most other Linux distros) is the horrendously out of date manual pages.

    4. Re:some truth, but for many Gentoo is appropriate by drmerope · · Score: 2, Insightful

      Having run both FreeBSD and Gentoo systems, I think you're missing the obvious reason for why people are more satisified with FreeBSD: it is precisely because it doesn't have: "slots and masking and multiple supported versions". Okay, wait. It does have multiple supported versions, although rarely.

      The problem with USE flags is that every Gentoo build environment is __too__ unique. With FreeBSD, everyone is running, debugging, and fixing the same stuff. Consequently, most of the ports build & work together out of the box.

      I've come to the conclusion that Gentoo is solving a problem that plagued the OSS community in the '90s.

      Major 'server' software is usually known stable within a month of its release and is usually incorporated into FreeBSD ports with a corresponding lag--except when driven by security issues. The mentality is that everything in ports should 'work'. Instability and brokenness is frowned upon and not excused by allowing somethings to be classified as unstable. When differences of opinion exist about versions (e.g., firefox15 and firefox2) the name space is split, but this is only tolerated when people genuinely disagree as to which is better.

      In the end: FreeBSD => less choice. Less choice => more consistency. More consistency => easier administration.

      Obviously there can be too little choice at some extreme, but generally FreeBSD saves admin time by adopting some degree of simplicity and uniformity.

    5. Re:some truth, but for many Gentoo is appropriate by siwelwerd · · Score: 1
      What problem did he have with it, besides the "experimental" status?

      I don't know about him, but it tries to convince me every once in a while that a package needs an update when it doesn't. For example, it thinkgs gnupg is at 1.4.4 and needs to be at 1.4.5-r2 when it's actually at 1.9.21. I haven't ruled out the possibility of pilot error, but it's certainly possible that he had similar issues.

    6. Re:some truth, but for many Gentoo is appropriate by MadAhab · · Score: 1

      I agree with this very much.

      One can argue ad infinitum about what's a better overall approach - don't touch a damn thing, or stay relatively up to date. They both have problems - if

      Don't even get me started about RedHat or Fedora or Asshat or whatever it is now. I need build customizations with some regularity, so binary releases are right out, and I occasionally need new software features. So the general Linux distro approach of having all your software tied to the same distro release number (excepting security updates, say) (and binary packages) just doesn't work for me at all. Why should I be stuck with Postgres 7.3 just because I installed the machine N years ago, or else decay into hand-compiles, or else wipe the thing clean? I've put in new disks and need tablespaces.

      With FreeBSD, I find it easy to stay relatively up to date with ports, and easy to not touch a damn thing with the base OS. Kinda the best of both worlds. And this works pretty nicely both on servers *and* my laptop. Only patchy thing left is, say, updating sendmail for some security issue, and binary updates to the OS *are* becoming more standard.

      I've always thought Gentoo looked interesting due to fixing the things that are ickly with FreeBSD's ports (I tried it once and a power failure hosed my data and I went back to FreeBSD). FreeBSD seems to manage OK with a "worse is better" benefit of ports (plus portupgrade and portaudit and portsnap!) versus emerge, which tries harder to be "correct" in many ways.

      --
      Expanding a vast wasteland since 1996.
  17. *sigh* by Ant+P. · · Score: 4, Insightful

    The article makes it sound as if gentoo installs the ~unstable profile by default. The stable one's no more bleeding-edge than Ubuntu.

    1. Re:*sigh* by notamisfit · · Score: 2, Insightful

      While stable may not be particularly bleeding-edge, it is still very dynamic, which is the point of the author's grief.

      --
      Jesus is coming -- look busy!
    2. Re:*sigh* by chamont · · Score: 2, Insightful

      It's even worse than that.

      Incidentally, I've run Gentoo for years on laptops, servers, you name it. I switched to Ubuntu about a year ago for desktops, but still use Gentoo on a server.

      What I like about Ubuntu in particular is that every six months you can pretty much EXPECT all your packages, for the most part, to be updated to the most current stable versions. With Gentoo it's so much more haphazard. Yeah, Linux itself is haphazard...right, I know. With Gentoo, however, you're tied to the maintainer of the package deciding when a new version of application X is stable. Maybe there's some formalized internal process for this, but I don't know of one. So I remember waiting for MONTHS for the latest version of KDE or Firefox when other distros were actually shipping these same versions.

      Yes, I know I can always just go unstable, but if you live on the unstable Gentoo crack too long, you'll OD sooner or later. No question about it. So I tried to stick stable, and wait and wait until finally a bug is fixed and our benevolent maintainer finally deems us worthy to receive. So even though it has a reputation of being bleeding edge, it's a lot more complicated than that.

    3. Re:*sigh* by VGPowerlord · · Score: 2, Informative

      The stable one's no more bleeding-edge than Ubuntu.
      Which is itself a fork of Debian unstable. Makes you think, doesn't it?
      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    4. Re:*sigh* by Handover+Phist · · Score: 1

      The stable one's no more bleeding-edge than Ubuntu.
      Which is somewhat bleeding edge. I'm still a Slackware guy because of that.

      (Although I yearn for a 2.6.x kernel by default)
    5. Re:*sigh* by strider44 · · Score: 3, Funny

      And I heard the Debian Stable packages are from Debian Unstable as well. That definitely makes you think!

    6. Re:*sigh* by Anonymous Coward · · Score: 0

      Well, Ubuntu's development tree is a mix of Debian unstable and experimental. But no Ubuntu release is a snapshot of that state of Debian.

      There's a freeze before a release, and it stays in deep freeze after it (no changes except security updates and critical bug fixes).

    7. Re:*sigh* by smash · · Score: 1

      I wouldn't really suggest ubuntu on a serious production server, either... desktop, no problems tho...

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    8. Re:*sigh* by Matt+Perry · · Score: 1

      The article makes it sound as if gentoo installs the ~unstable profile by default. The stable one's no more bleeding-edge than Ubuntu.
      Yeah, that's the whole point. Ubuntu is already pretty bleeding-edge, although Ubuntu 6.06 with long-term support looks like a move in the right direction. I'm reminded of this Slashdot comment when people don't understand what stable means.
      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
  18. Oh! I Guess Non-MS SW Has "Issues" Too! by Anonymous Coward · · Score: 3, Funny

    Gee!!! I thought that moving from Windows to any Linux-based anything would solve all the worlds's problems that Microsoft has caused!!!

    Where, oh where, is the standard Slashdot drivel from you sanctimonious Slashdot twits?

  19. You've got to be kidding me... by God+of+Lemmings · · Score: 4, Insightful

    There is NOTHING forcing you to "emerge world", "emerge system", and "emerge --sync" every single time Gentoo
    updates portage... Emerge flags include "--pretend", "--ask" and "--fetchonly" among several others, learn to
    use them.

    --
    Non sequitur: Your facts are uncoordinated.
    1. Re:You've got to be kidding me... by Siker · · Score: 2, Insightful

      This has been a fairly common response, and I agree in principle - I'd love never having to run that command. But like others have pointed out, this proves to be hard in the long run.

      I don't disagree with the opinion that had I known much more about Gentoo, perhaps I would have been able to eliminate more things from the system and thus update fewer packages. But do keep in mind that the intended audience of the article is people who are considering to use Gentoo for a server - not people who are already professional Gentoo users.

      These new users will only be able to rely on what the manual tells them. Here's what the manual has to say about it:

      Code Listing 14: Updating your entire system # emerge --update --deep world Since security updates also happen in packages you have not explicitly installed on your system (but that are pulled in as dependencies of other programs), it is recommended to run this command once in a while.

      If this doesn't mean what it says, I apologize, but do consider that every other new Gentoo administrator may be liable to think the same thing I did.

    2. Re:You've got to be kidding me... by WuphonsReach · · Score: 1

      Or run the Gentoo server as a Xen guest OS. Prior to running the update, take it down and snapshot it. Do the update and you can roll back if needed.

      Which is how I prefer to approach just about any OS. Be prepared to roll back on a minute's notice even if your test server said it was a no-risk upgrade.

      --
      Wolde you bothe eate your cake, and have your cake?
  20. Submitter is right... by aschoeff · · Score: 1

    ...gentoo is *the* bleeding edge distro and is proud of that. Almost every CS major at the University of Chicago has it on their Thinkpad or Powerbook.

    As for being unstable in regards to updating, I can only guess the submitter didn't configure his system correctly and allowed clearly labeled beta builds of server components into the automated upgrade queue. That's an irresponsible mistake only a newbie would make, and has nothing to do with the distro itself (or any distro for that matter).

    1. Re:Submitter is right... by Anonymous Coward · · Score: 0

      Wrong. That's Gentoo. Clueless committers break stuff all the time.
      I guess they don't realise they should test changes before committing.

  21. to each their own by siddesu · · Score: 3, Insightful

    i didn't read TF blog post, but since i saw a radical view and the word "server" in the same summary, i'll add my 2 yen here. Since we see the word "server", we assume we're talking competent system administrators here. A competent system administrator usually reads and understands the documentation of a software package before making a decision. Having read the documentation of gentoo, I can suggest at least the following ways to ensure a stable distribution:

    - one can create a copy of the source files repository
    - one can create a repository for self-compiled binary packages and install from there
    - one can use the global repositories, and still get a stable version by restricting available packages by version
    - finally, as others say, one can use the stable version.

    Since the blogger seems to have missed these obvious ways, he hasn't read the documentation, and hence is not a competent administrator, hence his opinion is not very valuable.

    1. Re:to each their own by Anonymous Coward · · Score: 0

      widespread problem this is

  22. Having not even read the article... by joto · · Score: 1

    ...I wonder where the debate stems from. Gentoo is a nice OS and all that, but it's not one that includes the features most server admins want: stability, non-intrusive security upgrades, support for commercial software, minimum hassle, minimum maintenance, and minimum surprises!

    Of course, if you absolutely want to, Gentoo is perfectly capable of running on a server. It's just not something I would use myself, or recommend to any others. People who do so, do it because they are already Gentoo fans, not because it's the system that's arguably best for their purpose.

    1. Re:Having not even read the article... by ahodgson · · Score: 1

      Of course, if you absolutely want to, Gentoo is perfectly capable of running on a server. It's just not something I would use myself, or recommend to any others. People who do so, do it because they are already Gentoo fans, not because it's the system that's arguably best for their purpose

      Sometimes you want a server that is incrementally updated, instead of every few years having to upgrade _everything_. I agree it's not common, but there are good reasons to run Gentoo on a server.

      The hardened profile is another.

    2. Re:Having not even read the article... by joto · · Score: 1

      Sometimes you want a server that is incrementally updated, instead of every few years having to upgrade _everything_. I agree it's not common, but there are good reasons to run Gentoo on a server.

      When?

      The hardened profile is another.

      OpenBSD

  23. My post to the gentoo forums by RyogaHibiki · · Score: 5, Informative

    (I posted this on the gentoo forums)

    If someone is running a server room with many live production systems where downtime must be in seconds per year, they should ALWAYS have a test environment and a production environment. Gentoo makes it extremely easy to produce this setup. Imagine if you will, this setup:

    1) Master rsync system (contains the portage sync used by all the systems)

    2) Test boxes for each role needed (perhaps you have 3 different kinds of servers, WWW, Mail, DB)

    3) Many production boxes

    What you would end up doing is creating a fairly generic gentoo install (by generic, I mean hardware independent - like i686 or whatever you feel comfortable that will be supported for the lifecycle of the servers). All production servers are identical to the test boxes at the beginning of this example and have a simple backup of the whole test environments (perhaps a large tarball saved on a separate drive). A new update is necessary for apache so you do an emerge --sync on the master rsync system. Then you rsync all the test boxes so they have the same portage tree. You then run the necessary installs on the test systems to make sure that it works, if it doesn't, then you research why and figure out if its easier to fix after the update, or if the update needs to be done differently, if you need to, you can restore the test system from the backup and start over. After you have all the test boxes running well, you can then rsync the production boxes and reproduce the steps necessary to get them updated.

    Once all this is said and done, the production boxes will all be updated successfully (and the updates were tested on the test boxes) and the test boxes will at this point have the same configuration as the production boxes. You would make a new backup of the test boxes and wait for the next time you have to do this cycle. As long as the boxes really are identical, you could even run konsole (or another xterm that allows you to send your input to multiple console windows) and perform the identical steps on all the same type of boxes (sending your update commands to 20 or even 50 servers at once).

    I'm sorry, but in any real production environment, I see NO issues with this setup. It may be a bit time consuming if you have a lot of etc-updates to do, but still, the basic update should be painless to that point.

    -Jason Pf.

    1. Re:My post to the gentoo forums by MoogMan · · Score: 1

      I'm sorry, but in any real production environment, I see NO issues with this setup.

      Paid support.

    2. Re:My post to the gentoo forums by RyogaHibiki · · Score: 1

      I'm sorry, but in any real production environment, I see NO issues with this setup.

      Paid support. I beg to differ:

      http://www.cyberlogic.ca/fr/accueil2.aspx?sortcode =1.14.17.18

      http://www.lod.com/linux-consulting.html
    3. Re:My post to the gentoo forums by Corporate+Gadfly · · Score: 1

      It may be a bit time consuming if you have a lot of etc-updates to do, but still, the basic update should be painless to that point.
      Try app-portage/cfg-update. Its an easy to use GUI & CLI alternative for etc-update with safe automatic updating functionality. Its masked right now with versions 1.7.2, 1.8.0-r3 and 1.8.0-r5 available.
      --
      Corporate Gadfly
      Jonathan Archer: the most beaten up Enterprise captain in Star Trek history
  24. Lack of support contract considered harmful by fabu10u$ · · Score: 4, Interesting

    For a true production server where downtime costs thousands or millions of dollars a minute, you need the insurance of having people to escalate to if you have a problem. If for no other reason than to CYA in a liability / management-political situation. That's the real reason not to run your production on Gentoo (though the technical problem mentioned is probably what's kept anyone serious from selling a support contract for it).

    --
    They say the mind is the first thing to ... uh, what's that saying again?
  25. I tried Gentoo, then moved to Arch by Jessehk · · Score: 1

    I'm a Linux newbie. I've run it for about 1.5 years and in that time, I've installed and used Fedora Core, Ubuntu, Gentoo, and now Arch.

    I might have just been unlucky, but I ran the so-called "stable" branch of Gentoo and on more then one occasion, ebuilds had syntax errors, program sources had undeclared variables, and gaim (which I consider to be an important desktop application) segfaulted where the unstable release did not. The advice I was getting was to emerge the unstable version. Why was the unstable branch fixing known bugs in the stable branch? Am I missing something?

    In any case, I've moved to Arch linux and I've been running it for about a week. So far, I've been extremely impressed.

    To be fair, I ran Gentoo for 2 weeks only and I've never had experience with a server, so my opinion is likely insignificant.

    1. Re:I tried Gentoo, then moved to Arch by JoshJ · · Score: 1

      Why was the unstable branch fixing known bugs in the stable branch? Am I missing something?

      I'd say you are, if you want a stable version to be getting changes made to it.

    2. Re:I tried Gentoo, then moved to Arch by Anonymous Coward · · Score: 0

      The point is, code that doesn't even compile has no business being in stable.

  26. Nonsense by loxosceles · · Score: 5, Insightful

    You say Gentoo wants to change a lot of stuff?

    Any binary distribution has two modes of updates. One is an updated package within the same release; the other is a mass-update from one release to another. Gentoo combines the two, since the distinction is artificial. What you call "changing a lot of stuff" is merely keeping packages reasonably current so that you never have to do a mass-update or complete reinstall.

    Anyone who considers the Gentoo update process too difficult either hasn't used Gentoo (upgrades are easy, and there aren't that many of them if you stick to stable x86) or has never dealt with package conflicts in binary distributions. That is the real horror I want to avoid, and I avoid it nicely by running Gentoo.

    1. Re:Nonsense by sydneyfong · · Score: 1

      Heard of Debian?

      Debian Testing/Unstable has a mode of "keeping packages reasonably current so that you never have to do a mass-update or complete reinstall." Of course, eventually stable "releases" are made, but if you stay in the Unstable branch, there are no "releases" and packages keep get updated.

      As for your "package conflicts" problem, I've used Debian extensively for years, and I've never really encountered any "package conflicts". The dependency hell problem in RPM systems was mainly due to poor release quality and intermingling of RPMs built for different distros. I doubt it's an inherent problem of binary package systems.

      --
      Don't quote me on this.
  27. Updating by MrEcho.net · · Score: 3, Insightful

    Gentoo gives you 100% control over your system and how things are built.
    It does NOT force you to do anything.

    "You will need to fix things that break in the upgrade process..." Like what?
    This past year there have been some major changes in the Linux world like:
    glibc, gcc, xorg, apache(Gentoo went to the standard) and mysql are some the things I can think off of the top of my head.
    Because of how Gentoo updates, big updates like these might break things if your not watching what your doing.
    And if your blindly updating your system and overwriting confings when you do etc-update, its your own damm fault.

    There comes a point in where a package is marked 'stable' for some distros, but if you look on the project site, its old and outdated.

    http://gentoo-install.com/

    1. Re:Updating by Anonymous Coward · · Score: 0

      Yeah but the problem with 100% (manual) control is that humans are fallible. I have a friend that runs Gentoo & talks like you. Something breaks on his box for a couple days about every 6 months. Usually the mail server configs, which has in the past dumped mail down a black hole. He takes full responsibility for losing the mail; the problem is /that's not good enough/. That seems to be the rule more than the exception with Gentoo users - they know that it's their fault when something breaks but my experiences indicate that they overestimate their ability to maintain a system with uptime equivalent to other distros. There are simply too many variables. That's why I don't trust him (who, btw, is the head sysadmin at a 200+ person company) with any of my data anymore. Before you slam him for being stupid or at fault, I agree, but it's in the choice of Gentoo to maintain a system with high uptime, not in his ability to anticipate all (and I mean ALL) the potential things that can go wrong with a system upgrade and address them so that there's no downtime, and do that continuously. Any gentoo user that claims that they haven't had service downtime other than reboot is fooling themself or a severe exception to the rule.
      Gentoo problem management is typically reactive rather than proactive; issues are documented and users are told to RTFM to fix the problems; they don't seem to get the concept of automating a task (i.e. translating a particular config script to use a new format) once and not repeating it (i.e. throughout the community). I've been running linux for 15 years and have run slews of distros, and in my opinion Gentoo is straight up the most bush league.

  28. Debian stable by Anonymous Coward · · Score: 0

    I have tried them all and the only one you can trust is Debian stable.
    Keeping it up to date is a no risk operation.
    Services are stopped and started and any config changes are explained and documented.
    Everything else is junk compared to Debian stable.
    It even still has SysV init which is a dying "Legacy UNIX" thing... so the OSX, Ubuntu, Slowlaris etc. crowds say..

    Debian GNU/Linux (stable), OpenBSD.

    1. Re:Debian stable by Schraegstrichpunkt · · Score: 2, Insightful

      [Debian stable] even still has SysV init which is a dying "Legacy UNIX" thing... so the OSX, Ubuntu, Slowlaris etc. crowds say..

      I'm a long-time Debian user, and I also think it's an ugly legacy UNIX thing. It's much better to have some sort of process supervisor that will restart crashed servers, and that will deal with dependencies in some sort of sane manner. The problem is that Debian is huge, and the amount of work required to switch to a new system would be almost equally as huge, but the benefits are comparatively small, so there's never been a push to change to something different.

      The bright side of it is, like most of the advances Debian has made, when it finally does get replaced, it'll probably be replaced with something substantially better, because anything less would be unlikely to win the support of Debian's army of volunteers.

    2. Re:Debian stable by Anonymous Coward · · Score: 0

      Debian can be as small as you like.
      If what you have works keep it.
      I try distros all the time.
      I always go back to Debian stable and OpenBSD.
      Centos is a contendor partly because of the "RHE is Linux" situation..
      There are ways of dealing with any limitations of SysV init.
      The "improvements" end up being a nightmare.
      Have you messed with Solaris SMF?
      All kinds of Foo that nobody understands.
      Sometimes one thing works other times...
      UNIX is supposed to made of small, simple, reliable components.
      Regestries and XML config files are not part of that philosophy.
      Using plain text config files that can be mangled with many tools is part of the philosophy.

    3. Re:Debian stable by totally+bogus+dude · · Score: 1

      It's much better to have some sort of process supervisor that will restart crashed servers

      This always surprises me, like "crashed servers" are such a common and everyday thing that they should just be automatically restarted as a matter of course. I think having things crash should be a bit of a nuisance, because otherwise it's never get fixed. On the other hand, automatically restarting the server makes it easier for people to get your buffer overflows to run their code. Try, try again!

      and that will deal with dependencies in some sort of sane manner

      Dependency checking sounds nice, but I'm not sure exactly when I'd make use of it. Perhaps after booting to single-user to fix a problem, but even then I'd prefer to do a full reboot (after all, the system's not much good if it fails to boot unattended). Perhaps it's because my systems don't have many depencies, other than basic stuff like "the network has to be up". On the other hand, I doubt that the feature would annoy me.

    4. Re:Debian stable by Schraegstrichpunkt · · Score: 1

      I think having things crash should be a bit of a nuisance, because otherwise it's never get fixed. On the other hand, automatically restarting the server makes it easier for people to get your buffer overflows to run their code.

      It depends on the software. One of the programs that used to die a lot for me was apcupsd, the program that manages the serial port communication with my UPS. There's no network remote access anyway, but if the program isn't running when the UPS battery goes dead, the machine won't power off properly. Another program that has died on me is Xprt (the X11 print server).

      Sometimes the problem is stupid kernel bugs (like an overactive OOM killer).

      I agree, though, that there is an extra risk involved with automatically restarting crashed network services.

  29. "Considered Harmful" considered harmful by evanbd · · Score: 1

    "Something Considered Harmful" is one of the more cliche ways to title an essay like this. Can't we come up with *slightly* better titles? Like, say, the one the blog post used?

    Anyway, it's been said far better than I could manage already, so I won't keep ranting here.
    1. Re:"Considered Harmful" considered harmful by CameronGary · · Score: 1

      Thank you ! I was going to say the exact same thing. I know that "GOTO considered harmful" is one of the seminal papers in CompSci, but enough is enough.

      I think "Considered Harmful" has jumped the shark ;-)

    2. Re:"Considered Harmful" considered harmful by ajs318 · · Score: 1

      Well, if GOTO is that harmful, why does every processor have an unconditional jump instruction? Come to think of it, they store different types of data in the same memory -- like the chef who cooks beans and peas in the same pot!

      --
      Je fume. Tu fumes. Nous fûmes!
  30. Disagreement by MrManny · · Score: 1

    I RTFA but I do not fully agree with both, the article and its information. The author seems to have fallen in love with the word "time" or the phrase "time consuming"; so much that he's willing to use it in every other sentence and/or listed as different critics.

    Now on to the containing information and my personal opinion:
    1.) "Gentoo is time consuming" - that it is, measuring between a few hours and three days (if you set up your system completely from scratch by pulling every source file like I did). But you can leave the system most of that time unattended. Also this is done once et voilá.

    2.) "Gentoo's Stability/Security Strategy: Update Everything" - wrong. That's pretty much a choice left to the end user. You don't have to run "emerge --sync && emerge --update --deep world" each and every day. Hell, I haven't synced my file server since I've set it up half a year ago and it works fine. If I ever find a reason to update a specific application, most often or not updating it won't require updating anything else on that system.

    2b.) "With Gentoo, this isn't really feasible because there is no 'stable' Gentoo release." - That's not correct. There are hardened sources intended to be.. well.. hard, as in "stable". Also all packages should be pretty much stable unless you specify the "~x86" (or whatever system you are running) keyword which will take the most bleeding edge stuff into account.

    Either the author misunderstood something or I'm completely a gentoo fanboy.

    1. Re:Disagreement by mark-t · · Score: 1

      1.) "Gentoo is time consuming" - that it is, measuring between a few hours and three days (if you set up your system completely from scratch by pulling every source file like I did). But you can leave the system most of that time unattended.
      Not a very practical solution if you actually were hoping to actually be able to _USE_ your computer anytime in the near future. Probably not so bad for people that might have a second system on hand to play with while gentoo installs and sets up, but otherwise, not very practical at all.

      2.) "Gentoo's Stability/Security Strategy: Update Everything" - wrong. That's pretty much a choice left to the end user. You don't have to run "emerge --sync && emerge --update --deep world" each and every day.
      Not every day, no... but in my experience if do it less frequently than every couple of weeks or so, the time it takes to do a deep world update after a sync is such that I can start it when I go to bed and it will still be going when I wake up in the morning. Not very helpful if I was hoping to really _use_ my computer in the morning because trying to really use my system during compiling lots of stuff makes the whole system feel gawdawful sluggish.
  31. Thats the thing.. by Anonymous Coward · · Score: 1, Insightful

    In a production eviornment you don't have time for little things like that. RTFM on every little upgrade does'nt really matter when the mysql server suddenly goes down for no reason and thousands of users get pissed off. I reccomend fedora for beginners and slackware for seasoned veterans and people wanting to know what a true linux experience is (no flames please :).. They are very solid for production enviornments. Like previous posts have said, Gentoo is a good distro, but not suitable for production. development boxes, sure.

    1. Re:Thats the thing.. by kashani · · Score: 1

      Your post is mind numbingly retarded, but I'll respond anyway.

      1. Major versions of Mysql are not minor upgrades. If you don't know this you shouldn't be running a production system that involves Mysql... or much else in my opinion.

      2. RTFM is exactly what you're paid to do as an admin and if you're not doing it before every upgrade and better yet testing the upgrades on a separate server before they break thousands of users you have only your self to blame.

      The problem in this case in not the distro it's the yutz behind the keyboard.

      kashani

      --
      - Why is the ninja... so deadly?
    2. Re:Thats the thing.. by sydneyfong · · Score: 1

      RTFM is exactly what you're paid to do as an admin and if you're not doing it before every upgrade and better yet testing the upgrades on a separate server before they break thousands of users you have only your self to blame.

      I agree I'd be a bit more cautious than the grandparent when performing major upgrades to a production system. But then not all sysadmins are full time sysadmins with no other tasks. In a small software company, the developers are sometimes the sysadmins too.

      --
      Don't quote me on this.
  32. My gentoo server... by Maljin+Jolt · · Score: 3, Funny

    ...is currently uptime 242 days. Updating daily.

    So, now when server issue has been explained exhaustingly, we can talk about my gentoo programer's desktop, gentoo electronics lab and drill machinery controller, gentoo adsl/wifi router and gentoo tv/multimedia nano-itx box.

    From my point of view, Siker is just a moron and I mean it seriously.

    --
    There you are, staring at me again.
    1. Re: My gentoo server... by jesboat · · Score: 1

      Just because things work now doesn't mean they'll work when the power / $hardware_component / kernel fails unpredictably in a few days and your computer has to reboot.

      So, 242 days puts you well before the recent udev upgrade, right. Are you sure your router's NICs will keep the same names? (JSYN, "yes" is a perfectly valid answer, and the fact that you've considered that gotcha doesn't mean you've considered them all.)

      BTW, Gentoo is my distribution of choice, but that doesn't prevent me from recognizing its shortcomings. "I mean it seriously."

    2. Re:My gentoo server... by carpe_noctem · · Score: 1

      Do you have a gentoo fanboybox, too?

      --
      "Quoting famous computer scientists out of context is the root of all evil (or at least most of it) in programming." - K
    3. Re:My gentoo server... by shad0w47 · · Score: 0

      $ uptime
        12:00:39 up 636 days, 19:10, 3 users, load average: 0.14, 0.16, 0.09

      And I updated KDE/QT recently...

      --
      "I did this cuz Linux gives me a woody"
    4. Re:My gentoo server... by Anonymous Coward · · Score: 0

      Uptimes mean nothing.

      As long as your kernel is stable enough, and X-win doesn't fsck things up by locking up my keyboard/display (this is the usual reason why I need a reboot), you really don't need a reboot.

      If a distro doesn't assume anything special from a kernel, It's actually possible to switch distros entirely without rebooting.

  33. Bukd your own binaries by whoever57 · · Score: 2

    If you have more than one server, the best way to manage updates is to have one server (preferably non-production) on which you build and install binary package updates.

    These binary updates can be pushed out to other machines and installed once any config file issues have been ironed out on your package-build machine. For extra kudos, all machines can be used as distcc-servers so that package compilation can be accelerated.

    Finally, to reduce load on gentoo's servers and to help keep the machines in sync, the machine on which the packages are built should be the only machine that syncs to Gentoo's servers. All other machines should be configured to get their portage updates from your local build machine.

    --
    The real "Libtards" are the Libertarians!
    1. Re:Bukd your own binaries by asc99c · · Score: 1

      That's only really a solution where you have multiple servers for the same services. In a lot of cases you'll have one server for services X and Y and another for Z.

    2. Re:Bukd your own binaries by TheRaven64 · · Score: 1
      So just have one test 'server' (which can be an old, decommissioned desktop for testing userland stuff), and use it to run half a dozen virtual machines, each with a mirror of one of your real servers. If you break stuff on the test server, just roll back to the last good snapshot and try again. Once stuff's working, do the upgrade on the main system.

      --
      I am TheRaven on Soylent News
    3. Re:Bukd your own binaries by caitriona81 · · Score: 3, Insightful

      It still begs the question... Should you really have to build software for a production server environment? (Yes, I know that Gentoo has the ability for binary packages, but their use seems to be actively discouraged by the culture, if not the documentation and the support channels as well.)
      Real production environments, at least at the enterprise level, are built around stable, well tested binary packages that just work, change control processes, updates that can be applied safely with minimal technical skill and minimal configuration work, environments which may have one sysadmin for every 500 servers. Server builds should be able to be left to operations staff instead of sysadmins without fear of things going wrong.
      Gentoo's strategy of bleeding edge continuous upgrades also doesn't fly in the enterprise world, which insists, for good reason, that functionality shouldn't change at all in production environments except as dictated by the organization's needs. This means that patches have to be back ported, release cycles are a requirement, and product support lifecycles are expected to be measured at least in months, preferably years. Functionality changes require a different kind of risk assessment and planning mentality in the business datacenter world than they do in the workstation world, and this is even more so with laws on the books regulating IT controls such as section 404 of the Sarbanes-Oxley act.and HIPPA in the US alone, and extensive data protection laws in other countries.
      Not to mention, the difficulty of one person rolling back changes to 500 servers in an environment built on everything compiled from source is a huge drawback.
      While I think that Gentoo is a tremendous technical achievement, it's design places it firmly in the hobbyist and developer workstation realm, and I strongly agree with the article that this leaves it no place in the datacenter for anything other than development work.

    4. Re:Bukd your own binaries by ajs318 · · Score: 3, Insightful

      Yeah, but you have to admit ..... that's getting on for as much effort as it takes to be a Distributor!

      If you want something that you know isn't going to change much, and certainly never in a way that breaks anything, use Debian Stable -- and be prepared to build the odd package from source {it really isn't as bad as it's made out to be} if you have to have a massively up-to-date version of something. They have a more-than-King-size package repository.

      --
      Je fume. Tu fumes. Nous fûmes!
    5. Re:Bukd your own binaries by turbidostato · · Score: 1

      "Should you really have to build software for a production server environment?"

      Why not?

      "Real production environments, at least at the enterprise level, are built around stable, well tested binary packages that just work"

      On real production environments, at least at the enterprise level, more time than not, key software packages are tailor-made to the very specific needs of such enterprise. It has only been the "software-on-a-box" mentality the one that wanted the "what is good for Shell Oil is good for Airbus too" approach. I see no problem at all about having to compile/patch/fine tuning some key packages on a "real production-enterprise level environment". It's only that's not the problem with Gentoo at all (there's no difference about testing, deploying, rolling back... procedures about a package compiled in-house and one compiled by a third party, not really).

      The problem is not having backported security patches and backported security patches only. I can afford both because knowledge and physical avaliability not only a build box but a build farm if really needed, and I can afford backtesting, integration, rechecking... if/when really needed, but it is a terrible pain in the ass to do it and fortunately there are other less consuming ways, so why bother? On about a decade using Linux I've been pissed off about twice, maybe three times on a Red Hat security upgrade, and never by a Debian one (of course that doesn't mean those don't go through a testing procedure).

      Gentoo, lacking security -and security only, backported patches, is just too much babysitting; I really have better things to spend my scarce time on than to recheck that nothing will break on an otherwise "trivial" upgrade.

      "While I think that Gentoo is a tremendous technical achievement, it's design places it firmly in the hobbyist and developer workstation realm"

      Well, not exactly true. Gentoo can have a place even on a "enterprise environment" wherever a fully "tailor-made" system makes sense: a calculus cluster or an embebbed device, for instance; it's only you should be quite knowledgeable about what the strenghs and the illnesses of such a choice are and see if they make sense on your environment.

    6. Re:Bukd your own binaries by blueskies · · Score: 1

      Not to mention, the difficulty of one person rolling back changes to 500 servers in an environment built on everything compiled from source is a huge drawback.

      You just blew away all your credibility. Everything compiled from source? Are you kidding me? Since you are talking about stability in the enterprise, first of all you have identical hardware running the same build and packages. Secondly, you have a central build machine that builds the packages from source and acts as a binhost--binary host for these packages.

      Then you push out identical packages, to all of your servers, once you test them on your staging server. I'm not exactly why you aren't following all of the other enterprise level procedures when you mention gentoo. It's like they C developers that i see write python code -- they forget to use and good software programming techniques and wonder why they don't "get" python.

  34. Cannot say I disagree. by atomic-penguin · · Score: 4, Interesting

    It's been said before by many. I cannot say I disagree with the article. With more traditional distributions of Linux, you always have standardized packages with some amount of quality control. Bugs and security holes slip through to the end users all the time. Often your end users report these bugs to the upstream maintainer. Occasionally, the end user even submits fixes upstream.

    Gentoo is so system dependent compared to other distros. The end result, instead of having 1 package for some function, you have 1^n packages for that same function. Given 'n' amount of users with differing hardware and compile time arguments. The Qaulity Assurance ends at the user, always. You ultimately have a quality control department that consists of one, the user.

    Any system upgrade or maintenance procedures in production environments are usually limited to a few hours at most. It does not make sense to spend six hours compiling what could have been installed, configured, and tested in 6 minutes with a pre-compiled package. In the event of a hardware failure, I find it reassuring when a Linux distro can be loaded onto a spare box in 15 minutes. Then spend a few more minutes restoring configurations from a good backup.

    But that's just my opinion. To each his own. If it works for you, then go with it. Otherwise, I'd say it is a fairly level-headed review.

    --
    /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    1. Re:Cannot say I disagree. by lachlan76 · · Score: 1

      You realise that portage supports binary packages, right?

    2. Re:Cannot say I disagree. by lkeagle · · Score: 1

      "instead of having 1 package for some function, you have 1^n packages for that same function"

      What is this math you speak of? I do not think it means what you think it means...

    3. Re:Cannot say I disagree. by ctzan · · Score: 1

      The end result, instead of having 1 package for some function, you have 1^n packages for that same function.

      what kind of notation are you using ?

      1^n == 1, no matter how big 'n' is.

    4. Re:Cannot say I disagree. by Cokeisbomb · · Score: 1

      1^n packages? Check my math, but... 1*1*1*1...1=1

    5. Re:Cannot say I disagree. by atomic-penguin · · Score: 1

      Pardon me for the snafu. That's n packages, not 1^n.

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    6. Re:Cannot say I disagree. by atomic-penguin · · Score: 1

      Yes, but Gentoo wants to be compiled.

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    7. Re:Cannot say I disagree. by davermont · · Score: 1

      The end result, instead of having 1 package for some function, you have 1^n packages for that same function. I'm fairly certain that 1^n = 1, for n = anyNumber . But then again, sixth grade was a long time ago.
  35. *chuckle* linux for hot rodders by Anonymous Coward · · Score: 0

    As I was reading this article, it occurred to me that more and more Linux has become a hot rodders' playground. It's all about the fun had with tinkering. It's true for many distros and true for the kernel itself.

    Not bad as an end in itself, it's just unfortunate when people don't understand this is the case and work to build products off it.

    Like the perlmudgeon Christiansen used to say (para.), "the game isn't on the computer, it *is* the computer."

  36. Compile-Time by NitsujTPU · · Score: 1

    I haven't RTFA, but, yeah, compiling all of your software from scratch in a production environment every time you want to upgrade? That's ok. I'll pass.

    1. Re:Compile-Time by temojen · · Score: 1

      You should only be compiling from scratch in your devel environment, and be installing binaries in your testing and production environment. Even if your devel and test environments are just chroot jails on the sysadmin's workstation.

    2. Re:Compile-Time by NitsujTPU · · Score: 1

      I'm not a Gentoo dev. Why then would I want to do compiles at all? I certainly do do compiles in my development environment... of the software that I author.

  37. Don't believe everything you read. by Anonymous Coward · · Score: 0

    My webserver runs Gentoo and it has been rock solid for two years now. If you know what you are doing, it doesn't break.

    I run an
          emerge --sync
    everynight, this updates my portage cache.

    I run the following by hand weekly:
          emerge -uDav world
          emerge -pv --depclean
          emerge -v --depclean
          revdep-rebuild -pv
          revdep-rebuild -v
          dispatch-conf
    This does a DEEP update of my system, checks all dependences are OK, then rebuilds conf files with a bit of help from me.

    Every hour I run a:
          glsa_check -f all
    which checks and installs latest security patchs.

    I've been using a Hardened Server profile, using only packages marked stable.
    I have been doing this over the last 2 years and the system has only broken once -- due to mysql. Which caused me a 60min downtime.

    Don't believe everything you read.

  38. Not anymore. by a9db0 · · Score: 4, Insightful

    Gentoo on a server? No longer.

    I used Gentoo for several years. I learned an awful lot about Linux from it. And I appreciate the work that goes into it. But my servers run Debian now, for one reason - quick, reliable updates. I support several small businesses, I don't have the resources to maintain test environnments to check the impact of upgrades. And not having multiple powerful systems at many sites means distcc is not an option. And the recompiles occasionally necessary for apache or samba or postfix or mysql put an unreasonable strain on servers that are typically not high powered and are supporting multiple users. So for quick, reliable system updating apt-get beats emerge every time.

    I'm not knocking gentoo. It's a great system for testing stuff, and evaluating software. But in the 3 minutes it took me to type this post, I could update 5 servers that hadn't been updated in a week.

    --
    -- "Never underestimate the power of human stupidity." - R.A.H.
    1. Re:Not anymore. by caluml · · Score: 1

      I tried to like Debian. I really did. But for example, the hassle with installing mod_security for Apache on it was immense. Along with many other things, I just couldn't be bothered.

    2. Re:Not anymore. by a9db0 · · Score: 1

      Ah the beauty of Linux - multiple ways to accomplish the same task, each fitting the different requirements of different users.

      I'd rather fight quirky installation stuff than recompile apps on my PII400 server. And that's the fast one.

      --
      -- "Never underestimate the power of human stupidity." - R.A.H.
    3. Re:Not anymore. by ifishfortorque · · Score: 1

      ". . . in the 3 minutes it took me to type this post, I could update 5 servers that hadn't been updated in a week."

      Why are you updating your production servers once a week? Are there that many security problems with the distribution you're using?

    4. Re:Not anymore. by a9db0 · · Score: 1

      Ok, you're trolling, but I'll bite.

      I usually run my Debian servers as a blend of stable and testing. Depending on the server, there are usually 5-30 packagages that are updated by their maintainers each week. Not all of the updates are security related, and not all of the non-security related updates get applied regularly. But I do monitor the outstanding changes and update as I deem necessary. Packages with security implications for my servers get updated immediately.

      Now run along.

      --
      -- "Never underestimate the power of human stupidity." - R.A.H.
    5. Re:Not anymore. by ifishfortorque · · Score: 1

      Sorry; I meant no offense. I only ever really do security updates on stable for servers, and we have servers that are dedicated (one service per machine), so updates are few and far between. I was just curious about what you were using -- but if you run your servers on testing, OK.

    6. Re:Not anymore. by a9db0 · · Score: 1

      None taken.

      Small clients rarely have the resources to run more than a server or two - and I push for two so I can at least keep the primary firewall machine separate. The other is usually a multipurpose machine - the one I spent time with today runs email (with all the attendant spam filtering stuff), Samba, and apache (for internal use only). And it's an Athon XP 2000 with mirrored disks. No high end stuff here. But multiplying the services on the machines usually means the update frequency rises exponentially.

      My home server supports email, samba, apache (private), MythTV-backend & ivtv, mysql, nfs, ntp, and a virtual machine with quasi-public apache & gallery. Admittedly it has a bit more horsepower: dual PIII 1Ghz. It gets updated weekly. Or more.

      --
      -- "Never underestimate the power of human stupidity." - R.A.H.
  39. CentOS updates by Kadin2048 · · Score: 2, Interesting

    At risk of exposing my ignorance here (I'm a Debian person; the last time I did anything RedHat-based was before automatic package management), what is CentOS's automatic-update feature like? Does it have one?

    I assume it uses yum, or something like it, being RedHat, but does it pull from RedHat's servers directly, or are there separate CentOS repositories? I assume it's the latter. In that case, how closely do the CentOS repos track the 'official' RHEL ones, in terms of patches and bugfixes? Not that you'd probably want to do it on a true 'production' system, but can you do the CentOS equivalent of 'apt-get upgrade' and be reasonably assured of not breaking things?

    I've always been intrigued with CentOS, and it does seem to have a good reputation as far as stability is concerned, but after growing up with apt-get (and before that, nightmarish experiences with dependency hell on some very early RedHat systems), I've developed a certain perhaps-unwarranted negative bias of everything else.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    1. Re:CentOS updates by DA-MAN · · Score: 4, Informative

      At risk of exposing my ignorance here (I'm a Debian person; the last time I did anything RedHat-based was before automatic package management), what is CentOS's automatic-update feature like? Does it have one?

      Yes, it's yum.

      I assume it uses yum, or something like it, being RedHat, but does it pull from RedHat's servers directly, or are there separate CentOS repositories?

      CentOS Repositories

      In that case, how closely do the CentOS repos track the 'official' RHEL ones, in terms of patches and bugfixes?

      The official RHEL ones are publicly available, and tracked by CentOS very well. The only changes they make are for trademark requirements. Thus far it has been bug for bug compatible with RHEL.

      Not that you'd probably want to do it on a true 'production' system, but can you do the CentOS equivalent of 'apt-get upgrade' and be reasonably assured of not breaking things?

      Yes

      I've always been intrigued with CentOS, and it does seem to have a good reputation as far as stability is concerned, but after growing up with apt-get (and before that, nightmarish experiences with dependency hell on some very early RedHat systems), I've developed a certain perhaps-unwarranted negative bias of everything else.

      I prefer yum myself. I used apt when it first came out, and loved it. Since I got my first 64 bit machine I just prefer something that handles the dual architecture a little better. For the most part they're about the same though.

      --
      Can I get an eye poke?
      Dog House Forum
  40. Qaulity Assurance by perthling · · Score: 1

    I think you need some Quality Assurance

  41. The real problem with gentoo... by Anonymous Coward · · Score: 0

    Is that it assumes that you know how to use it.

  42. Quit calling sensitive boxes "servers" by Anonymous Coward · · Score: 0

    The article is really about the disadvantages of running Gentoo on any box that needs to be stable. Some workstations are like that, and some servers aren't.

  43. Wow nice logic. by bigmauler · · Score: 1

    So using the same logic as the article uses. I don't thin buying a car short of building one yourself is a good thing. Why? Because most brands comes out with new cars every year. And the article thinks that if there is something new, then it must be acquired.
    Not at all. Don't want to emerge --sync && emerge --uD world? Why don't then. I really don't understand where this article gets any credit for being anything other than flamebate.

  44. Never updating a server? by Opportunist · · Score: 2, Insightful

    Hello? Security anyone? Or maybe someone remember kernel 2.4.11? Don't wanna update that one either should you happen to have it installed back when it was considered stable?

    I do agree that there are certain things you needn't update. A local server without a connection to any user you do not trust your data with (i.e. nobody but you, if you're smart) running on rock stable software that gets feature adds rather than bugfixes in new versions is a candidate for this. And for this server (singular, probably worldwide), the setup is ok.

    Not updating a server connected to the internet is an invitation for hackers. No matter how "stable" or "solid" or "secure" a system is deemed to be at the moment of its compilation. Time and again there are bugs found in software that has been considered stable and safe for years. OpenSSH is hardly the most insecure application out there, and I would NOT want to see what happens to a server that does not update it.

    And, last but not least, when you don't want to update Gentoo, you don't have to. It's fine and satisfied if you don't do an update sync. Actually, you reduce the workload of the servers if you don't.

    So what the hell is this fuss about?

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:Never updating a server? by Anonymous Coward · · Score: 0

      I don't know, I'd feel more secure with a pure "stock" OpenBSD install unupdated than I would with a "bleeding-edge" gentoo linux updated daily or weekly. There is something to be said for having code that someone other than the coder has audited for security.

      That being said, I read the security notices for ANY server I'm running and install the bugfix updates that prevent remote exploits ASAP.

    2. Re:Never updating a server? by Opportunist · · Score: 1

      That's a given. I'm also usually one release "behind" the current cutting edge version (safe bugfixes). If it's been out for a few months and a few thousand people use it, and they agree pretty much that it's stable, I tend to take a look at it.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  45. Linux.com had a different take by Noksagt · · Score: 1

    Gentoo in the server room?

    I think Gentoo CAN work in the server room. glsa and other tools make it a better candidate than it was a few years ago.

    Some of the other popular distros capable of running X-less (e.g. Debian) and the *BSDs have been and are in wider production deployment. Of course, if one is tied to a storage, database, or backup vendor, one may be tied to Red Hat or SUSE.

  46. Gentoo on a University Cluster by nukem996 · · Score: 1

    I'm currently doing a work study at my university helping them administrate their Gentoo machines. They to have given up on Gentoo and are planning a switch to Ubuntu. The problem with Gentoo is that you really need it to be someones job to maintain it. The problem my university had was that everyone there had many responsibilities and did not want to waste time making sure that everything was going smoothly on Gentoo. This led them to just ignore it and never update. It worked fine until users asked for new or updated software to be installed, then portage wanted to update many things. Since I have gotten there, and my job is maintaining Gentoo, things have gotten a lot smoother. Compiling takes forever even on a dual dual core machine and if one package fails I have to figure out how to fix it until I can continue compiling. If you have things setup correctly only one machine will need to compile and make a package while the rest will just download from that one server and install. The other problem we're having is that even though we run stable many packages fail to compile or have problems which take weeks to fix. It takes many packages a very long time to get marked stable even if they are, such as KDE 3.5.6 or the NVIDIA 9-series drivers. As for having to reinstall every time a new profile comes out, he just had no idea what he was doing. I've ran my desktop and laptop for over five years going through hardware upgrades and many profile updates and never had to reinstall. All you have to do after you update your profile is emerge -uD world --newuse; revdep-rebuild

    1. Re:Gentoo on a University Cluster by ragefan · · Score: 1

      Compiling takes forever even on a dual dual core machine and if one package fails I have to figure out how to fix it until I can continue compiling
      In case you weren't aware, emerge --resume --skipfirst will skip the failed package and go on. Then, while continuing to compile other updates you can figure out what went wrong with the failed package.
    2. Re:Gentoo on a University Cluster by nukem996 · · Score: 1

      Yes I am aware of that and I use that many times but the problem is that the problem is still there. Many times the broken is a dependency of another and thus if you don't get that package in others won't work.

  47. Gentoo Servers by jivemonkey · · Score: 1

    I have been using Gentoo on my personal server for quite some time. I update about once a week and whilst I have to upgrade the configuration files, as long as I do it regularly, I tend to have no problems. My server has been up and running for over three months now and everything works dandy. I personally like the bleeding edge on my machines. If it were a true production server, however, I wouldn't update unless I absolutely needed a feature.

    --
    Got a problem? Call a monkey!
  48. So? by Enahs · · Score: 3, Insightful

    Call me a jerk, but I found a lot of what was said to be totally accurate. I tried to love Gentoo, off and on, for three years. While it's true that you can start on a fairly complete base system, and while it's true that there are tools available such as glsa-check now and revdep-rebuild (to say nothing of the joys of being able to unmask only what you want to have as totally bleeding-edge) it's true that it's it's a major time sink.

    I'll be more than happy to let the folks at Canoical, Red Hat, Novell, or wherever be the ones to put in several hours of work; I simply can't, at home, put in the hours required to maintain a "stable" system. When I quit using Gentoo a couple of years ago, it was to the point where I'd search the forums before I'd ever install a piece of software. And you know what? That gets old. Real old. Especially if you're sitting in front of what should be a desktop machine and you're waiting for revdep-rebuild to rebuild a couple dozen packages because libpng applied a non-backwards-compatible patch that fixed a major security flaw.

    Sorry, kids, but although I can deal with running a Gentoo system, I choose to run Kubuntu 6.10. Not because I'm too much of a wuss to run Gentoo, or because I'm too stupid to run anything other than Ubuntu, but because I'd rather spend the hour or so of computer time I have at home some days getting pix and video of my adorable girl (now at toddler age) ready for the grandparents. Not glamorous, and doesn't help push the state of the art, but it's much more gratifying than, say (I'm making this one up), trying to chase down the ruby package maintainer to get him to apply a patch so that you can use Getopt::Long without having to edit files by hand. ;-)

    --
    Stating on Slashdot that I like cheese since 1997.
    1. Re:So? by Mordaximus · · Score: 2, Insightful

      OK, you're a jerk ;)

      Sure, kubuntu is great on a desktop, but how does that relate to the article, running Gentoo on a sever? Gentoo lends itself quite nicely to a server environment. Personally any server I've run in the past 4 years has run Gentoo. I've run others before and I've tired others since. I've come to realize that the initial time you spend building a Gentoo server (minus compile time) is about equivalent to the amount of time I've had to spend going back to customize things I didn't like about default install from other, binary based, distros. Even if it does take longer, setting up a sever should.

    2. Re:So? by smash · · Score: 1

      Sorry, kids, but although I can deal with running a Gentoo system, I choose to run Kubuntu 6.10. Not because I'm too much of a wuss to run Gentoo, or because I'm too stupid to run anything other than Ubuntu, but because I'd rather spend the hour or so of computer time I have at home some days getting pix and video of my adorable girl (now at toddler age) ready for the grandparents.

      What he said.

      Myself, I started off with Slackware, and yes, it's neat to be able to compile all your own software, etc - but eventually you come to realise that all you're doing is increasing the uniqueness of your particular machine, which in the scheme of things is not really wise. If you have a problem, it's going to fall back to you to fix it, possibly without a lot of help and/or false advice (from well-meaning people who may accidentally mis-diagnose your problem) along the way.

      I think all of us go through the "this is neat!" stage, and then eventually after several years you realise that you're just creating more work for yourself, and it's time that could be better spent doing something else (be it work related, open-source contributions or more relaxation time - whatever).

      After playing these games (*nix system administration) for 12+ years, my advice is to keep your platform as "standard" as possible and only recompile stuff with "special" optimisation or use flags if there's a demonstrated *need* to do so for that particular application. And even then, most of the time any performance improvements are usually in the region of 10-20% or less, at the cost of software commonality with the rest of the world.

      Compared to downtime or increasing complexity (and hence, maintenance costs), hardware is (usually - unless you're at the extreme high end) cheap :)

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  49. Dear poser: Don't emerge --sync by Anonymous Coward · · Score: 0

    Serious. Gentoo has worked GREAT on my servers giving me the ability to configure and update my systems with simplicity. One copy of portage mirrors gentoo dev, one is a production milestone build. When I freeze a copy of gentoo dev, build and test against it, and if all is good move that over to the production milestone build. That's it, then use the binary packages to upgrade everything else.
    I keep great uptime:
    someone@someserver ~ $ uptime
    21:55:29 up 1103 days, 13:08, 4 users, load average: 0.08, 0.03, 0.01

    And never hacked once running gentoo.

    Also, gentoo's advantage is not now and never will be to compile everything. This guy is a terrible system administrator, who cannot recognize the advantage in gentoo's flexibility. For some people and institutions, it may not be an advantage but for highly customized environments it's great.

    He clearly does not know what he's talking about. Additionally, those of us who work with big iron always have a proper LOM solution, because we know a sun cluster patch (which really is equivalent to a gentoo profile change) can screw things up just as badly. We either have a serial terminal for console, or a remote console management system.

    I'm sorry some dork with a single machine hosted in some remote data center had problems with his gentoo install, and has even more problems with his lack of administration skills, but this type of crap should never make /. Aren't the editors knowledgeable enough about the subject to see the glaring problems? Didn't start with stage3 (and doesn't seem to understand why you'd want to), doesn't seem to understand the version dependency system, misrepresents the security model, and proves his own lack of skill by having a machine hosted remotely without proper access to the console.

    This guy might as well be running win2k3 server.

  50. Servers and compile yourself?? by GnuDiff · · Score: 1, Insightful


    So how many of the bleeding edge proponents have to support more than 50 systems?

    Package management, rpm, dpkg, all came out in response to the shortcomings of compile-yourself approach we can dearly remember from the days Slackware was about the only Linux distro.

    I was there. I was the young sysadmin who had to support 2 Linux servers and who was excited by the performance gain I was supposed to get from compiling stuff yourself. In truth, I never noticed it - and I bet 90% of others don't notice it either and 9% see the gain there because they believe in it.

    That was around 11 years ago. By the time Gentoo came out I was dealing with RPMs and blessing them.
    Nowadays package management software on SuSE, Ubuntu or others even lets you upgrade running system to next release while running.

    Do I want to spend hours of my time tweaking compile parameters and wondering why some of them don't work? Do I need "bleeding edge" or stability? For production systems my answer is clear. Yes, there will cases when you want to squeeze the top speed out of the system, so it is good that something like Gentoo is there, too. But I am fairly certain those cases are rare, and in majority of them an upgraded piece of hardware is usually required in the end.

  51. FreeBSD vs. Gentoo (particularly portaudit/glsa) by Noksagt · · Score: 1
    Disclaimer: I primarily use FreeBSD servers and Gentoo desktops.

    First of all, I find it interesting that FreeBSD never seems to get these complaints and hate about having to recompile packages with portupgrade all the time, and being able to tweak the flags, etc.
    I'd imagine that there are fewer FreeBSD desktop users than Gentoo desktop users, and I believe it is the "clueless user" stories that cause the most ribbing. I also think that FreeBSD has a bigger presence in the server space. Yahoo runs FreeBSD. Who, pray tell, runs Gentoo?

    Does this make all criticisms against gentoo fair? No.

    But the fact that more have used FreeBSD on servers for longer also means it has had useful tools. portaudit predates glsa-check & has better coverage in many ways, for example.

    In this respect, it's just like gentoo!!! Except without a lot of the fancy features like etc-update and slots and masking and multiple supported versions.
    Can you please tell me why I'd want slotted packages on a server, particularly if glsa-check doesn't yet work well with slots?
  52. 466 days. by gp310ad · · Score: 1

    2.6.8-1.521smp #1 SMP Mon Aug 16 09:25:06 EDT 2004 i686 i686 i386 GNU/Linux
    01:24:48 up 466 days, 16:08, 42 users, load average: 0.56, 0.58, 0.49

    would be much longer but tech at ISP occasionaly confuses with another machine and mashes the reset button.

    --
    Do not look into LASER with remaining eye!
  53. that sound again... by Anonymous Coward · · Score: 0

    Whoooooooosh!

  54. Production / Test / QA / Development Environments by sugarmotor · · Score: 2, Insightful

    Where I come from, deployments to production are first validated in a QA environment. OS stuff, application updates belong there too.

    What happened to backups anyway?

    --
    http://stephan.sugarmotor.org
  55. FreeBSD by petrus4 · · Score: 2, Interesting

    No offense to Daniel Robbins or any of the other Gentoo people, but to me personally, downstream water doesn't taste so good. ;-)

    Daniel's original premise seems to have been (which I agree with) that there are some elements of FreeBSD which are highly desirable, which at the time, Linux didn't have. Ports, portaudit, portupgrade...they're all good things. Ubuntu has an equivalent of portaudit and portupgrade combined, and of course the Red Hat autoupdate was probably the first on Linux, but the difference between those and the two commands I mentioned is that the Ubuntu and Red Hat services both focus on binaries...portupgrade anywayz focuses on source, which is something that at least some of us want.

    I don't advocate using source compilation all the time, or if I do, at least not during the day or when you're active...set something up to do it while you're asleep or while the system isn't being used...that way it won't bother you. To be honest also, the main reason why I advocate compiling from source is simply for the reason that if you stop doing a certain thing for long enough, the ability to do said thing when you *do* want to has a tendency to disappear. If you maintain the attitude of compiling from source when it doesn't matter, there'll still be enough people doing it that the option to do so will still be there when it *does*.

    There are a lot of people out there who don't want to do anything that even vaguely resembles self-responsibility or proactivity, at least where using a computer is concerned. That's fine, but said people need to realise that the fascist nature of such things as Vista is merely the ultimate logical extension of them wanting multinational corporations to act as their wetnurse. It's been an eternal truth in politics and other areas as well as IT that freedom and proactivity genuinely go hand in hand...If you don't want one, you're not going to get the other.

  56. What takes even longer than Gentoo to install... by Anonymous Coward · · Score: 0

    is LFS. I tried installing that thing and gave up after two months. I don't think that it would be good in the serven room either /joke

  57. I stuck my head in the sand and I got run over... by bnomis · · Score: 4, Insightful

    To summarize:

    Quote: "If you don't need new features, and things are working, why change anything?"
    Translation: "Never change a working system."

    Quote: "...I ran the dreaded but most needed "emerge world"..."
    Translation: "My system worked but I updated everything"

    Quote: "I had nearly no idea of what I was updating..."
    Translation: "I didn't bother to check what was going to change"

    Quote: "I tried to read the enormous emerge log file..."
    Translation: "I didn't bother to read the log file about what had changed"

    Quote: "...the machine had to be resuscitated..."
    Translation: "I changed it, it doesn't work anymore and I can't be bother to read the documentation"

    Basically, he made a bad choice for his environment. Horses for courses.

  58. Compiler on a production server?? by buchanmilne · · Score: 1

    Most enterprises have security policies that don't allow compilers on production servers. This immediately makes Gentoo a lot more effort to use on production servers than distros that require binary packages to work (where binary packages on Gentoo are an after-thought, and using only binary packages loses all the advantages of the distro).

    We run minimal installs (you're lucky if you get vim instead of vi) of RPM-based distributions, and have a build host which supports all the releases we run in production, with internal repos. And we know that all our production servers are using the same packages, and that we can rebuild any server in under 20 minutes.

  59. Duh, what a troll. by jsn13 · · Score: 1

    I have several gentoo coloboxes in production, the oldest of them is 2.5 years old. Switched profiles 2 times, upgraded gcc from 3.3 to 3.4, kernel from 2.4 to 2.6. I had to visit the colocation building two times: to install the box and to add an HDD to it. Yet the system is up-to-date and reasonably patched against the recent vulnerabilities. I don't have to deal with all that "end-of-support for release XX.YY" crap. I almost never have to resort to building my own packages manually these days, because I can just tweak USE flags (which also means I don't have to maintain my own apache build or my own perl build or whatever else I need). When some new security vulnerability is disclosed and I have to check my systems for it, I usually find them patched against it during the last emerge -u.

    Good luck getting any of the above with a binary distro.

    I have no idea how the author of TFA managed to ruin his system multiple times during one year. Looks like someone is seriously out of clue.

  60. stupid argument by timmarhy · · Score: 1

    his argument that if you don't ever update your server's software, when you finally DO have to update you might have compatability problems is true for ANY software. i'm not a gentoo fan but to point the finger at gentoo for this is plain stupid. this is problems with individual software which, if they change their config layout then wtf is gentoo supposed to do about it? the bottom line, is that the admin has to weigh up the pro's and con's up doing an update - that is after all the kind of thing your being paid to do as a sysadmin.

    --
    If you mod me down, I will become more powerful than you can imagine....
  61. Not at all by vandan · · Score: 4, Insightful

    I've been using Gentoo on our database / web / email / many-other-goodies server since August 2003 ( I keep emerge --sync logs ). I'm running the stable branch on our server, and the unstable ( ~x86 ) branch on desktops. I certainly agree that updates on the unstable branch have to be done thoughtfully, but building binary packages when emerging helps a great deal with disaster recovery. It's nothing that can't be fixed with a little searching.

    But on the stable branch, I've actually been very surprised with how ... stable ... it is ( coming from the ~x86 branch ). I keep a separate binary packages repository for the server ... just in case ... but haven't actually had to back-track to anything yet. I do updates outside of work hours, and revdep-rebuild when upgrading major parts. I haven't had any catastrophes yet. Actually I haven't even had any mishaps yet. What can I say? If you are confident enough to run Linux on a server, I say you can handle the stable branch of Gentoo.

    As for the points the author raised against Gentoo:

    1) Too long to do initial install.

    This one gives it away from the start. You only install once. But this is at the top of the list. I can't remember how long it took me to install Gentoo on this server, but it was probably 2 days or something. Who cares? That's what time I take installing *any* server. You don't just whack it together and put it into production. You install, you read, you test, you frig around some more. What's wrong with that? The author is no server administrator.

    2) Same as point one, just repeated

    WTF? Seriously, this author has his head up his arse. On the one hand, he later says that you shouldn't update willy-nilly on servers, and yet then says that it takes ages to update everything. So what, exactly, is he trying to achieve? It takes me about 10 - 15 minutes to update MySQL, which is the most common package I update. What's wrong with that? I back things up, shut down MySQL, emerge the new MySQL package, test, and import form backups if required. No problem? Where is this guy's problem, seriously?

    3) Don't like updates, even if they are to more stable packages

    Nothing forces you to update packages. Also, no-one claims that packages updates *won't* break things ( though my experience is that in the stable branch, updates *don't* break things ). But if you don't want to update, don't. No problem. If you do want to update, the tools are there to update easily. Sure you should pay attention to what you're doing. It goes without saying.

    4) Same as point 3, but with the update impetus being security instead of stablity

    Doesn't deserve a response really.

    I challenge this author to prove that he's actually used Gentoo Linux for more than 7 days without running crying back to Linspire.

    1. Re:Not at all by Anonymous Coward · · Score: 0

      This one gives it away from the start. You only install once. But this is at the top of the list. I can't remember how long it took me to install Gentoo on this server, but it was probably 2 days or something. Who cares? That's what time I take installing *any* server. You don't just whack it together and put it into production. You install, you read, you test, you frig around some more. What's wrong with that? The author is no server administrator.

      For a Debian system, two hours is just too much. I'm not familiar with slackware, but I think the time won't be far, unless some specific packages you require aren't available. And even so, it should take less than one day.

      WTF? Seriously, this author has his head up his arse. On the one hand, he later says that you shouldn't update willy-nilly on servers, and yet then says that it takes ages to update everything. So what, exactly, is he trying to achieve? It takes me about 10 - 15 minutes to update MySQL, which is the most common package I update. What's wrong with that? I back things up, shut down MySQL, emerge the new MySQL package, test, and import form backups if required. No problem? Where is this guy's problem, seriously?

      On a production environment, 10-15 minutes is really too much. Especially for minor upgrades (eg. security updates).

      Nothing forces you to update packages. Also, no-one claims that packages updates *won't* break things ( though my experience is that in the stable branch, updates *don't* break things ). But if you don't want to update, don't. No problem. If you do want to update, the tools are there to update easily. Sure you should pay attention to what you're doing. It goes without saying.

      Security updates. If you knew there was a remote exploit for sshd, would you upgrade? I would.

      I challenge this author to prove that he's actually used Gentoo Linux for more than 7 days without running crying back to Linspire.

      I've used Gentoo as a desktop for a year or so (that was around 2003-2004), but eventually switched back to Debian. Granted, I was spoiled a bit by the Debian ways of doing things, and was a bit slow in learning how to administer a Gentoo system, but the it didn't really feel "stable", even with the "stable" branch. I finally switched back, seeing no obvious advantages of using Gentoo over Debian.

      Have _you_ ever tried Slackware or Debian? I actually have an impression that many Gentoo advocates here switched from RH based distros and have no real experience with the more "established" distros like Slackware or Debian.

    2. Re:Not at all by Anonymous Coward · · Score: 0

      This one gives it away from the start. You only install once. But this is at the top of the list. I can't remember how long it took me to install Gentoo on this server, but it was probably 2 days or something. Who cares? That's what time I take installing *any* server. You don't just whack it together and put it into production. You install, you read, you test, you frig around some more. What's wrong with that? The author is no server administrator.

      I'm not going to argue for or against Gentoo as a server platform, but I do take issue with the time it should take to install/deploy a new server. If every server you're building is meant to serve some one-off, custom purpose, take two days to build and test the box, but if you're working for any real business deploying the same types of servers over and over, 2 days is too long. 2 hours is too long in this case, and I'd even venture to say, it shouldn't require a "server administrator" to do it.

      Debian + FAI
      RHEL (or CentOS/Fedora) + Kickstart

      If you've never looked into them, you really need to. These combinations netted me a total installation and deployment time of 20 minutes, and a "server administrator" (read: me) didn't need to be available.

    3. Re:Not at all by sloth+jr · · Score: 1

      1) Too long to do initial install. This one gives it away from the start. You only install once. But this is at the top of the list. I can't remember how long it took me to install Gentoo on this server, but it was probably 2 days or something. Who cares? That's what time I take installing *any* server. You don't just whack it together and put it into production. You install, you read, you test, you frig around some more. What's wrong with that? The author is no server administrator.
      I suppose our perspectives are a little different. When I buy servers in quantities of 100, 2 days installation per server is not going to fly. In essence, we've boiled down 6 years of best-practice and configuration files into a set of kickstarts, config channel subscriptions, PXEBOOT, and locally generated RPMs. 2 days installation per server? Try 20 minutes for 100. RedHat Network and Satellite are the only reasons we really run RedHat - because it is central deployment and patch update for large batches of servers. We're by no means anywhere close to largest installation - 600 servers total, most of my datacenter neighbors are either much larger and universally known brand names, or much smaller startups- but we keep hopping and we serve about 500 million page turns and 13 billion SQL queries a month on our production load. I don't think Gentoo is likely the best tool for this scenario (managing large numbers of servers), though I'm sure enterprising Gentoo gurus could and have crafted solutions.

      sloth jr

    4. Re:Not at all by vandan · · Score: 1

      For a Debian system, two hours is just too much.
      You're saying you'd spend less than 2 hours installing stuff, and then you've suddenly got a production system that everyone's using? You have got to be fucking kidding man! Have you ever managed a server, or are you talking through your hat here?

      On a production environment, 10-15 minutes is really too much. Especially for minor upgrades (eg. security updates).
      Ah. The problem is that you don't know how to use your Gentoo system properly. You can build packages without installing them! Nice, eh? Find an update you just must have? Fine. Build it, create a package, and then when it's time to install the update ( out of office hours / weeekend / whatever ), bring the service down, install from your package, bring the service back up. Simple. Just as simple as updating from an rpm or whatever. Got a problem with the new version you just installed? No problem, as you would have made a binary package of your old version ( which quickpkg ) just before upgrading, right? Gentoo's binary package system is very, very nice.

      You also get more intelligent handling of config file updates - etc-update is brilliant for merging new features that external developers ( not Gentoo devs ) have added, and highlighting things that can't be automatically merged in. You don't get that in other distros. Why? Because you're not meant to maintain the system in this way. The idea they seem to hold to is that the user can install essential updates easily ( for example updates to your OpenSSH daemon ), but not a lot else. Want something else? Back everything up, and install the latest version of the distro from a CD.

      Security updates. If you knew there was a remote exploit for sshd, would you upgrade? I would.
      Exactly. And one of the distinct advantages to running a Gentoo system on a server is that there is *always* support for your system. I ran a slackware server prior to running Gentoo, and it was great for the 1st couple of years, but then it just became long-in-the-tooth. It was getting more and more difficult to keep packages up to date, various packages would rely on other packages being updated also, and then by this time most of the Slackware userbase had moved to Slackware 10 or something, and Slackware 7 really wasn't a server that was fun to maintain any more. I've been running Gentoo ever since, and there is *never* any trouble doing essential security updates, or getting help with my particular release. And lets not talk about what happened to the Slackware forums / mailing lists. That was fucking horrendous.
    5. Re:Not at all by Rich0 · · Score: 1

      For a Debian system, two hours is just too much.

      If you are deploying a bunch of servers I agree that you don't want to spend days just putting an image on each one. However, a stage-3 install of gentoo only takes a few minutes, and then you just need to do any desired security updates. You can download binary packages if you need them, and you can also put your cached binary packages on a network share - so if you build with particular settings you can recycle across all your servers.

      On a production environment, 10-15 minutes is really too much. Especially for minor upgrades (eg. security updates).

      Agreed. If I'm doing an update that is time-sensitive (mysql, samba, etc) I'll build a package only initially, and then quickly down the daemon, merge the package, update configs, and start the daemon. And if you want you can easily try it all on a chroot first.

      Personally, I love gentoo. If I were deploying a server I'd probably consider Debian first, but I don't have much Debian experience and there might be drawbacks there I'm not thinking of. I wouldn't consider gentoo totally unsuitable for servers, however.

    6. Re:Not at all by vandan · · Score: 1

      Actually I think you'll be pleasantly surprised if you check up on the available tools. Read my comment about above building packages. Also read up on creating stage-* images. You can build up an initial server, tweak it to suit your needs, create a stage-4 image, then install this on all the other systems. You can also use one system to do all the compiling, create binary packages, test everything out, then update all the other systems from the binary packages. Or if you *really* want to be cool, you can set up distcc, which creates a compile-farm out of all systems on a network ( must all have the same version of gcc ).

      With the above method, you might still be looking at 2 days for the initial setup, and yes, it will require a little more attention than a point-and-click install, but then you can have everything else done *very* fast. Put the stage-4 image on the network, and then just boot of a CD ( or figure out how to create a network boot image ) and unpack the image. That's it.

  62. We are talking *server*? by msimm · · Score: 1

    Gentoo is great. Was it intended to be an enterprise ready OS? C'mon, this whole debate is kind of ridiculous. Red Hat/Suse/et al are great, they costs $$$ but the updates are Q/A'd they work closely with major vendors and they *know* they'll lose market if they don't do their jobs well.

    I'm sure its possible to run a farm of Gentoo servers in production without problem. But thats not the point really. Time is money and as you scale up reliability and complexity work against you.

    I'm sure there are some amusing stories about systems admins running Gentoo farms, good and bad. But there's a reason you only commonly hear a few players mentioned in this particular market.

    FWIW I started out using Debian, but on my personal projects (I test a lot of stuff out on my own production because its much smaller and I'm much more forgiving). One day a simple update broke my PHP configuration. I never looked back.

    On the server glamor is out and as close to bullet-proof as you can get is king. Period.

    Its my job.

    --
    Quack, quack.
  63. I had an OpenBSD/postfix box by toadlife · · Score: 5, Insightful

    That would have had around 900 days uptime if my reboot-happy Windows-only-admin coworkers wouldn't have reset it in a panic on multiple occasions to "troubleshoot" (no it was never a problem with my OpenBSD box) mail problems.

    I don't know what the hell it is with Windows-only admins and rebooting. The kind of instability that required reboots all the time was reduced drastically with Win2k and win2k3, yet that insatiable urge to reboot first and ask questions later still plauges my Windows-only counterparts.

    --
    I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    1. Re:I had an OpenBSD/postfix box by Lost+Engineer · · Score: 1

      I cut my teeth on windows, and, although I wouldn't call myself a windows-only admin, or an admin at all unless you count my own machines at home and work, I still reboot my linux machines thinking it'll fix things, but it never does.

      Come to think of it... there's a bug in the ethernet drivers for my thinkpad that does fix itself if you reboot. There's probably another way around it though.

    2. Re:I had an OpenBSD/postfix box by valeurnutritive · · Score: 1

      Here is a story:

      Suppose you are managing an W2k3 IIS based intranet with lets say 10-15K people using it. Its ASP.NET based and sometimes (defined as once a month), the site goes down. Random ASP.NET errors (I will skip that detail). Restarting IIS does not make a difference not does restarting ASP.NET or other related services. You restart the machine. Great it works now.

      Now what do you do the next time it happens? You restart immediately. Get things back ONLINE. Now you worry about the logs, events debug and try to find/fix the root problem. But you SHOULD immediately restart to get things back online ASAP before calls start coming in from all over the place. You can now try and reproduce the error in the lab etc.

      Now this is a real situation I was dealing with at my last job. When a server is down, its more important to get it back online ASAP than to find the real problem while keeping it down. In Windows world, sometimes it means just restarting the box.

    3. Re:I had an OpenBSD/postfix box by tuskentower · · Score: 1

      Because rebooting the machine actually fixes things in a winDOwS world.

      I worked on a setup of IIS + ASP + COM + MSMQ + 2 C apps deployed over three machines, webserver (IIS + ASP + COM), MSMQ + App #1 and just App #2 (plus some backend libraries). Every so often one piece would die in my development environment. Invariably something went out of whack when I restarted a failed component. After enough failures and frustration, I came to the conclusion that just rebooting everything would get me back to square one (and the nice MSMQ kept the data for me).

      One day we had a production problem. My boss asks me what to do, I say reboot the machine, they aren't losing anything. My boss and the guy (a nice guy who admitted after the fact that the design was bad) who designed the pile of turd said that my idea was bad/unacceptable and dismiss it. Six hours later and level 3 tech support from MS and they had to reboot all the machines because the MSMQ IDs were out of sync across the three servers. Moral of the story, when using winDOwS, if you reboot the system everything will get fixed. That's why I don't work on winDOwS machines anymore. :)

    4. Re:I had an OpenBSD/postfix box by toadlife · · Score: 1

      If you already know that restarting the services doesn't fix the problem, then you don't fall in the category of admin that I was complaining about.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    5. Re:I had an OpenBSD/postfix box by Rich0 · · Score: 1

      I don't think the issue is so much windows anymore as just a general lack of sane dependency handling in large-scale software applications (the kinds of programs that cost $1 million to buy, and where the vendors have 100 customers max). Often some service goes down, and if you just restart it things still don't work. The problem is that if you have 14 services running it can be a pain to pinpoint which one is down, and if they don't have dependency info set correctly the other services don't get recycled and they're still timing out trying to talk to the old service process. I don't know if windows handles dependencies all that well /etc/init.d/ style.

      So, often the quickest fix is to reboot first - takes 2 minutes and fixes many of these sorts of problems quickly. Obviously this is assuming you've identified that the problem is some sort of server issue and not data related. If you have 14 services running it might be mathematically elegant to figure out which one is bad and restart them in the proper sequence, but rebooting gets rid of all the variables.

      If vendors wrote better software we wouldn't need these sorts of hacks. On linux it wouldn't be tolerated, and in any case I could just edit the init.d scripts myself to fix the dependency info. However, in the world of windows we're stuck with what the vendors sell us...

    6. Re:I had an OpenBSD/postfix box by toadlife · · Score: 1

      In regards to service dependencies in Windows, you are not stuck with what the vendor gives you. If the vendor doesn't do it right, it can be configured manually by the admin afterwards.

      If the services don't have dependencies properly set, but (by luck) start up in the right order after a reboot, then all you have to do is find the order in which they start and write a script to restart them accordingly. This can be found easily with a little sysinternals utility called loadorder.

      We actually have one of those "million dollar apps", that we recently moved from HPUX to Windows. This app requires the restarting of several services when certain configuration changes are made. Restarting the entire machine takes about five minutes whereas restarting the services takes only one. One of our websites uses this machine's services as a back-end, so that four extra minutes of downtime is not good.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    7. Re:I had an OpenBSD/postfix box by Anonymous Coward · · Score: 0

      I used to think the same way as you, that rebooting in Windows 2000 and above generally wasn't necessary, but after two years on a helpdesk, it is an easy fix for many problems, including software and drivers gone wrong. Also it assures that all software uses the same version of a file. Then again, for production servers it isn't a workable strategy all the time.

  64. There are better alternatives by shutdown+-p+now · · Score: 1

    Noone's saying that you can't use Gentoo on a server in production. Sure you can. You can even use LFS. The point is that there are many better alternatives for that sort of thing. Yes, you can manually mask packages you don't want to be updated etc... or you can just go Debian (for example) and save your time.

  65. Just a troll, nothing more. by thedonvaughn · · Score: 1

    This author definitely sound like he does not use Gentoo nor is he a Unix Engineer. His only valid point, initial deployment does take longer than most other distributions. If you are in a data center/server farm where you are spitting out new deploys by the hour.... then gentoo probably isn't your best bet. However, if thats not the case then there is no excuse for initial setup time. A good admin should prefer the power, flexibility, ease of customization, and total control over a source based distro like Gentoo than a "fast deploymet". A fast install should not even be on the list for things to consider when picking an OS to run your server. As far as "constantly upgrading and on the bleeding edge"...... In what class of Unix administration did you learn that you're suppose to update your server daily? Just because gentoo, the project itself, is constantly being upgraded (and there is a stable and unstable branch btw) does NOT mean that you need to upgrade your server every day with it. A server upgrade should be scheduled. I like to do mine once a month or 2 months The only exception is a security hole was found and a fix was released. In which case this would affect ALL distros and the same upgrades would be performed. With package masking you are in total control and you can specify what version of what application, package you need absolutely. Gentoo is a GREAT Linux server. Gentoo is a blank canvas, it only does and grows as you command. Very few distributions aside from Gentoo, Slackware, and Arch fit this description. Snoogins

  66. Gentoo cluster by kuscsik · · Score: 1

    I use Gentoo on a 20 CPU cluster with 12 nodes ( 181 days uptime now ). The slave nodes are running on a liveCD built on the Gentoo sources. I use Gentoo as network shaper, LTSP server, Mail and Web server. After trying different linux distributions, Gentoo seems to be the most flexible Linux distribution. About the stability? Gentoo forces you to get known every part of your system. This knowledge is what helps you to solve the problems in critical situations. The control is in your hand.

    1. Re:Gentoo cluster by Anonymous Coward · · Score: 0

      > Gentoo forces you to get known every part of your system.

      This is a myth. I've learned nothing about Linux since switching to Gentoo. All I've learned is how to use portage and the other Gentoo specific tools. revdep-rebuild is a work of Satan.

  67. Yep, thats what the T2 SDE is for :-) by Anonymous Coward · · Score: 0

    Exactly that is what the T2 System Development Environment is for: While building from source it allows to define exactly the subset of features you need and then create ISO, netinstall, flash, Virtual Machine images from the result and then do controlled update build.
    Additionally you can then install your exact image on multiple machines with all of them in the same, known-good state as you would do with commercial, pre-built Linux distributions,

  68. ametures. by siezer · · Score: 2, Insightful


    Gentoo is great.
    Gentoo is wonderful.
    *IF* you're only administrating a small handful of servers.

    When you have to look out for a few HUNDRED machines at a time, you **reaaaally** start to appreciate things like calendar based release cycles, binary packages, uniformity, hardware compatibility lists, repository mirroring, etc.

    Gentoo is far too schizophrenic to be a reliable environment for n servers, especially in a "real" scenario.

    Academically, Gentoo is a wonderful system.... but its one of those things that works "great on paper" but sucks a lot of ass in Real Life. Trust me, you have better things to do than worry about than whether or not upgrading one package for a minor security fix will drag along your system libs and userland utils with it. If this is the sort of thing you concern yourself with on a day to day basis, you're doing something WRONG.

    Large environment management is a constant battle with entropy.
    Hard drives die, switches fail, nics go bad, boards burn out, storage space fills up, and all this has to be dealt with. Using predictable, understandable, documented, tested and supported systems creates One Less Thing to worry about.

    An entire IT staff should not have to be briefed on a daily basis about what the Gentoo Administrator decided to include in his(her?) build flags. /rant // I hate computers.

    -s

  69. Emerge'nt unnecessity by ACORN_USER · · Score: 1
    I've been using Linux for over 10 years and gentoo for a couple of months now. I work in an organisation where gentoo is the defacto and I've immediately found issues with it. I've own and have worked with a number of OS's and have worked with both binary and source based packaging systems. My favourites have been bsd ports, fink, solaris packages and RPM's.

    While compiling from source is will certainly give you optimisation for your given architecture, I often wonder at the situations where this should be imposed on you. I've seen people spend hours setting up gentoo users desktops and have to ask at the necessity for this. On a production environment expecting high load leves, 'yes, build from source,' however on a user desktop, I think it's waste of an organisations time and money.

    Gentoo's portage system gives one the illusion of hackerish control, but having been one with hackerish control, I look at emerge and am not so satisfied. I was recently trying to build perl and wanted to fire off configure options, so I fired up emerge -vp (which shows you valid USE flags). It seems that in many places it completely curtails what you can do, depending on what the port maintainer has decided to expose in the ebuild - so I couldn't fire off half the configure options I wanted to. In my personal opinion, this leaves me wondering why I'd even want to use emerge package. Further, i was also unable to direct the build to another PREFIX directory, which is generally handy when you want to have multiple versions of components. Obviously this breaks the packaging system's world of dependencies.

    Portage might be more attractive to me, if packages came as in both binary and source flavours and if there was more control over your interaction with build process. I don't like the fact that updating one emerge package seems to break your whole system and end up costing time. If I'm maintaining a desktop, I don't need this kind of hastle. I don't like emerging cpan modules, which are not consistency named. I don't need to see a large GUI application building for several hours.

    SO, I ask myself, which is the best packaging system I've used. Strangely, I'm surprised, when I arrive at RPM. I've used RPM on production systems and have been surprisiingly happy with it. ebuilds are no harder than rpm spec's, however the real beauty is something which I think is essential for modern enterprise systems; transactionality. RPM v4 + allows you treat package updates as atomic transactions and in turn one can roll back from these to the previous itteration, of touched files, without having to manually manage these. SO, what happens if you break the build? You rollback.

    I have a lot of friends who have used gentoo and loved it for a couple of months. I don't know anyone who hasn't shagged up his/her system and further I know a lot of these people have tired and gone back to some other distro. And we're not talking about people who didn't know what their way around a linux distro - it's typically frustration with portage. Anyway, I'm still going to give it a run for it's money and see if I end up with a different attitude.

  70. I use gentoo on my desktop...but not on a server by Anonymous Coward · · Score: 0

    The article makes a few good points to which there is no doubt many valid counter arguments.

    However there is one reason I definately wouldn't use it on a production box: because gentoo _encourages_ compilation rather than packaging binaries you can't download a known good set of fingerprints/hashes/checksums (md5/sha1/whatever) to compare the system against...so from an _auditing_ point of view gentoo is a definite no no.

  71. Gentoo is Ok - if used properly by ThePhilips · · Score: 1

    This is hard with Gentoo.

    I have tried it only once, but it was recommended to me as "server distro".

    The guy who introduced me to Gentoo, used it in his company on several servers. He had two configurations (think two types of servers) and software was compiled correspondently on two of the servers and then replicated to other servers. Strictly speaking, he had Gentoo only on two servers - while other servers used some kind of compiled/bundled internal versions produced by the two Gentoos. He didn't seem to experience any kind of problems.

    P.S. The same guy actually recommended me also more accessible option for servers: OpenPKG. Gentoo is Linux, but if you need stable services running variety of Unices, OpenPKG is strongly advised. I believe he had used some parts of OpenPKG along with Gentoo.

    --
    All hope abandon ye who enter here.
  72. spot the lazy sys admins by zakeria · · Score: 1

    guy's this has highlighted how many incompetent system administrators or just plain lazy there really are out there.. I've run many Linux OS's on many servers for many years from Deb to RedHat and even Gentoo.. protage on Gentoo is like any utility useful but not the only why to update or keep stabilized. On Gentoo you can disable just about anything and yes you can build packages from source not just from the gentoo downloads but from anywhere you can download source code... come on wind your necks in, its a utility its not what you do as an sys admin its what you use and when you use it.

  73. Devils advocate by Anonymous Coward · · Score: 0

    I run Gentoo on 2 x86 desktops and an amd64 laptop, I'd never run it on a production server. For servers I use Slackware or FreeBSD as a base and compile software from source on a staging system. There's no advantage to running Gentoo on a server, by the time you've futzed around with ever changing USE flags, you may as well recompiled the software for those few public facing services from a source tarball.

    The truth is that Gentoo changes too often, it moves key configuration files without adequate warning and finally, using portage overlays is more complex and time consuming than compiling manually. Even on a desktop machine, I often end up installing software outside of portage and running custom patched kernels. Great desktop distro, I have no idea why anybody would want to run it on a server.

  74. Plus it rarely builds by eviljav · · Score: 1

    Don't forget gentoo's habit of reqiuring libraries Y to upgrade package X, only for library Y not to build...

    It has been my experience that upgrading anything "big" (i.e. firefox) almost never works without hitting a broken build for something in the dependency chain.

  75. What a fucking moron by nagora · · Score: 0, Redundant
    You will need to fix things that break in the upgrade process...

    Perhaps; accidents happen in all systems, whether Windows or Linux Distros; sometimes a library is missed or some combination of apps causes a problem even in "release"-level updates.

    This is hard with Gentoo.

    No it's not. Once you know what went wrong, mask the package that caused the problem, then re-emerge.

    Gentoo wants you to change a lot of stuff.

    No it doesn't, at least not on a server. Desktop Gentoo machines offer to update something most days but servers go weeks between updates. And, frankly, I want security updates to my servers ASAP.

    It wants to be bleeding edge.

    No it doesn't. There is a toggle - both global and per-package - for "bleeding edge" and it defaults to "off". You will get very little sympathy from me for running with that set on your server.

    So, to recap: The poster is a moronic little self-publicising blogger who doesn't understand what he's talking about and is incapable of using even the basic Gentoo sys-admin tools (like the -p flag to emerge, for example) and decided to whine about it to /. in order to get his hit count through the roof and then strut about it to his loser blog-friends. Magic.

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  76. To all the my server is okay people.... by MrMickS · · Score: 1
    The issue isn't whether you can use Gentoo to run a server, rather whether Gentoo is a sensible choice in an enterprise environment with multiple servers. It may work fine for your server but that doesn't mean that you are superior, or that the article writer is an idiot. It may mean that you don't understand the nature of the problem.

    If you have a server farm with a 100+ servers on it which is easier to upgrade in a production environment; Gentoo with possible manual intervention or Redhat using custom RPMs and Kickstart?

    --
    You may think me a tired, old, cynic. I'd have to disagree about the tired bit.
  77. Happy Gentoo admin here... by ulzeraj · · Score: 1

    I run a site with 10 Gentoo Hardened servers. No big deal... never had a prob with them.

    They're easy to maintain. Gentoo got lots of tools that help the admin tasks, like glsa-update, catalyst, etc-update and portage itself. Most software installations and upgrades are smooth. The Gentoo Hardened provide me with stable release circles and many security features that gives you headaches to implement on other distros. In fact, most tasks that I would spend ~20 minutes working with other distros I spend ~10 minutes on Gentoo. Go on and try to install djbdns on Debian and them do the same with Gentoo.

    I don't use portage directly. A script updates portage tree, sends me a mail with the glsa advisories and I run glsa-update, build the binaries and install them on the servers.

    I even have more trouble with a Mandriva 2005 (!) server that I'm forced to maintain because of a stupid old ERP system. This ERP was crashing under Gentoo and the developer claimed that his system only runs perfectly on Madriva or Conectiva. I installed Mandriva and the software keep crashing. After so much work learning how his own software works, he discovered that the problem was with the database... some underground software named Advantage Database System or so on. Well... the Mandriva server was running fine and I choose to keep it, because the developer would blame Gentoo on every problem with his crappy software.

    TFA is about bullshit... posted by people who don't really understand how GNU/Linux works and people who flame things without really knowing the subject. Gentoo is such a great project... such as Debian and many others alike.

    Sorry for poor english. I had to express myself and talk about my experiences with Gentoo.

    1. Re:Happy Gentoo admin here... by ulzeraj · · Score: 1

      Well... I almost forgot the tell that the author in TFA didn't mention many things that could have softed his experiences.

      1 and 2-Gentoo is Time Consuming to Install

      Yes and no. If you run a lot of servers, you can build things like stage4 (ok, this should work with every distro) and catalyst installation images, where you kinda build your own distro.

      3-Gentoo's Stability Strategy: Update Everything

      No and no. Now we can see that the author didn't RTFM. Portage is very well documented. Everyone Gentoo user knows that profiles don't get replaced if you edit the RIGHT configuration files. That's why there are files like /etc/make.conf and /etc/portage/package.*. Information you put there wont change!
      If you edit the system defaults used by portage, it will be replaced by an update.

      The author mentions something about configuration files being replaced. That's another wrong comment. There are system protected directories that don't get replaced, and a tool called etc-update to manage the updated files and content that you want update.

      4. Gentoo's Security Strategy: Update Everything

      Try the server and hardened profiles.

      As you can see the author didn't read the basic documentation for the system he's using. IMHO, that's stupid.

  78. Not right for me != Harmful by bWareiWare.co.uk · · Score: 1

    Nice flamewar. His basic complaint is that Gentoo is biased to using the latest versions of packages, and he wanted a system the base library's don't change so often. (The installers and binary packages already address all his other points).

    Whilst I accept that once you have fallen in love with Gentoo on the desktop it is easy to want to use it everywhere, you still have to have the right tool for the right job.

    I run a public web server with a database server, and a workgroup file server. These need good reliability but more important very low maintenance; hence I have chosen not to use Gentoo.

    I also run a public email gateway, where knowing that I am getting the best from the old hardware and ensuring that the whole system is security patched and running cutting edge spam filters makes Gentoo a valuable choice.

    I also run some application servers that run custom code on top of fast developing OSS projects, these are running unstable profiles, with packages pulled from overlays. Here Gentoo is a godsend.

  79. Nope by Anonymous Coward · · Score: 0

    you can't download a known good set of fingerprints/hashes/checksums (md5/sha1/whatever) to compare the system against...so from an _auditing_ point of view gentoo is a definite no no.
    Gentoo also offer binary packages and the GPG signed manifest will contain almost every hash function under the sun. Of course, if you 're doing that you may as well be running debian.
  80. This whole argument is trivially debunked by FreeUser · · Score: 2, Insightful

    The whole argument of "Gentoo 'wants' you to update a lot of things" is trivially debunked. Gentoo isn't a distro per se, it is a meta-distribution. I have worked in environments where Gentoo was used on servers, desktops, and what have you. The "solution" to Gentoo's frequent changes is simple: maintain your own portage tree mirror, which you keep frozen until you are good and ready to roll out the next major update (which of course you only do after extensive testing, like any Suse, Red Hat, or debian update). You define your own in-house releases, not Gentoo (and you graft security updates to your own tree as they come out--this isn't difficult, as each security update is announced by package).

    This is trivial to do, and leads me to suspect the person putting forward the argument against using Gentoo (or any other well-engineered distribution) on servers either has an agenda, hasn't taken much time to ponder the issue, or doesn't understand the technology.

    --
    The Future of Human Evolution: Autonomy
    1. Re:This whole argument is trivially debunked by woolio · · Score: 1

      Indeed...

      Although I suspect some people are annoyed when gentoo maintainers release 5-10+ versions of the same version of a package. (I've noticed this particularly with the kernels). It doesn't bother me, especially since some of those releases are including recent security patches (to the same kernel version). Of sometimes its because they screwed up on a kernel for a different arch and everyone else gets to update.

      At one time I tried using Redhat Enterprise Linux (v3 I think). Although they did release updates, some packages were extremely outdated (such as "xv" for viewing/editing pictures). I don't remember vnc being included either.. I ended up with 6-10 rpm files that I had to download and install rather than get from redhat -- which means no automatic updates. I don't particularly like that.

      Gentoo has the same risk, but (currently) mostly avoids this problem.

    2. Re:This whole argument is trivially debunked by Anonymous Coward · · Score: 0

      Not everybody works full time as a sysadmin to devote the time to maintain a separate portage tree.

      I use Debian, and instead of maintaining a separate tree, `apt-get install PACKAGE` works 99% of the time.

      Fast and easy.

      If I had to maintain a lot of machines, full time, with lots of customizations, I might give Gentoo a try.

    3. Re:This whole argument is trivially debunked by Anonymous Coward · · Score: 0

      "and you graft security updates to your own tree as they come out--this isn't difficult, as each security update is announced by package"

      The problem I found with Gentoo is that, for the most part, a "security update" is *not* a "security update" but an "application upgrade that happens to fix a security problem too".

      Not to say that you don't make good points, but then your solution "maintain your own portage tree mirror, which you keep frozen until you are good and ready to roll out the next major update" is in 99 cases out of 100 absolutly equivalent to "mantain your own distribution: *that* will fit your needs". But maintaining a distribution is quite an expensive task that you should avoid if possible. What if you find you can share your distribution with the company living next door? It obviously will reduce costs by sharing them together. And what if you find you can share it with ten other companies? Well, you just extend that idea and you will see where it leaves you: using a "real" distribution instead of a "meta" one.

      "This is trivial to do"

      Heck no! Maintaing your own ports tree, with tested security patches that won't change functionality so your environment doesn't break but just asset those security menaces it's not trivial. Not even Gentoo engineers themselves seem to be able to do it, so go figure.

  81. You *must* do controlled, conservative refreshes. by thesandbender · · Score: 2, Insightful

    Seriously the "if it ain't broke don't fix mentality" is what pays my bills.

    There are two kinds of "broke", there are gaps in functionality ... e.g. migrating from Apache 1.x to 2.x... and then there are bugs that haven't affected you yet but are still in the code base. Just because you haven't experienced any problems yet does not mean there aren't any underlying problems in the packages you're using.

    Case in point. The company I work for is in a mad dash to upgrade for the DST time change. And for those of you thinking "duh, you just upgrade your timezone files"... no it's not that easy. Some Sun systems require firmware upgrades, almost all of the systems prior to 2005 require binary updates because they can't handle a timezone that has two rulesets (e.g. they would apply the new 2007 rules to timestamps from 2005), most JVM's have to be patched or upgraded and some applications inexplicably do their own calculations and have to be update as well.

    The majority of the company has the "if it ain't broke" mentality and were running everything from NT 4.0 on DEC Alpha's and Sun 2.4 to Windows 2003 64-bit and Solaris 10. Upgrading the older machines is an absolute nightmare because the vendor patches are built one, two even three years worth of patches that we haven't applied. What should be a relatively simple upgrade task has broken applications all over the place and has our QA and Engineering staff bleary eyed and ready for it all to just end.

    The answer is controlled refresh. Twice a year you sync up your servers with a certain patchset. You don't go crazy... you just get vendor required patches and include them in your dev and qa cycles. And you DO NOT USE EOL OS' in an enterprise environment. Ever. This includes commercial and FOSS packages.

    Full Disclosure : I run two gentoo boxes at my house my workstation and my mythtv box. I patch them about once a week because I like to tinker. My web/file/mysql server is running on a stripped down Debian system that only gets patched every few months or if there is an advisory that comes out.

  82. Not if you're using Debian by Rix · · Score: 1

    If you're running Debian stable, almost all of your software will be quite out of date. Not just a little bit, but a lot.

    1. Re:Not if you're using Debian by arivanov · · Score: 4, Insightful

      Which is exactly the way I like my infrastructure. 3-6 months freeze with all bugs known, worked around or fixed in the meantime. Once I have gotten it to this point I build on top of that for the actual services which can run something very bleeding edge if necessary, but this is as I pointed out "your daily bread". For the stuff that is not, you need to be sure that it works and if you are a manager to be severely anal about it. So debian stable + 2-3 unavoidable backports and local builds is about right. This is also the reason corporations buy RedHat ES/AS/WS like hot bread. They finally see a model where the base has been frozen long enough to be relied on for building your own services.

      Many itadmins and most developers have a problem with understanding of the "establish a platform and build on it" and "platform freeze before development" ideas. They think that everything is a fair game and the results (in man hours wasted on piecing everything together for release) are usually quite obvious.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
  83. Absolutely... by Junta · · Score: 1

    And this shouldn't be considered offensive by Gentoo proponents. The fact is, on production servers, you need to run distributions that have legacy baked into their methodology and that do not have a conflict of interest or obvious impediment to such an effort.

    Gentoo's aim *clearly* is keep up to date with upstream constantly, plus add some patches for pending bugs, and the end user is smart enough and willing to put up with the inevitable pains in the ass that result from such an effort to always be cutting/bleeding edge (yes, Gentoo occasionally lags on a package depending on maintainer/build difficulties, but the goal is clear). The only periodic release you could remotely keep pace by is LiveCD releases, but the reality is that any given day may be significantly different in functionality/ABI compatibility than the previous and/or next. That is a fine segment of the population to target who will not be satisfied by anything that would be 'production appropriate', and Gentoo can't cater to both those and long-term production environments. I've been saying the same thing about Fedora Core (to a somewhat lesser, but still important extent), and the whole breakdown over 'Legacy' really proves that trying to maintain a cutting-edge distribution that releases frequently makes it nearly impossible to satisfy the needs of those not on the cutting edge. Add to that Fedora Core has a fair amount of RH directing the path of FC and you have a conflict of interest. OpenSuSE I can't directly speak to, but with being driven by the same company as SLES, I suspect OpenSuSE's situation is in line with FC.

    As far as free 'production' appropriate distributions, so far the only "proven" ones are RHEL repackagings (CentOS high on the list, they deviate the least, others based on RHEL deviate more to differentiate themselves, and depending on that deviation things could get troublesome) and Debian. Now Ubuntu with Dapper has a stated goal of maintaining a release for years, so the stated goal aligns with this need. Add to this that ultimately Canonical is a commercial entity with a vested interest in Ubuntu LTS being embraced by their customers, and it seems likely Dapper will belong on this list. However, not enough time has passed to know yet.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  84. This isn't new by C_Kode · · Score: 1

    I've known this for a long time. I like Gentoo, I just don't like the overhead that comes with it. (compile time) In my current position, all the Linux servers were Gentoo. I'm slowly replacing them with Redhat Fedora or RHEL depending on the job they preform. One of the Gentoo boxes was being attacked so I off-lined it, imaged it onto identical hardware to run an update on it (it wouldn't update until I put the new profile on it 2006.0?) and see how it went. Everything stopped functioning as it had. Needless to say, it now runs Fedora and I update what needs to be updated and thats it.

    I like Gentoo, but in a production environment. It's way of doing things becomes a real issue.

  85. Ummm by Anonymous Coward · · Score: 0

    Please tell me you didn't need an article to know that you shouldnt put something like that on a server. And I mean a server, not your home built garbage.

    You put supported operating systems on servers, period. That doesnt mean you need a support contract. That means it's in the vendors list of supported operatings for your hardware.

    And if you can't afford the real thing, get a repsin.

    End of story, or it's gonna be the end of your job.

    Gentoo..please...save it for your uber box at home..

    And I don't need to read the article...

    A little harsh but this is real life, don't put your company at risk, this isn't school...no one should have to teach you this or hold your hand..

  86. RedHat's strategy is different by Rix · · Score: 1

    They'll take an old (stable, well tested) build, and backport any critical features/security fixes. This is a non-trivial task.

    Debian, in my experience, just leaves the old build in place, leaving you stranded if you need a new feature. If it's only one or two things, sure, Debian would be fine. Usually it's much more than that, which throws Debian out of consideration.

    1. Re:RedHat's strategy is different by dondelelcaro · · Score: 1

      Debian, in my experience, just leaves the old build in place, leaving you stranded if you need a new feature.

      If you need a new feature from a new version, you have to upgrade to the new version of the package. Backports with the new versions are made available against the stable distribution all the time, often by the actual maintainer of the package. However, you do this only once when you actually need the new package, and then you track the security updates for that package.

      If it's only one or two things, sure, Debian would be fine. Usually it's much more than that, which throws Debian out of consideration.

      If you're backporting more than one or two things, you probably should be rethinking what you're actually running on your server. Running non-trivial changes to software in production that hasn't been tested for at least a few months is insane. But in the end, it's your system, your time, and your problem. Use what you want. I'm just telling you what I actually do and why I do it.

      --
      http://www.donarmstrong.com
  87. I'm an IT Pro. I use Debian on my servers by jocknerd · · Score: 1

    Although very few use Stable. Most are using testing.

  88. Could you Plug My Blog Too? by basking2 · · Score: 1

    Siker writes in to point out his blog post... This is just silly, /. editors.

    --
    Sam
  89. Is it really Gentoo's fault? by shadoelord · · Score: 1

    I can't help but think, is it really Gentoo's fault? The majority of bugs I see on my server are related to the packages them self, not Gentoo in any fashion. If the gnu-tar group releases a 'stable' release (1.16.1 has a serious bug with gnu incremental backups), how much testing should the 'tar' group put into their software vs. how much testing should go into every distro?

    If you want to be super anal about things, then you would run your own barrage of tests before updating your 'live' servers.

    You get what you pay for....

    --
    this is my sig, there are many like it, but this one is mine.
  90. Welcome to the 21st Century by jalefkowit · · Score: 1

    From TFA:

    I firmly believe in updating server software only when you need to. If you don't need new features, and things are working, why change anything? If you update anything you will undoubtedly need to update configuration files. You will need to fix things that break in the upgrade process.

    (Emphasis mine)

    This kind of thinking made sense in 1995, when your servers were only hooked up to the office LAN. But now it's 2007 and they are hooked into a global network, on which millions of nefarious people are working hard every day to find new ways to crack systems.

    This makes the "if it works, don't update it" line of thinking not just misguided but actively dangerous, because it means that you're not keeping up with security fixes that are issued to close avenues of attack that were never envisioned when the product first shipped. (Unless those fixes are included in the author's definition of "new features", that is. But I kind of doubt that.)

    In short: "get it stable and leave it alone" is 20th century thinking. It's out of date for any system that touches the public Internet.

    (Note that this is not an endorsement of the "update everything" philosophy as described in TFA. You should still know what you're updating, why you're updating it, and how things will change after the update. But "no updates" is just as silly as "update everything", IMHO.)

    1. Re:Welcome to the 21st Century by smash · · Score: 1

      This kind of thinking made sense in 1995, when your servers were only hooked up to the office LAN. But now it's 2007 and they are hooked into a global network, on which millions of nefarious people are working hard every day to find new ways to crack systems. This makes the "if it works, don't update it" line of thinking not just misguided but actively dangerous, because it means that you're not keeping up with security fixes that are issued to close avenues of attack that were never envisioned when the product first shipped. (Unless those fixes are included in the author's definition of "new features", that is. But I kind of doubt that.)

      Erm, i don't think the poster was meaning to skip security updates. An insecure machine is not "working just fine" in my book, and security updates are a seperate issue to chasing application versions.

      You get it working and *leave the system alone* except for security fixes. Any halfway decent server O/S will provide you with the option for security-only updates that do not make changes to functionality at all.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  91. well duh... by smash · · Score: 1
    In a production environment, I can see zero reasons to go with Gentoo. Whilst i'm sure there's going to be plenty of people claiming "if you can't use it you shouldn't be a sysadmin" or "it's so optimised" or "use flags rock!!", etc - all of those things are missing the point.

    On a server that needs to be stable, in a production environment, you want to minimise the possible variables to deal with, minimise your exposure time to known threats and minimise the possibilities for making mistakes.

    By compiling your own binaries, sure - if you're really anal you can examine the source to each and every program to make sure it's not trojan-ed. Sure, you can tweak use flags and optimisation flags as much as you like. However, if you do that you're running binaries that are probably quite different to the majority of the rest of the gentoo population.

    If something goes pear shaped, who's problem is it? Is it an issue with your compiler? Your hardware you used to compile with? Your use flags? Your optimisation flags? Some obscure library out of date? Who knows? And when it's broken and down for a few hours, your boss' opinion is likely to be "who cares? just fix it".

    If you're running a "known good" binary that has been compiled with "known good" flags, you minimise all that.

    Sure, it won't be optimised, but 99% of the time with today's hardware, it doesn't matter a shit. And *if* it does, locate the bottleneck/hotspot and optimise *that* package only so you can keep the rest of your system as close to "standard" as possible, and you'll reduce your exposure to "wierd" problems that most other people don't encounter.

    I don't have any issues with Gentoo as a distribution, but seriously, horses for courses... I wouldn't personally choose to run OpenBSD as a multimedia desktop. By the same token, I wouldn't suggest running bleeding edge roll-your-own gentoo (roll-your-own-compile-flags FreeBSD for that matter) on a server, either.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  92. Not remotely accurate... by Junta · · Score: 1

    Every backported fix I have ever seen either doesn't need to change hardly at all or changes in very well-thought out ways to be applicable to the old version. I've even seen fixes that take the 2.4 2.6 (yes it flows both ways) path. They are radically different in some ways, but not so different as to make code completely irrelevant.

    I've ran many distributions and supported them in large deployments, and did similar for Gentoo in small small deployments (workstations and a rare server). Gentoo's approach by *far* leads to the most babysitting of updates and the most downtime (and most of it unanticipated) post-upgrade. revdep-rebuild was created to deal with the obvious linking implications of ABI-breaking library upgrades, but you have to examine and contemplate a pending update list to predict how things are likely to break, and then deal with the breakage. If you aren't careful, you suddenly end up with a new major version of your DB server and have to deal with that, or an Apache update that requires you rebuild your plugins. Though more often by design than by accident, nearly blindly following upstream causes more headaches than not.

    What you get out of Gentoo is that 99% of the time, you have the latest features package X has to offer. For production environments, this is almost never important across the board, and rarely is it important even for a particular package. This has its place, but not on production servers. On production servers, you shouldn't need to devote a large time to updates *and* suffer such downtime as a consequence, and you should *always* know without much of a thought if you are about to do a major upgrade with implications or a minor update that is not likely to cause major issues.

    --
    XML is like violence. If it doesn't solve the problem, use more.
    1. Re:Not remotely accurate... by G+Morgan · · Score: 1

      You realise that you can pin critical applications at a specific version in the package.keywords file.

    2. Re:Not remotely accurate... by Anonymous Coward · · Score: 0

      "You realise that you can pin critical applications at a specific version in the package.keywords file."

      You realise that then you won't have critical bugfixes on such critical applications.

    3. Re:Not remotely accurate... by Anonymous Coward · · Score: 0

      Why do so many people who haven't used Gentoo feel the need to try to tell Gentoo users how their distribution works?

      What you are saying is simply not true. You can pin critical applications at specific versions, you can pin at specific revisions, or you can pin at major versions. So if going from 3.5 to 4.0 causes trouble, you can mask >4.0 while still getting 3.x updates. If going from 3.5 to 3.6 causes trouble, you can mask >3.6 while still getting fixes for 3.5. If you need specifically 3.5.1, then you can pin to that version and still get security fixes of the form 3.5.1-r1, 3.5.1-r2 etc.

  93. It's a good interview question. by pointbeing · · Score: 1

    ...I don't know what the hell it is with Windows-only admins and rebooting. The kind of instability that required reboots all the time was reduced drastically with Win2k and win2k3, yet that insatiable urge to reboot first and ask questions later still plauges my Windows-only counterparts.

    It's still a good test when interviewing prospective Exchange/MS SQL/Windows admins. Ask them how to troubleshoot a fairly common scenario and if they mention the word reboot they go into the 'do not hire' pile.

    --
    we see things not as as they are, but as we are.
    -- anais nin
  94. I completely agree by Apreche · · Score: 1

    I was a Gentoo user for many years, now mostly an Ubuntu user. I still have one server I need to migrate. Let me tell you. I set it up with Gentoo a few years ago and never updated it. Now, it is impossible to update it. Absolutely impossible. If I simply try to emerge sync, the whole thing will probably die right there and then. Gentoo has its place and use. It's a great desktop OS if you can spend a week or so configuring it to perfection. It's a wonderful developer's OS. Probably still the best. It's a great OS for a development server. A production server it is not, nor ever will it be.

    --
    The GeekNights podcast is going strong. Listen!
  95. Gentoo On Server Considered Harmful??? by Anonymous Coward · · Score: 0

    Wtf did that guy think, putting a completely ignorant statement into a headline? He obviously has NO whatsoever experiences with gentoo

    Yes, it takes time to install, yes it occasionally breaks on updates, yes you should be updating very often to maintain the system (as ebuilds are gone very fast when new versions come out).

    But harmful? Are you serious? Did you ever try to install subversion on a 3 year old redhat/debian/suse/... box? It's simply not possible, because you do not have the libs needed.

    Did you ever have managed multiple servers over a long period of time? You'll see: Every distribution except gentoo has to be completely reinstalled from scratch every 2-3 years.

    Once you reinstalled some 10 servers or so, you'll gladfully thank gentoo for it's very existance.

    I manage about 20 boxes, all with gentoo. I update a dev machine, sort out the problems of the upgrade (if there are any) and then transport this to all the other servers in no time. Mostly using binary packages.

    I haven't reinstalled a single box since using gentoo, and that is certainly not considered harmful

  96. compile from source by Anonymous Coward · · Score: 0

    I thought a lot of people were like me. For servers (especially facing Internet) I want nothing but a stable minimal base o/s from a distribution.

    Then I build from source all and any services that I need such as web server, mail server, database server, etc.
        That way I know that I have the latest available, with exactly the options that I need with exactly the dependancies that I know about.

  97. yadda yadda yaddy by Anonymous Coward · · Score: 0

    Nobody fucking cares about those kinds of things except the people you listed that are "stereotypical" Gentoo users. So, get over the fact that Gentoo is specialized for only certain types of people who want to put up with it. I use it, but you're not going to see me putting it on my servers.

  98. Yet another... by Anonymous Coward · · Score: 0

    ...post from a user pretending to be a sysadmin.

  99. Agreed, I did this... by fak3r · · Score: 1

    This is the reason I dropped Gentoo for FreeBSD on my server back in 2002. I had used Gentoo for a bit then, as it was very new, and loved it on the desktop so I put it on the server, but as described I was constantly fixing things due to updates. Enter FreeBSD and its ports system; I'm in heaven. For me it's *the* server platform if you don't need Solaris, and unless you need to run Oracle I can't see a reason why anyone would really *need* Solaris, unless they just like paying too much for hardware!

    fak3r

  100. Easy to use GUI & CLI alternative for etc-upda by Corporate+Gadfly · · Score: 1

    dispatch-conf is an improved tool for managing configuration files.
    I have had good luck with app-portage/cfg-update. I have no experience with dispatch-conf.
    --
    Corporate Gadfly
    Jonathan Archer: the most beaten up Enterprise captain in Star Trek history
  101. Uptime for a Gentoo desktop machine by Corporate+Gadfly · · Score: 1

    Here's the uptime for a Gentoo desktop machine.

    --
    Corporate Gadfly
    Jonathan Archer: the most beaten up Enterprise captain in Star Trek history
  102. Gentoo FTW by Rukie · · Score: 3, Informative

    Gentoo has long been considered a hobbyists flavor of linux, and as much as I enjoy Gentoo as a hobbyist, I've come to learn that a slim hardned version of Gentoo will have almost no trouble at all. A slim server that requires minimal amounts of packages requires minimal amounts of updates, and runs extremely well.

    I also love that Gentoo has THEE quickest reaction time to security updates, leaving your competition vulnerable and you safe. I've got multiple computers running gentoo. One is my home desktop that I didn't use for probably 2 months. In that period of time there were 800 packages that had to be updated, I'm now down to about 200 that I still have to finish, and that is exactly what this article talks about. However, a server won't have that many packages to begin with because it won't have gnome, kde, beryl, nvidia, dvd support, mythtv and other optional programs, and games! However, my gentoo server, left alone for 2-3 years probably would require everything to be updated, it would flow much more smoothly than a desktop update.

    Gentoo is great on serveres as long as you don't have everyting installed. Gentoo is great on desktops as long as you keep upgrading. Gentoo rox.

    --
    Support the source, Open Source! An entire site developed with OSS
  103. Use the Right Tool for the Right Job by Kelson · · Score: 0, Redundant

    If you want a server, don't use a bleeding-edge distro. Use a stable one like Debian, RHEL/CentOS, etc. If you want something up to date, then use something like Gentoo or Ubuntu or Fedora.

    Is it just me, or is this an obvious conclusion?

  104. Because of security updates by Zaharazod · · Score: 1

    "I firmly believe in updating server software only when you need to. If you don't need new features, and things are working, why change anything?"

    I agree... so why does this preclude using Gentoo?


    Because sometimes you *have* to update, to fix security problems. Ideally, you want those updates to change as little as possible, other than to patch the hole. This is why e.g. Debian stable releases are an *advantage*: if you're using stable, the versions of the software you have will never need to be updated - security fixes are *backported* into the versions tested and blessed for that stable release.

    If your idea of fixing security problems is to update to the latest upstream version, you will eventually get bitten by this: either you'll end up updating dependencies to match upstream's expectations, or you won't and you'll end up with incompatibilities on your system.

  105. That's because of ancient knowledge, that is by Sigg3.net · · Score: 0

    The Koan of Proximity of Genius Effect
    The Master walked into the room and watched a student power-cycle a machine several times in hope of getting it working.
    The Master approached the student, hit him upside the head and declared: "Idiot! You cannot simply power-cycle a machine and expect it to work without having any idea what is wrong!"

    Then the Master turned the machine off and back on. And it worked. The student was enlightened.

    1. Re:That's because of ancient knowledge, that is by toadlife · · Score: 1

      Is there a formal name for people who inexplicably cause computers to malfunction just by being in their presence? We have a couple of those here.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
  106. One Size Fits All by bill_mcgonigle · · Score: 1

    C'mon, now, you should recognize religious war baiting on Slashdot by now. This is where a quarter of the readership spends hours yelling at each other about how their one-size-fits-all solution is superior in all situations, generating ad impressioons, and nobody recommends a requirements analysis.

    Things subscribers can now see in the queue: vi Considered Harmful, MySQL Considered Harmful, and bash Considered harmful.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  107. Work with them by Anonymous Coward · · Score: 0

    At work here, I have to do a lot with DOS. Knowing this tendency to reboot things, I've added several fixes for common problems to their autoexec.bat files, so that the machine automatically fixes lots of random things if they're broken every time they reboot it.

    Sometimes, when possible, it's just easier to work with their natural tendency than against it :)

  108. Change your config each update? Maybe with Gentoo. by reed · · Score: 1

    Hmm, that's funny, I update/upgrade my Debian 'stable' server periodically, and have never needed to edit a config file.

    I update/upgrade my Debian 'unstable' workstation all the time, and only occasionally have to double-check it's update of my config files.

    It basically just works....

    Reed

  109. updates GOOD, or security BAD by bastardblaster · · Score: 1

    Whoever wrote this has obviously never set up automated updates for any number of computers. one basic option of almost all update programs is to not upgrade where the configuration file has been updated. And not updating just because everything appears to be running fine is a security nightmare, as most updates, especially for server-side programs is exploit/security updates, not "new features" Besides all that, its not too hard to do a diff between your .conf backup and the new .conf. (if you aren't backing this stuff up, and you're complaining about updates, not only should you quit your job, you should never boot to anything but windows)

  110. From Gentoo... by pionzypher · · Score: 1
    --
    I'll believe in corporations having personhood when Texas executes one... - advocate_one
  111. I Disagree by Irvu · · Score: 1

    In looking over the list of complaints this article has he makes some good points I think that his complaint is not about Gentoo so much as specific tools he would like to see:

    1-2 Gentoo is too time consuming to install.
    Basically he is complaining about the lack of a redhat-like or debian-like graphical installer. While such a thing does exist for Gentoo it is in the earlier stages. Moreover for anyone seeking to exploit the power of the system you will have to take time. One of the primary time-sinks in the install process is the setting up of use flags which the author lauds just a few paragraphs earlier.

    From past experience both with RedHat and Debian they were easier to install but lacked the fine-point control that came with thinks like the use flags.

    3-4 Update Everything
    Again this is more of a complaint about specific tools and not quiote true in my opinion. Firstly Gentoo does not require that you update everything either for security or simple maintenance. The profile system does not "force" a change every day or even every year. Profiles have a long-term use and a support cycle much like a Debian release. After a specified period (most recently 4 years) I was informed that I should upgrade my profile or lose some support. That is no different than the messages that I received from RedHat back when I used them.

    Similarly, emerge allows you to specify packages on a finer level than "world". This means that yoy do not have to upgrade everything or nothing in a single go. Yes some packages (e.g. Mysql, and Xorg) carry a heavy burden of dependencies with them and will cause a large number of dependencies to come with them but it is up to the sysadmin to update them if they so wish.

    Gentoo has existing features (consistent with its package system) to enable a sysadmin to freeze some or all of the packages. These include the packages.unmask, packages.mask, packages.use, and portage overlays whick allow you to freeze the individual packages at a set version and prevent them from being upgraded automatically.

    With the specific security updates, I will grant you that gentoo does not, yet, have a single tool for simply "executing security updates at the commandline". There is ongoing work on integrating the GLSA tools with emerge. It would be nice to have them.

    While I do think that this guy tested Gentoo before using it I think that he missed a few details in his study.

  112. Better for Servers than Desktops by Maltheus · · Score: 1

    I have five Gentoo boxes and while they can be a pain in the ass to update (especially given the hell that was portage in 2006), I find that only my server upgrade is problem free. Servers shouldn't be running much software in the first place, as long as you keep X off, you shouldn't have many problems with it cause you aren't updating that much.

    I have considered switching my workstations over to Gentoo, but my server will always be Gentoo. It's the only computer exposed to the outside world so I want to be sure it has the latest updates. It also seems like with any other distro, you have to reinstall everything every few years or so and I don't want to deal with that downtime.

    On frequency of updates, if you plan to ever go more than a month without updating, then you shouldn't be using Gentoo at all. And whereas once a month use to be good, I'd say 2 to 4 times a month is in order now. You may not need any of the updates but the longer you wait, the less likely you'll be able to update at all.

  113. Do it if you want by Thumper_SVX · · Score: 1

    My feelings? Do Gentoo if you want to; but do it sensibly.

    Myself, I run Gentoo in a very small environment. However, I do it in a way that makes things stable, effective and reliable. Simply, my customer has a couple of big meaty servers that run VMware ESX. This provide the stable base. Then the actual work servers are each virtual machines in fault-tolerant instances. Each virtual server has only a small amount of RAM, disk space and resources and each runs a particular service or collection of related services (depending on SLA). Each work server is a Gentoo box.

    In this way, if you need to do an upgrade on your email router (an hypothetical box that merely routes mail, not stores it) then you can do your "Gentoo magic" and upgrade it without affecting other services (such as HTTP, or file storage, or... you get the picture). As a bonus, before you start you can snapshot the server so that in the event of a borked upgrade you can roll back immediately and your customer's downtime is kept to an absolute minimum.

    It seems to me this is a great way to do things. At the moment, said customer's ESX servers are around 380 days of uptime (last downtime was due to environmental issues, not server problems), and each of the virtual instances vary between the max 380 days of uptime and only a couple of weeks. At least one of them has had a rollback (the file server), but the files the customer used were actually on a SAN volume so they weren't part of the snapshot. Said rollback was because of a borked Samba installation, and time from identification of the problem to resolution was in the minutes. As soon as I realized it was going to take some work to fix, I pulled the trigger on the rollback and tried again during the next maintenance window (which succeeded by the way).

    So long as you manage it correctly, why not use Gentoo? It's certainly the most likely to be secure since it can be as fat or slim as you like, and has all the latest security patches almost by default.

  114. Works on my server by supertux · · Score: 1

    I can see where the author is coming from. I've replaced my Redhat 6.2 colo server with Gentoo 2003.0 4 years ago and have not looked back. This server has a couple hundred thousand uniques visit various hosted domains every month. It isn't mission critical, but it is important enough that if it goes down I get calls nearly right away from people wondering what happened to their stuff. (I've been very unlucky with my choice of hard drives)

    I had two big problems with using RedHat.

    One, it was amazingly incredibly out of date after a year. When too many newer packages wouldn't install on the system, I'd update to a newer redhat, but then I'd have to take huge amounts of time reapplying and checking all the various customizations I had made to the previous install. I hated doing that.

    Two, RedHat did not provide RPMS for what seemed like most applications that I wanted on the server. This invariably meant that I was compiling what I wanted from sources, and so I had to deal with library hell anyway. There are other repositories for packages now like via Yum... but the last time I checked (and this has been a while ago) most of the obscure packages I like to install were not in the repository, but they are in portage.

    Anyway, in those 4 years of running Gentoo on the server, I have had a couple of traumatic experiences.

    One of my profiles was deprecated and I had to switch to a new updated one, and there was a good deal of configuration breakage.

    Some time ago, the gentoo folks decided to change they way apache behaved and since I wasn't diligently keeping up with new changes, my apache server was down for a while while I figured out what happened. There was good documentation, I just didn't pay attention.

    The gentoo folks switched from using Xfree86 to Xorg at some point, and I spent quite a long bit of time recompiling everything X and getting that sorted out.

    I also got bitten by mysql upgrade issues when going from 4 to 5 that brought down my service for a while.

    One annoying thing that happens fairly often is a lot of peoples websites break when I upgrade php. But I at least have it down pat enough to force upgrade several users photo galleries when I upgrade.

    Besides for hardware issues, those have been my biggest issues while running gentoo on a server these past 4 years.

    The benefits I get are of course being able to easily install pretty much any open source application I want which is just killer. Because I have a multiuser server, I also originally set up gentoo to be hardened. I had enough issues with lame users trying to get root with their shell account that I truly appreciate the benefits of a hardened install.

    I do know that it is one thing to use gentoo on one server you pay a lot of attention to rather than deploying it on a lot of other servers that you probably don't want to pay so much attention to. There are tools and procedures in place to make multiple gentoo deployments reasonable. Building binary packages on a development system and deploying them to the production systems would be a must. I do that a lot on my home systems and it works well.

    Oh yeah, I've been running on unstable this entire time. When I first set up the system I didn't realize you could run stable and then grab a few unstable packages. Oops.

    -Supertux

  115. Again... by Junta · · Score: 1

    You have to a) realize what packages must be pinned and b) forgo any potentially badly needed updates for that package until you are thoroughly fucked and you realize you have a problem. The good thing about having a trusted update source that won't pull in upstream blindly is that you *don't* have to worry and you *don't* end up on forums looking for the reason why X went south and what release Y ends up addressing your problem, at which point you *then* have to do the update you were fearing in the beginning.

    Pinning versions is *not* a solution. Just accept that Gentoo is *not* appropriate for the discussed environment because it caters to a different group than that. It does what it aims to do well and shoehorning it everywhere because you like it on your personal systems is simply not good.

    --
    XML is like violence. If it doesn't solve the problem, use more.