Slashdot Mirror


Debian Elevates KFreeBSD Port to First-Class Status

Reader tail.man points out this press release from Debian which says that the port of the Debian system to the FreeBSD kernel will be given equal footing alongside Debian's several other release ports, starting with the release of Squeeze. Excerpting from this release: "The kFreeBSD architectures for the AMD64/Intel EM64T and i386 processor architectures are now release architectures. Severe bugs on these architectures will be considered release critical the same way as bugs on other architectures like armel or i386 are. If a particular package does not build or work properly on such an architecture this problem is considered release-critical. Debian's main motivation for the inclusion of the FreeBSD kernel into the official release process is the opportunity to offer to its users a broader choice of kernels and also include a kernel that provides features such as jails, the OpenBSD Packet Filter and support for NDIS drivers in the mainline kernel with full support."

10 of 376 comments (clear)

  1. Cool by Faw · · Score: 5, Interesting

    First apt based distro with ZFS? Something worthy of a post about...

    I know about Nexenta, but FreeBSD has more drivers than OpenSolaris, right?

    1. Re:Cool by characterZer0 · · Score: 5, Interesting

      Why would you not want to use APT on a server? What part of automatic dependency handling, automatic unneeded package pruning, easy security update application, and secure package retrieval do you not want on your servers?

      --
      Go green: turn off your refrigerator.
    2. Re:Cool by ToasterMonkey · · Score: 5, Interesting

      There has been a lot of hype about ZFS but what use is it in a desktop system? And honestly, while APT is great for desktop systems, I really wouldn't use it much on a server. So unless there is some amazing benefit for the average user with ZFS why even have this port as a main system?

      You must be kidding. You can snapshot your whole root, or your home directory, or anything and automate it for backups. There is even integration with GNOME's Nautilus to browse ZFS snapshots at the file level. You can create new filesystems and snapshots on the fly, compress them, enforce quotas, export via NFS, send snaps to a remote system or dump as flat file, etc, etc, etc.. if you don't have enough disks to use single or dual parity RAID-Z, you can even have ZFS record multiple copies of each block. ALL of those have uses on desktop or workstation systems.

      I'm not sure if freeBSD supports ZFS root or not, but Solaris does if you want a taste. If anything, ZFS-root is under-hyped.
      When troubleshooting updates, instead of booting into your old kernel with a trashed userland, you can boot into an old BOOT ENVIRONMENT. As easy as picking a different grub entry.

      From OpenSolaris (other ZFS-root capable systems may use different commands, output BUTCHERED for junk filter)
      beadm list
      BE Active Mountpoint Space Policy Created
      opensolaris 25.05M static 2009 04 01 2033
      snv_111b 111.89M static 2009 06 03 1846
      snv_121 38.18M static 2009 08 31 1617
      snv_122 42.10M static 2009 09 14 1522
      snv_124 NR / 19.09G static 2009 10 01 2354

      Those are whole root file system snapshots I can boot, consuming a piddly ~50MB each.

      Junkfilter is retarded.. there is a moderation system for a reason, and this is a technical forum.

    3. Re:Cool by X0563511 · · Score: 3, Interesting

      By the way, there are ways to hold packages too

      This is called pinning, if anyone is looking for the solution.

      or to make lists of packages required, even for your own scripts.

      "equivs" can be used to create empty packages for the sole purpose of manipulating dependencies. I usually use it to kill packages that are otherwise demanded in other important metapackages, though you could also use it to 'hold' dependencies for a broken third-party .deb package.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
  2. Linux vs. FreeBSD by Boawk · · Score: 3, Interesting

    As a UNIX/Linux veteran, I have to admit that I've almost no experience with FreeBSD. Could someone summarize why one might prefer it over Linux?

    1. Re:Linux vs. FreeBSD by blind+biker · · Score: 5, Interesting

      One thing I noticed: a working and consistent sound system.

      --
      "The agriculture ministry is not in charge of Gundam" - Japanese ministry official.
    2. Re:Linux vs. FreeBSD by poopdeville · · Score: 4, Interesting

      On the other hand, maybe Debian really can improve on the FreeBSD experience; apt rocks, and the Debian project does perhaps a better job than anyone of combining the disparate parts of the GNU/Linux ecosystem into a coherent operating system.

      I am not a big fan of the BSD userland, and I typically install "prefixed Gentoo" on my Macs. (Basically, it brings in a GNU user land, a fresh compiler chain, etc. It works well, but the repositories are very basic. It can help set up a Unixy programming environment, not a feature complete Unixy desktop system)

      kFreeBSD Debian can potentially make Apt a real option on Macs. Fink sucks. Debian's repositories are much better.

      --
      After all, I am strangely colored.
    3. Re:Linux vs. FreeBSD by ducomputergeek · · Score: 5, Interesting

      As someone who has had a lot of experience with both, I switched to BSD in 1999. Back then the main reason was Ports. Needed to install MySQL: /usr/bin/ports/databases/mysql/ make && install. Then go grab a cup of coffee come back and it would fetch everything it needed, compile, and run. Or you could fetch a pre-compiled binary via pkg_add -r mysql. Hell, the first few version of PostgreSQL I used, the only way I could get the damn thing to work was to use BSD ports. The best you had with Linux was RPM and that was dependancy hell at times.

      Also, back in the day it had a better tcp/ip stack and was generally more stable as a server platform and decent SMP support. And frankly it was far easier to support than "linux" was back in the day because there was a single FreeBSD, not umpteen different flavors.

      Today it has ZFS and Dtrace from solaris ported over. I know ZFS hasn't made it into Linux as of yet, not sure about DTrace. But both are handy tools.

      Currently we're deployed 100% on FreeBSD for our web, mail, and database servers running PostgreSQL. But that has more to do with using Pair Networks than any other single factor. They've been 100% FreeBSD and consistently in the top 10 in terms of uptime according to netcraft.

      For the past 10 years, I've found FreeBSD to be a stable, secure server operating system that doesn't take a lot of system resources to run. It seems like Linux takes about 256MB of ram these days in most default configs to run a web server whereas our BSD machines were using closer to 150MB for the core OS. And was both systems running Apache 2.

      --
      "The problem with socialism is eventually you run out of other people's money" - Thatcher.
  3. Re:I still dont see the point by PCM2 · · Score: 3, Interesting

    if you want FreeBSD, use it.. If you want Linux, use it instead.

    Yeah, that's what Debian said.

    --
    Breakfast served all day!
  4. Not as insane as it sounds by cracauer · · Score: 5, Interesting

    This sounds insane to people who approach this from the usual angle. Linux has a lot more support for all the junk and semi-junk hardware out there, but some of the GNU core Unix userland is of questionable quality. All of us cursed GNU creeping featurism in the commandline utilities and GNU libc problems at some time or another. You would think people want the Linux kernel and the FreeBSD Unix userland. So why go the other way round?

    There are very specific needs being addressed by using the FreeBSD kernel inside a Debian.

    FreeBSD's ports system for third-party applications only has a devhead, and that has caused an increasing number of problems. FreeBSD has stable branches and releases for kernel, for "core Unix" userland including binutils and gcc/g++, but not for third-party applications. At the time that this was created it was great, because what we wanted at the time was a stable base system to do "server stuff" with, and the ports/applications were just for accessing the things, a light desktop that didn't do much except run xterm and emacs.

    Today, I see two main problems with what worked a few years back:

    1) those "server style" third-party applications aren't sitting flat on a Unix anymore. They are stacks of dependencies of considerable depths. It's not an apache with mod_cgi and the base perl system anymore.

    2) some third-party applications became very aggressive lately and can be unusable in their newest releases. Many people bash GNOME and/or KDE, myself my favorite target is Xorg. The Xorg server has caused the most headaches across all my Linux and FreeBSD machines in the last years.

    So, here's the trick. FreeBSD only has one branch in ports, so even if you use an older -STABLE release branch of the FreeBSD core system you still get the newest releases of third-party applications via ports. That's why my *most* stable OS (FreeBSD) had caused me the most headaches lately, because it upgrades me to the newest Xorg *first*, not last like it should.

    I don't want to distract too much from the point of this posting by giving reasons why people want the FreeBSD kernel, let's just say there are enough of us. But no matter how much you want the FreeBSD kernel, many see increasing problems with ports/applications for the reasons I gave.

    Debian provides stable branches for all applications, and that makes some people who don't generally like Linux still go "PLING!".

    In addition to all that, Debian's packaging system, and the way that it is kept working (few package screwups upgrading), the way that it integrated /etc/* file management are simply first class and blow other Linuxes out of the water, too. Debian's packaging is the best out there, I haven't seen anyone challenge that notion in a long time.

    So, very suddenly you have a demand for the FreeBSD kernel in a Debian application provision system and here we are.

    %%

    (BTW, what blows my mind for real is that FreeBSD is now partially sold based on driver availability. Because they kept their NDIS windoze driver integration system alive and maintained when Linux didn't. That is ... something, I have to think about it)