Debian 7.0 "Wheezy" released
debian.org
debian.org
As an aside, it's really interesting that the word 'Linux' is mentioned only once on this page - and only after the kFreeBSD kernel.
nginx on ubuntu now uses /usr/share/nginx/www
i wonder how long these conventions will continue to be all over the place.
/srv contains site-specific data which is served by this
system.
http://www.samba.org/~cyeoh/pub/fhs-2.3.html#SRVDATAFORSERVI...Unfortunately, /srv/ is often ignored. Good move by Debian to make this change, and hopefully this gets the ball rolling for other distros.
/srv is a bit questionable to me. Basically it's another /var. I always used directories like /var/local and /var/share (sambd and nfs shares). However, I am understanding the FHS crew wants to freeze the /var filesystem because it was getting too crazy with all kinds of stuff being placed under /var, and the likelihood of conflicts was getting high.
But I think /srv actually makes more sense as /var is often on separate disks because /var/lib/ gets very IO heavy.
Especially some commercial and proprietary software that runs on Windows, HP-UX, SCO, AIX, Solaris and Linux tends to go the "easy way" of packaging and just put stuff in one place on every system.
This is merely a convention, not set into the 2.3 standard apart from the naming 'tertiary hierarchy' otherwise implying this, but it's nonetheless a widespread enough convention — notably in use by every single configure/make/make install (and more) source distribution out there, whose default PREFIX is /usr/local — that we can expect it to be standard behavior.
I also prefer having packages with their own hierarchies under /opt, rather than /usr/local/<package> -- in general stuff under /usr/local should put their binaries in /usr/local/bin -- their manpages under /usr/local/share/man, headers and libraries in the corresponding places -- so that I don't have to mess with my PATH settings to be able to run a command, look up a man page or link against a library.
Sometimes software isn't packaged for use on a posix-like system -- and then I might have to do some dancing to get it to work -- I usually prefer having such programs under /opt/<program-version>.
I do have another folder under local: /usr/local/xstow -- so I can easily compile packages and manage different versions under /usr/local/xstow/package-x.y.z.
Most vendor supplied software is by tradition installed in /opt, for which we should be forever thankful because most software vendor wouldn't recognize a properly packaged piece of software even if it jumped up and bit them in their arse.
Oracle was in the early days installed in /u01 with data- and log-files spread out over separate disks with mountpoints normally named /u02,/u03 and so forth. It isn't uncommon that this naming convention still partially is used on oracle installations.
Today oracle published a standard called Optimal Flexible Architecture (OFA) where all oracle products should be installed under a common top-level directory.
The oracle universal installer isn't as horrible as it used to be but it isn't a well behaved rpm/dep installation either, at least it claims to have heard about LSB-directory structure even if it doesn't follow it very well.
Similarly for /srv
Remember: the filesystem hierarchy and your underlying storage don't have to correspond.
There are other tricks which can be accomplished by union mounts or similar foolishness.
At least they didn't locate it on the root directory. Mount points should never be on root. See the sources for stat() for the main reason why not.
/boot is typically located on the same disk as root, so that should be ok. /srv and /home, however, would be problematic root mounts. You can use automount to fix /home but /srv should be mounted under /usr or /var.
Mounting NFS or busy disks on the root dir is not a good idea on any server where filesystem i/o performance is an issue.
> This release includes numerous updated software packages, such as:
> Linux 3.2
For anyone else wondering, Ubuntu 13.04 has the 3.8 kernel and 12.04.2 has the 3.5 kernel (https://wiki.ubuntu.com/Kernel/LTSEnablementStack).Zenwalk 7.2 has the 3.2.5 kernel.
What's the point of citing the kernel shipped with another distro here?
Change (well, poorly managed change) causes instability and issues. Debian has proven that they can manage change in their distribution and it makes everyones life easier.
The most common case:
v1 of a package is in Debian stable. v2 comes out, is uploaded to unstable, migrates to testing. Later, v3 comes out, is uploaded to unstable, but its migration to testing is temporarily blocked because it's waiting on a major upgrade, like a new libc version, to make it into testing, which typically is done in a carefully coordinated way.
Now a security issue is found affecting all versions of the package. The upstream will (hopefully) release a patched v3, which will immediately go into unstable. The Debian security team will backport the patch to v1, and make it available to Debian stable users on security.debian.org. But testing is still distributing a vulnerable v2. There is typically no process to specifically patch v2 just for testing, because testing is staged via migrations from unstable; the usual situation is just to wait for blockage to clear and for v3 to migrate. There are occasional exceptions, mostly near releases: if it's determined that v3 won't be able to migrate before the next stable, a specially patched v2 may be uploaded to testing to get it into the next stable.
That scenario doesn't happen that often, but it's worth being aware that testing can lag behind both stable and unstable in security updates.
http://www.debian.org/vote/2013/platforms/lucas
I hope they'll tackle this security issue.
Sorry for the misinformation!
I just found from your link that I had no security repo configured. Just added:
deb http://security.debian.org testing/updates main
UPDATE: Here is a more correct set of settings from http://secure-testing-master.debian.net/ :
deb http://security.debian.org testing/updates main contrib non-free
deb-src http://security.debian.org testing/updates main contrib non-free
Even though they claim that contrib and non-free have no security updates, they are listed for some reason.
I've been using CentOS 5.9 on a desktop quite happily, I just compiled R from source to get a more recent version. Worth mentioning that Iceweasel (aka Firefox) was on the ESR channel so getting updates fairly regularly.
They may be able to pull it off with the kernel, but they can't possibly do it for all their packages. As an example: How are the Django backports to 1.2 more stable than upgrading to 1.3 when the official Django project has stopped supporting 1.2?
Since the release of Django 1.4, version 1.2 stopped receiving security fixes by the Django development team. What that means is that a Debian maintainer (which probably is not a Django developer) would have to hack any new security fix into the unsupported 1.2. And this is deemed more stable than say, upgrading to 1.3.
Note that Django is just an example, obviously there are many more packages with the exact same problem.
But if that works for you, then great :-)
And it works. Most of all fixes are done by A or B, but the promise is one which the security team takes very serious. For one release, the security team backported security updates for 4 years. A achievement of taking responsibility in a "open source" project if I ever saw one.
Besides missing the origianl point, comparing pip to tarballs just seems wrong. One is pretty much manual, the other is via a package manager, albiet not the distro specific package manager, but one specific to the domain you are working within.
"But then why am I using Debian?"
Personally, I tend to stick with everything from debian direct, but there are lots of domain specific developers who'd rather have the up-to-date stuff and I can't entirely fault their desire when we're talking about real world benefits of new versions. You still benefit from the stable base even if you want to run something up-to-date. You don't see the benefit of that?
Going forward from that, you can still pip in specific versions, update projects seperatly, and obviously test them before doing so, so while you may lose some advantages, living in a specific pip world doesn't seem like the end of the world to me, as long as there's a positive reason for doing so.
Which sucks, because application software needs to handle environments with Locale::Maketext 1.19 differently to environments with 1.23, else you get double-escaping bugs.
The response? Reporting the actual, correct module version (or god forbid, sync the comments/POD as well) instead of the incorrect, unchanged version number "would break stuff". As opposed to incorporating a breaking API change without bumping module version, which also breaks stuff... Ouch.
I guess I only have myself to blame, I should be more involved with debian maintenance of packages I care about.
Obviously this is a lot of work (patches, managing dependencies, ...) if you do it for everything, but if you stick to the most important packages (e.g. nginx for your webserver, postgres for your db server, ...) I think it's manageable and will give you a lot of benefits.
(Thinking about the Debian OpenSSL fiasco a few years ago, I guess one could make an even stronger argument, though to be fair it was a pretty extreme case and I don't think anything like that has happened since back then.)
//Edit: I got curious about the OpenSSL issue from 2008 and it turns out that the Debian maintainers weren't solely responsible for the bug[0].
The tone of the top-level comment, I think, is "woah, Debian, you call this kernel updated?"
Rock-solid distros like RHEL/CentOS and Debian are deliberately conservative. Some folks don't like that.
https://access.redhat.com/support/policy/updates/errata/
So I don't think RHEL/CentOS can be compared here to Debian.
Also, you can have newer kernels in the debian backports repo.
I used to run Debian on a PowerPC Mac as my main desktop system and today I still use a "portable server" Palm Pre Plus running Squeeze chroot on a regular basis. In my experience Debian is really great on non-x86 hardware. Too bad the old webOS kernel means I won't be able to upgrade it to Wheezy, at least not easily.
That said, I wish Debian would compete with Ubuntu LTS on longer support for OldStable. (Ubuntu LTS releases are now supported for five years [1] while a Debian Stable release is expected to get three years of support [2].)
Q: How long will security updates be provided?
A: The security team tries to support a stable distribution
for about one year after the next stable distribution has been
released, except when another stable distribution is released
within this year. It is not possible to support three
distributions; supporting two simultaneously is already
difficult enough.
[1] http://www.debian.org/security/faq#lifespanSee also: "Issues to be aware of for wheezy" (http://www.debian.org/releases/wheezy/amd64/release-notes/ch...).
I can probably live with my existing "testing" for say 1-2 months, after which I would like newer packages.
Note that if you have pinning rules, then there you must also change "testing" to "wheezy".
There is no real proper way to do this, other than testing in a VM, or a chroot.
only package that broke the next day after full dist-update was "less" which for some reason will not co-exist with man-db. that was it though everything else updated fine
http://www.debian.org/releases/wheezy/amd64/release-notes/ch...
In another year or so you might want to move to the testing release for a desktop that needs the latest features.
There's a pretty good reason to use Debian on servers because of the long support cycles, but on a desktop I feel like most people are going to probably prefer an Ubuntu setup.
Ubuntu is too... opinionated for my tastes, and other distros are too conservative (CentOS/RHEL) or too wild (Arch, Gentoo). Debian Testing seems to have a high-quality, comprehensive package archive and keep reasonably up-to-date, and if the price to pay is that for six months every two years you get a stable desktop environment instead... no complaints from me.
EDIT: The usual lag between Testing and Unstable is 10 days, except in big, complicated transitions and dependencies (say, when a commonly used shared library is being upgraded to a new, incompatible ABI). Again, I could probably be more up-to-date if I tracked Unstable instead of Testing, but I'd rather wait for Debian to nail down its migration plan in Unstable so I can upgrade smoothly, rather than have the latest and greatest and have to rebuild my own packages occasionally.
[1] To be honest I actually run a mixed system with a few packages (not just oneoffs but big things like xmonad/iceweasel/awesome/git/pandoc/git-annex/gitit) from experimental. If it has been a long time (5-7 years) since you tried unstable you can think of experimental as what unstable used to be.
aptosid is probably a better choice if you want a more stable Sid these days without the Ubuntu kaleidoscope.
All of these have a channel for installing the latest version of their software without having to dist-upgrade.
XFCE hasn't had a notable UI change in years (at least not discernable to me). KDE and GNOME have only mucked things up over the last decade.
Personally, I just use Ubuntu. It's Debian unstable but shinier. :)
To me, switching back from Ubuntu to Debian was a blessing. And I simply cannot understand this need to decrease boottimes. My laptop boots into Debian under 12 seconds. That is pretty fast. Under Ubuntu, I timed it at 10 seconds.
2 seconds boottime? Is that what this upstart/systemd hastle is all about? I just do not get that.
Too me, it still seems not worth breaking a working standard (SysV) over.
P.S. Mint provides only Firefox.
Basically, be wary of "testing" after a release.
http://www.debian.org/releases/testing/
Otherwise you're right - now it probably not the best time to switch to jessie/testing.
I wouldn't worry about LXC support; it's fairly old tech by now, and even the previous stable version of Debian supports it. LXC in Wheezy should work just fine.
The only major issue I can think of with putting servers on Debian is their very very old kernel versions. The kernel in Wheezy is missing a lot of recent optimizations in the networking and filesystem code, and doesn't support user namespaces (important for container-based virtualization).
Ubuntu has a stronger desktop community when you run into problems (largely due to scale), but debian has a strong server community. And the Debian Way of doing things usually stays the same way for years for a given subsystem - google providing advice from 2009 is likely to still be helpful. The ubuntu philosophy... not so much. A colleague wanted to turn off thin scrollbars in the ubuntu desktop, and found that for the last four 6-mo releases, there were four separate ways to do this...
But, on the other hand, ubuntu LTS is better supported by a lot of vendors (eg AWS has an official ubuntu AMI, but no Debian one). It depends on your use case, I guess.
So I recommend to Debian users who use Iceweasel: install a newer version. You can get it directly from Debian Iceweasel maintainers, and instructions are available at: http://mozilla.debian.net
... software packages which are already outdated.