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."

82 of 376 comments (clear)

  1. OK by Profane+MuthaFucka · · Score: 5, Funny

    But, does it run Linux?

    --
    Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
    1. Re:OK by joe_bruin · · Score: 2, Informative

      But, does it run Linux?

      No, it's GNU/FreeBSD. It can, however, emulate Linux system calls and therefore natively run binaries compiled for Linux.

    2. Re:OK by dazjorz · · Score: 2, Informative

      No, because in Debian GNU/kFreeBSD, as the name indicates, the userspace is GNU, not BSD. Therefore, GNU/FreeBSD. (in Debian GNU/kFreeBSD, the k stands for "kernel".)

    3. Re:OK by Jurily · · Score: 4, Funny

      GNU/FreeBSD

      Flamewar starting in 5..4..3..

      Also vi, KDE3, Gentoo and K&R.

    4. Re:OK by incripshin · · Score: 3, Funny

      You son of a bitch. I use vi, KDE, Gentoo, and K&R.

    5. Re:OK by Korin43 · · Score: 4, Insightful

      I think you're confusing "important part of an operating system" with an operating system. Linux is definitely not an operating system, it's just a common term to refer to Linux-based operating systems (because the average person doesn't care). Just like the FreeBSD kernel alone isn't an operating system. Debian and FreeBSD are operating systems. GNU appears to be a complete operating system (although not finished). I think you can install it from here: http://www.gnu.org/software/hurd/hurd/running/gnu.html.

      Need a simple proof that Linux isn't an operating system? Download the kernel and boot it (oh wait, you can't because GRUB isn't part of the kernel), do some stuff on the command line (bash is not part of the kernel either), maybe update some programs (apt isn't part of the kernel). Oh wait you say, I don't need apt, I can just download the source and compile it myself... but wget and gcc aren't part of the kernel either.

      And don't take this to mean I think we should call it GNU/Linux. People can call their operating system whatever they want. If they wanted every piece of software that uses GNU to be called GNU/Software, it should be in the license. My point is just that kernel != operating system.

    6. Re:OK by Jurily · · Score: 2, Interesting

      Who the hell modded this incomprehensible gibberish up?

      Parent is confusing the terms "kernel" with "base installation", "OS" with "kernel", "microkernel" with "kernel", "monolithic kernel" with "base installation".

      And to those of you who think glibc, gcc and autotools are not important, I dare you to build a fully Open Source Linux distro without them, or even just replace them on your own box. I have tried to make myself an uclibc-based Gentoo, and I still have nightmares about it.

      Anyway, let's just call it Debian and be done with it. uname -a will fill you in on the rest.

    7. Re:OK by agnosticnixie · · Score: 2, Funny

      Yggdrasil LGX was the full name of Yggdrasil, for Linux/GNU/X - apparently GNU people liked it enough, except for that pesky thing saying that the Kernel comes first and giving any credit to X.org

    8. Re:OK by x2A · · Score: 2, Insightful

      "oh wait, you can't because GRUB isn't part of the kernel"

      I don't boot my kernel with GRUB.

      I think the whole thing's just silly anyway... people who need to be told "it's linux/gnu" because linux isn't the thing and the whole thing so help me god, are people who are less likely to understand the difference anyway, and aren't going to be looking at it going "wow Linus Torvalds wrote all of this by himself? Wow he must be a god... nobody else, just him, I must give all my credit for doing this to him". No. So putting "gnu" in the name isn't going to make them instead go "Oh it's written by this one guy called Linus and some guy who's parents hated him and called him GNU or something... but still, they're gods and get my respect".

      It's just marketting, and one thing that Linux has accomplished that GNU hasn't, is in having a name that people like. You could replace the ENTIRE stack above the Linux kernel with a much nicer all tied together polished system, call it "DogShitOS" and people are still going to called it Linux. Want people to call it your own name? Come up with something like Ubuntu, Debian, people have no problem saying those. But GNU? People just don't like it... you can't force them to.

      Even apple fans like "apple" or "mac", maybe running "leopard" or whatever. But they're just PC's in "pretty" cases, the main difference now is the operating system: OSX. But who says "I like OSX" rather than "I like apple"? *Not* the general public, they like names, not letters.

      RMS (which for some reason I always read as "root me silly") should just get over it.

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    9. Re:OK by Per+Wigren · · Score: 2, Funny

      (in Debian GNU/kFreeBSD, the k stands for "kernel".)

      ...and it's pronounced as "nuke free beast".

      --
      My other account has a 3-digit UID.
  2. 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 spun · · Score: 4, Insightful

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

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

      You seem to be asking some interesting questions, but fail to do so in a timely fashion.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    2. 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.
    3. Re:Cool by Timothy+Brownawell · · Score: 3, Insightful

      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?

      Possibly the "automatic unneeded package pruning". It could be dangerous if your custom apps don't specify their dependencies correctly (say, they rely on something that had been automatically installed by one of their other dependencies).

    4. Re:Cool by Timothy+Brownawell · · Score: 4, Informative

      If your custom apps required you to install a package, it'll already be listed as manually installed, so it'll never be automatically uninstalled.

      The idea is that $app depends on $foo and $bar. But because $foo also depends on $bar, someone was able to goof up and only document that $app depends on $foo. So when $foo gets updated and drops its dependency on $bar, $bar goes away (due to being automatically installed) and $app stops working.

    5. Re:Cool by GenP · · Score: 2, Interesting

      Sweet, I didn't know they added raid5/6 support to btrfs!

    6. Re:Cool by Chris+Mattern · · Score: 4, Informative

      If your custom apps required you to install a package, it'll already be listed as manually installed, so it'll never be automatically uninstalled.

      Not if the required package was already installed because a third package that required it and correctly specified it was installed. Uninstall that package, which seems to be utterly unrelated to your custom app, and BOOM, custom app breaks.

    7. Re:Cool by Chris+Mattern · · Score: 2, Informative

      That's a case for having apt on the test server, not the production server.

      Come to think of it, you'd have apt on the production server solely because you don't want it to look different from the test server, but you'd still never use it, instead simply copying the package changes from the test server.

    8. Re:Cool by Chris+Mattern · · Score: 4, Insightful

      "nearly here". No other words can strike such fear into the heart of a production system sysadmin. How about something that's seen production use for years, instead?

    9. Re:Cool by flydude18 · · Score: 2, Insightful

      And new installations of $app don't work either because users are never told they need $bar. This is a fairly obvious bug that gets noticed, and an update for $app adds the dependency to $bar.

      Sure, I'm assuming that someone will fix it, but you're assuming that someone will goof up in the first place. Seems fair.

    10. Re:Cool by petermgreen · · Score: 2, Informative

      Which is a good reason to either use apt-get which defaults to the sane behaviour of tracking packages it thinks are unused but not removing them until it's explicitly told to or reconfiguring aptitude to do the sane thing.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    11. Re:Cool by Jurily · · Score: 4, Insightful

      Do we need Linux any more, now that HURD is nearly here, based on the same ideas but with Linux's design problems known about and worked around?

    12. Re:Cool by Sancho · · Score: 4, Insightful

      Wow, you got modded Troll and Timothy got modded Offtopic for describing a legitimate concern. Man, this place has gone downhill.

      The correct rebuttal to your statement is that you don't mess with things on production machines. You don't uninstall that third package. If you want to make changes like that, you do it on your test machine first. Timothy was concerned with packages dropping dependencies, but that shouldn't happen within -stable.

    13. Re:Cool by oldhack · · Score: 4, Funny

      God damn foobar apps.

      --
      Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
    14. Re:Cool by bfields · · Score: 3, Insightful

      Sure.

      Options are to keep the autoremoval turned off, or build simple custom packages for your third-party aps with the proper dependencies.

      Or you could do without any package management entirely. That doesn't strike me as likely to make anybody safer....

    15. Re:Cool by Antique+Geekmeister · · Score: 2, Insightful

      Would everyone who actually manages to run their servers with only "-stable" please raise their hands? One, two... no wait, that person is scratching their head.

      I'm afraid that "running servers with only -stable" is like "never typing 'rm -rf' as root". It would be nice if we could do so, but far too often we need to get work done and risk a "non-stable" package to get particular critical features, and this approach breaks down very quickly.

    16. Re:Cool by Anonymous Coward · · Score: 2, Informative

      Sweet, I didn't know they added raid5/6 support to btrfs!

      ZFS also has triple parity ("RAID 7"?), as well as the ability to shim in SSDs transparently. There's also 'zfs send/recv'.

      How long, and how many petabytes of data has been in production on Btrfs?

    17. 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.

    18. Re:Cool by rivaldufus · · Score: 2, Interesting

      RaidZ3 is nearly upon us...
      Most slashdot folks will prefer btrfs just because it's GPL and native to Linux... whether or not it's better.

    19. Re:Cool by agnosticnixie · · Score: 5, Funny

      HURD is, and will always remain, the OS of the future.

    20. Re:Cool by stevey · · Score: 3, Insightful

      Raises hand.

      The only time when I've worried about running (Debian) stable software on production servers has been towards the end of a releases' life.

      In that case signatures for things like clamav were often useless. However right now I'm running entirely stable software and don't expect that to change for the forseeable future.

      A lot of people seem to want the latest and greatest releases of software for no appreciable reason. (If they were hitting specific bugs I'd understand ..)

    21. Re:Cool by Grishnakh · · Score: 2, Informative

      You might want to read up on ZFS. It's not just a simple filesystem; it also includes LVM and RAID features, all in one. I'm not a professional sysadm, but my understanding is that, unlike Linux where changing a RAID5 array to have more disks or more space requires messing with the logical volumes using LVM, then messing with the RAID arrays with mdadm, then redoing the filesystems with the e[34]fstools, whereas doing this in ZFS just involves a few quick commands without having to unmount the filesystem.

      In fact, a quick Google search shows that resizing an ext3 partition is a bit of a pain, involving converting it to ext2 (removing the journal), running resize2fs, and converting it back. Obviously that's not good if the power cuts out while you're doing this. With ZFS, you should be able to resize arrays, add disks, etc., without even interrupting service.

      If btrfs can do this too, then it sounds great to me. I wish they'd pick a better name though.

    22. Re:Cool by domatic · · Score: 3, Informative

      There are more and less correct ways to go about running "non-stable" packages. Just jamming in a foreign binary deb and it's deps is generally the wrong way to do it. The right way to do it is to basically do what backports.org does....and check if backports has it first. If you're not running a Debian derivative then research the equivalent for your distro or BSD flavor:

      1. add an apt-src line from the "non-stable" distro. I've even done this when Ubuntu had the latest SpamAssassin and I wanted a late model debianized SpamAssassin. Note well I said "apt-src" and NOT an "apt" line. apt-get update, yadda yadda

      2. mkdir package-of-interest; cd package-of-interest; apt-get build-dep package-of-interest. If you're lucky this pulls in everything needed to build the package. If not you'll have to recurse with apt-get build-dep package-of-interest-newer-dependency; apt-get source package-of-interest-newer-dependency and come back to step 2 until you have everything you need to build your "non-stable" package.

      3. apt-get source package-of-interest (or -newer-dependency)

      4. cd package-of-interest-version; fakeroot dpkg-buildpackage -b. If all goes well a backport of the newer software that is built against your nice stable distro's libraries will be built one directory level up.

      5. If you had to build a newer library your package needs install it then go back to #2. rinse and repeat until you have your newer software. Myself, I'll build one or two before giving it up as a bad job. Generally I succeed at this. Bread and butter stuff like Clamav and SpamAssassin that is well behaved tends to work well with this procedure.

      The point of this is to avoid having to replace heeby jeeby inducing things like glibc, libstdc++, or even Perl since half your system scripts depend on such things. You avoid replacing packages that are contributing to the stability of the rest of the system and that are still getting critical bug and security updates. It keeps the "foreign" footprint to a middle and gives you a "foreign" package that is more or less compliant with the rest of the system.

    23. Re:Cool by DragonDru · · Score: 2, Informative

      ZFS is intended to prevent data corruption of *any* kind. Its use of double and shortly (now?) triple parity is just the start of it. One can also store up to 3 independent copies of the same data transparently. (One a mirrored array with two drives, this means 6 copies of the same file.)

      Having one system that provides the same interface and same capabilities across many sets of hardware is very handy.
      In action, ZFS is something to behold.

      --
      20 characters max for the password? How will I use my favorite poems as passwords?
    24. Re:Cool by X0563511 · · Score: 2, Informative

      This kind of thing does happen. I've reported a package that did so... we had a fix on the official repositories within days.

      Why this is considered a bad thing is beyond me. Debian on my server, other shinier toys on my desktop.

      --
      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...
    25. Re:Cool by X0563511 · · Score: 3, Informative

      You know about Debian-Volatile right? What's even better, is this is part of -stable and has been included in your default repository config since Lenny released.

      This is meant specifically for moving targets like ClamAV.

      --
      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...
    26. 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...
    27. Re:Cool by drsmithy · · Score: 2, Informative

      You might want to read up on ZFS. It's not just a simple filesystem; it also includes LVM and RAID features, all in one. I'm not a professional sysadm, but my understanding is that, unlike Linux where changing a RAID5 array to have more disks or more space requires messing with the logical volumes using LVM, then messing with the RAID arrays with mdadm, then redoing the filesystems with the e[34]fstools, whereas doing this in ZFS just involves a few quick commands without having to unmount the filesystem.

      ZFS can't resize arrays at all, so comparing it to the process in Linux isn't really relevant.

      ZFS's "volume management" is certainly easier than in any other OS, but it's real killer feature IMHO is the block checksumming.

      In fact, a quick Google search shows that resizing an ext3 partition is a bit of a pain, involving converting it to ext2 (removing the journal), running resize2fs, and converting it back. Obviously that's not good if the power cuts out while you're doing this. With ZFS, you should be able to resize arrays, add disks, etc., without even interrupting service.

      Whatever article you found is wrong. The process for growing a FS in Linux (with LVM and ext3) is (can be done online):
      Increase size of LV (lvresize)
      Increase size of FS (resize2fs)

      To shrink (needs to be done offline):
      Unmount FS, run e2fsck
      Shrink filesystem (eesize2fs)
      Shrink LV (lvresize)

      The process is straightforward and not difficult, though it *is* easier with ZFS.

    28. Re:Cool by smoker2 · · Score: 2, Informative

      I use ext2online to resize my LVM based ext3 filesystem. To clarify, when I have added a new disk to the LVM group, I use ext2online to extend the filesystem to cover the new disk. Also, I have never used lvresize. It's the same procedure as either lvreduce or lvextend. Here is my mini howto for adding a new disk to an LVM volume.

      adding a brand new disk to the lvm volume

      install the disk
      start system
      open terminal as root :

      check what disks (physical volumes)already exist as part of LV :
      pvscan

      run fdisk on the new drive :

      fdisk /dev/sdc # if this new disk is the 3rd sata or scsi disk in the system
                      # modify accordingly and use the same label throughout this # howto! (sdd, sde, sdf etc)

      create a new partition using the whole disk
      n
      p
      1
      when thats done enter the next command
      t
      partition will be 1
      hex code 8e

      write the partition table with
      w

      this exits fdisk

      then create a new physical volume on that disk
      pvcreate /dev/sdc

      then add the physical volume to the volume group

      vgextend my_movies_group /dev/sdc

      run pvscan again to check its in there

      then run vgdisplay and take a note of the allocated PE for the logical volume
      and for the free PE
      then add them together ! (this figure should already be showing in vgdisplay as Total PE )

      then run
      lvextend -l22222 /dev/my_movies_group/my_media /dev/sdc
          # where 22222 is the total you just calculated

      you can run vgdisplay -v again to check its been added ok

      lastly, run this, to resize the filesystem to cover the new drive

      ext2online /dev/my_movies_group/my_media

      That should be it !

    29. Re:Cool by drsmithy · · Score: 2, Informative

      Just for reference, if you're going to be using the whole device as a PV, there's no real need to create a partition on it - and in some cases it can be detrimental (eg: if it's a RAID device you will probably introduce partition alignment problems that will impact performance).

    30. Re:Cool by smoker2 · · Score: 2, Interesting
      Yes I realise you can do without a partition, but when I first set up the LVM volume, I followed best practice as found in the howto I linked.

      Using the whole disk as a PV (as opposed to a partition spanning the whole disk) is not recommended because of the management issues it can create. Any other OS that looks at the disk will not recognize the LVM metadata and display the disk as being free, so it is likely it will be overwritten. LVM itself will work fine with whole disk PVs.

      In future on dedicated machines I probably won't use that method, but then again, LVM has issues anyway. I set up my first volume without using RAID, as the disks were of differing sizes. I added a new disk some time later which very quickly began to exhibit problems. Because the disk wouldn't read properly, I couldn't retrieve any data from it and couldn't therefore remove the PV because it had data on. The only way was to shut down, then remove the disk, then remove the volume then use the metadata to rebuild the volume. I lost a few files but the main worry was whether I would get any files back at all. To this day, I have files visible on the volume that correspond to lost data. I cannot find anyway to delete these files as they only exist in the metadata not on the actual disk. I'm not confident that creating a replacement volume (on the same drives) would allow me to inherit an accurate filesystem from the old volume.

      So my only option at present is to buy progressively bigger drives, run them in for a few weeks, then after adding them to the volume, use the free extents to move data off of the older drives. This procedure is fraught with risk. Any tips ?

    31. Re:Cool by Grishnakh · · Score: 2, Informative

      I'm no expert on this, but it sounds like you need to just start over: instead of adding new disks to your existing volume, just create an all-new volume and move everything from the old one to the new one, so you don't inherit any weird problems.

  3. 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 Anonymous Coward · · Score: 5, Funny

      Features such as jails, the OpenBSD Packet Filter and support for NDIS drivers in the mainline kernel.

    2. Re:Linux vs. FreeBSD by Bill,+Shooter+of+Bul · · Score: 3, Informative

      That depends upon what you mean by veteran, and what you mean by UNIX. FreeBsd is closer to Unix due to its BSDness. So if you are used to kernels that are more Unix-y than Linux-y you may prefer it for that reason. If you are simply a fan of OSS that runs it as a desktop, there may not be any obvious advantages and perhaps some disadvantages due to lack of desktop like software. It should also include ZFS & dtrace which may entice you. Its also just a different kernel with a different schedule that may perform better for your specific tasks. Osnews carried a story about a benchmark between FreeBSD and Ubuntu the comments from osnews readers are also pretty insightful which is why I linked to them and not the source article. .

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    3. Re:Linux vs. FreeBSD by Niten · · Score: 5, Informative

      In my opinion, the biggest advantage of FreeBSD is how coherent the system is. Everything, from documentation to userspace utilities to the kernel, was developed and tested and released as a single project.

      This allows for neat features that require cooperation between several system components, which would be more difficult to implement in the Linux world. For instance, in FreeBSD you can press ^T while cp is copying some huge file, and this will send SIGINFO to cp, causing it to print a progress report to STDERR. Handy.

      So it seems to me that this Debian project defeats the most attractive feature of the FreeBSD operating system (by separating its kernel from its tightly integrated BSD userspace), while simultaneously casting aside Linux's advantages over FreeBSD (more drivers, more supported architectures, somewhat better performance, and--this may be controversial--in my experience, better stability). 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. So kneejerk reactions aside, I guess I shouldn't judge this until I have the chance to try it... still, I don't see myself trading in my Debian GNU/Linux anytime soon.

    4. Re:Linux vs. FreeBSD by ground.zero.612 · · Score: 2, Informative

      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?

      FreeBSD is unix-like http://en.wikipedia.org/wiki/FreeBSD.

      You might prefer it over Linuxes for some of the same reasons you might prefer Apple's Mac OS X http://en.wikipedia.org/wiki/OS_X#History.

      Other than that, perhaps rock-solid stability, ZFS, or it's package management system (admittedly I don't use much Linux, but the pkg_add utility and the ports tree in fbsd are excellent). Oh and did I mention Linux binary compatibility?

      --
      "Be prepared, son. That's my motto. Be prepared." --Joe Hallenbeck
    5. 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.
    6. Re:Linux vs. FreeBSD by XanC · · Score: 3, Informative

      For instance, in FreeBSD you can press ^T while cp is copying some huge file, and this will send SIGINFO to cp, causing it to print a progress report to STDERR. Handy.

      Isn't this an internal feature of their cp implementation? I don't see what this has to do with the kernel, or indeed any program besides cp, at all.

    7. 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.
    8. 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.
    9. Re:Linux vs. FreeBSD by cbhacking · · Score: 4, Informative

      A lot of wireless hardware still doesn't have drivers (at least, not working ones) on Linux (or FreeBSD). For obvious reasons, NT drivers do exist. FreeBSD's kernel supports directly loading those NT drivers. Linux has ndiswrapper, a project to allow the same thing (ndiswrapper itself is a Linux kernel module that attempts to load the NT driver binary) but the FreeBSD NDIS support is a feature of the kernel itself, and supported as such.

      For TL;DR folks: if you've ever had trouble making WiFi work in Linux, this might help.

      --
      There's no place I could be, since I've found Serenity...
    10. Re:Linux vs. FreeBSD by Xtifr · · Score: 2, Funny

      That depends upon what you mean by veteran, and what you mean by UNIX.

      Ayup.

      FreeBsd is closer to Unix due to its BSDness.

      A peculiar interpretation. In the early days, I tended to prefer Linux over BSD because Linux generally acted more like the real UNIX(tm) systems at work, while BSD remained inherently...BSDish. Linux was like a Unix inflicted with a random, confusing scattering of BSDisms (like the operation of ps(1)). Of course, if you consider BSD to be The One True Unix (as many BSD fans do), then Linux looks like a UNIX with a random, confusing scattering of SYSVisms. In conclusion, I think I have to say that your first statement quoted above completely invalidates the second one, and I agree with the first. But I like BSD anyway. :)

    11. Re:Linux vs. FreeBSD by Sancho · · Score: 5, Informative

      The grandparent was trying to make a point, but failed. Similar behavior exists throughout the FreeBSD userland--you can send SIGINFO with ctrl-t to many userland processes to get information on what they're doing. The point is that FreeBSD's kernel and userland were designed as a system, and little touches like this show that off.

    12. Re:Linux vs. FreeBSD by Guy+Harris · · Score: 5, Informative

      For instance, in FreeBSD you can press ^T while cp is copying some huge file, and this will send SIGINFO to cp, causing it to print a progress report to STDERR. Handy.

      Isn't this an internal feature of their cp implementation?

      No. The fact that ^T sends SIGINFO, just as ^C sends SIGINT, is a feature of the "tty driver" (standard tty line discipline). The fact that a particular program catches SIGINFO and prints a progress report is a feature of the program.

      I don't see what this has to do with the kernel...

      The standard tty line discipline referred to above is in the kernel.

    13. Re:Linux vs. FreeBSD by TheRaven64 · · Score: 5, Informative

      I would say mod parent up, but you're already at +5. This was what made me switch from Linux around 2002: Sound Works. I had a cheapy AC97 CODEC in my computer at the time. It didn't do hardware mixing. I installed Linux. There were two drivers, an OSS one and an ALSA one. Neither one let the majority of my programs play sound at the same time. For example, I couldn't have xmms playing music while I played BZFlag. Both KDE and GNOME came with their own sound daemon, which meant that either KDE programs could make sounds or GNOME programs could make sounds. Oh, and I think if I used the ALSA drivers then two programs that had had their sound output rewritten to use ALSA could play sounds at once... sometimes. Then I tried FreeBSD.

      In FreeBSD, there was one driver for the sound device. This was back in the 4.x days, so sound devices needed a little bit of extra configuration. I had to set the number of virtual channels and then tell each device to talk to a different one. I set up 4, one for GNOME, one for KDE, one for xmms and left the default one for whatever apps just wrote to /dev/dsp. I could have music playing, BZFlag sound effects in the game, and notification beeps when I got an email or IM. Then came FreeBSD 5 and all of that manual configuration went away. To play sound, a program opens /dev/dsp and writes audio data to it. That's it. No libraries to link against; it's all done via standard UNIX system calls (open(), read(), write(), and ioctl()). It's trivial to program for and it just works. With FreeBSD 8, you now get per-channel volume controls and a rewritten high-performance mixing algorithm, as well as support for all of the new OSS 4 APIs (backwards - binary - compatible with the old OSS 3 ones) if care about those things (i.e. if you are a programmer).

      A few other things that I like about FreeBSD:

      1. Documentation. The man pages and the handbook are written by people who seem to understand both English and the subject that they are writing about. They've also been translated into other languages, but I've only read the English ones.
      2. Sane and simple init system. RCng isn't as all-singing, all-dancing as something like Launchd, but it is sufficiently powerful and easy to understand.
      3. Interfaces don't change. Once you learn how to do something on FreeBSD, you know how to do it. Tools don't get arbitrarily replaced with ones that are in some way better but have completely different interfaces.
      4. Clear separation between FreeBSD and Other Stuff. Ports go in /usr/local/, everything else goes above that.
      5. Jails. If you want to isolate something, or you want a simple testing environment, jails are great. They are almost the same as chroot, except each jail has its own set of users. Root in a jail is not root outside the jail and so can create arbitrary other users inside the jail but can't escape. With FreeBSD 8, jails have virtualised network stacks and now work recursively, so root in a jail can create a new jail. They work especially well when combined with ZFS, because you can make an O(1) ZFS clone of a clean install of the base system to create new jails.
      6. ZFS. RAID without the write hole, per block checksums, top-to-bottom transaction support, O(1) snapshots and clones - what's not to like?
      7. Ports / packages. Not really anything special anymore, but nice and clean. Ports build from source and can have custom build options easily set. Packages are built from ports. Use them interchangeably.

      There are probably some things I've forgotten. I was going to say that the only thing I miss on FreeBSD was valgrind, but it turns out that Valgrind 3.5 has been in ports for a little while now and I just wasn't paying attention (so, obviously, I don't miss it that much).

      --
      I am TheRaven on Soylent News
    14. Re:Linux vs. FreeBSD by Grishnakh · · Score: 2, Interesting

      So what's keeping the Linux folks from just merging the OSS4 drivers anyway?

      I believe there's a Linux kernel fork that does just that, but obviously it hasn't been accepted into the mainline.

  4. We have to put an end to their monopoly of awesome by SafeMode · · Score: 5, Funny

    It's nigh time that we look at the sheer scrumtrulesence of Debian and realize that it's reign of End All Be All of OS's must be curtailed and possibly even put an end to. No single OS should be this awesome. And we can no longer ignore the fact that it is.

  5. Awesome! But... by Anonymous Coward · · Score: 4, Insightful

    This is a really cool thing, except that I wonder how much this is going to be used? I'm sure there's a group of people who will be interested in this, and it might be a great stepping stone for those that want to move to/from FreeBSD to/from Linux, but a lot of the FreeBSD community is heavily focused on the fact that FreeBSD is developed as a complete OS. The userland and the kernel are developed by the same people and integrated. So while this is exciting, I'm not sure how much interest you're going to get from the FreeBSD community. Similarly, a lot of the Linux people who use Debian don't think of using Debian but think of using Linux, Debian just happens to be the distribution they choose.

    Now, what may be interesting that'll come out of this is packages with better FreeBSD compatibility. That is something I look forward to.

    1. Re:Awesome! But... by at_slashdot · · Score: 2, Interesting

      While packages with better FreeBSD compatibility are nice, I wonder if getting more critical release bugs won't slow down Debian releases even more. If it's all positive development then is nice, but I'd like to know the downside of things too in order to tell if it's a good or a bad decision.

      --
      "It is our choices, Harry, that show what we truly are, far more than our abilities." -- Prof. Dumbledore
    2. Re:Awesome! But... by petermgreen · · Score: 2, Informative

      One thing about so called "rc" bugs in debian is that they divide into a few categories.

      * Those that while technically qualifying for severity serious aren't actually bad enough for the release team to take any action.
      * Those in packages that the release team considers unimportant enough to kick out.
      * The real rc bugs, those that can't be allowed in the release but aren't in packages that can reasonably be kicked out either. These are a small minority of the so-called "rc" bugs but they are the ones that really hold up releases.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  6. Scrumtrulesence by sexconker · · Score: 5, Funny

    Scrumtrulesence is a perfectly cromulent word.

  7. I still dont see the point by nurb432 · · Score: 2, Interesting

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

    What real advantage is there in mixing things like this? And no im not trolling, i really don't understand the point here.

    --
    ---- Booth was a patriot ----
    1. 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!
    2. Re:I still dont see the point by nurb432 · · Score: 2, Informative

      So just take stock freebsd, rename pkg_add to apt-get and you are done :)

      Ok, im joking of course but you see the point im sure.

      --
      ---- Booth was a patriot ----
    3. Re:I still dont see the point by acey72 · · Score: 5, Insightful

      Debian is in effect raising BSD from the dead. IMO it's a good thing, the more OSes there are, the better.

      If being made into the un-dead means becoming more like GNU/Linux, I'd rather just keep me and my demonic servers six feet under please.

    4. Re:I still dont see the point by vlm · · Score: 4, Insightful

      And this happens now on BOTH sides of the fence, so mixing this improves the situation how? I see it making it worse if anything.

      Software that compiles and installs on BOTH BSD and Linux, has not been all that unusual since, perhaps, 1991-1992.

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    5. Re:I still dont see the point by vlm · · Score: 5, Insightful

      I really don't get why Debian would do this though because of the fact that it will take away from its primary user base (Linux users) to help fill a possible niche of users (KFreeBSD users) that are small in number.

      That type of question makes sense when asked about Microsoft, but doesn't even make sense when discussing Debian. "Why would Debian do this" is like a zen koan, until you're enlightened it makes no sense, or when it makes sense it means you're enlightened.

      Debian developers do what they want to do, within the legal framework and societal tolerance. If the guys doing the port, feel like doing the port, they do the port, and we get a "testing" quality port, and if its good enough, TPtB declare it a release-quality architecture and we eventually get a "stable" quality release. There is no "Debian" borg style hive mind, or if one does exist, instead of "the three laws of robotics" or "the ferengi laws of acquisition", the hive mind has the social contract and the DFSG. There is no top down militaristic business command structure. Very few people in Debian with positions of power have the "wikipedia" attitude of "I'm not personally interested in your work, so I shall gleefully destroy it while laughing, ha ha ha".

      In summary, they felt like doing it, they did it, some folks in positions of power acknowledge it. Its the same deal for all Debian packages, this port is not getting "special" treatment.

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  8. Start the RMS timer... by Anonymous Coward · · Score: 2, Funny

    How long before he tries to shoe "GNU" into the FreeBSD name?

    1. Re:Start the RMS timer... by TheRaven64 · · Score: 3, Informative

      It's part of the name, and it makes sense. This is a GNU userland (importantly, a GNU libc) with a FreeBSD kernel. You probably can't run FreeBSD binaries on it, because they will expect different libraries. You can run any GNU programs that don't make system calls directly and you can run most GNU/Linux binaries with the Linux kernel ABI module loaded.

      --
      I am TheRaven on Soylent News
  9. Will Debian move to BSD permanently? by MobyDisk · · Score: 2, Interesting

    Is this a stepping stone to Debian moving from Linux to BSD permanently? I'm trying to figure out if the FreeBSD licenses are more compatible with the Debian philosphy, or less.

    1. Re:Will Debian move to BSD permanently? by IgnoramusMaximus · · Score: 3, Insightful

      Is this a stepping stone to Debian moving from Linux to BSD permanently?

      Unless the elected leaders of Debian all go insane at the same time, not very likely.

      I'm trying to figure out if the FreeBSD licenses are more compatible with the Debian philosphy, or less.

      Far less. If Debian were to ever go BSD as its primary license (see point one), somewhere in the vicinity of 90% of its contributors would leave, probably to start a new GPL-ed distribution.

      Inclusion of the BSD kernel is not the same as an adoption of the BSD philosophy, as the kernel is an interchangeable component of the whole, very much like the much maligned Hurd is, of which there is also a Debian-based experimental distro.

    2. Re:Will Debian move to BSD permanently? by cbhacking · · Score: 2, Insightful

      Permanently seems unlikely, especially since Linux still has more users and developers (AFAIK) than FreeBSD. That said, if they maintain FreeBSD as a supported kernel, then more of the software packages that are normally run on Linux will be tested and supported on FreeBSD. This is a good thing. One problem that *BSD has faced historically is that a lot of software isn't actually written for a UNIX-like OS (i.e. written to the POSIX API) but is instead written for Linux specifically. Not only does that make it less portable, it makes it less maintainable - Linux sometimes dumps things when it discovers a better alternative to its current way of doing this. Coding against the common API puts you at less risk of finding the API you use getting deprecated.

      --
      There's no place I could be, since I've found Serenity...
  10. Re:debian expectation from a "debian" user by livingdeadline · · Score: 2, Interesting

    ZFS with snapshotting and stuff is usable in any file system.. even root ones. True, ZFS is a memory hog, but man, imagine a root file system where you could have file system provided revision control for *every* file...

  11. test? by Anonymous Coward · · Score: 2, Insightful

    You do non-production evaluation of config changes, don't you?

    C'mon, no professional just pokes "apt-get update" into the root shell on a live production server. That's just asking for hilarity, fail, and unemployment.

    can you tell me more about the potential applications of this "test machine" idea? i've been asking for a test machine for 7 months and my predecessor for the 8 months before me, but since we've had no failures, who can find the money?

    1. Re:test? by vlm · · Score: 2, Insightful

      can you tell me more about the potential applications of this "test machine" idea? i've been asking for a test machine for 7 months and my predecessor for the 8 months before me, but since we've had no failures, who can find the money?

      apt-cache search xen

      Its free.

      Also, lets be realistic here, my test box is a 500 MHz AMD-K6 wiht 384 megs ram from roughly the mid 90s... probably 99.99% of testing only requires verification that it works, not that it works at "full speed".

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  12. GNU's not by fm6 · · Score: 2, Insightful

    There's a religious tone to your answer. It assumes the question was: "does it run the Linux [kernel]?" But outside the RMS fan club, "Linux" is the name of the OS, not the kernel. So the guy was really asking "does it run the Linux [operating system]?" Hence the "funny" upmods.

    It just occurred to me, that if you're going to quibble about the synechdoche usage of "Linux", then GNU/Linux is even worse, because that term implies that that one OS somehow completely incorporates the other. But you couldn't really incorporate the GNU operating system in anything, because the stupid thing still isn't done yet. (After 25 years! [Insert Duke Nukem or Harlan Ellison joke here]) What's included in Linux is not GNU, but the libraries and utilities that were originally meant to be part of GNU. So really, it should be "Unix-like OS with Linux kernel, GNU excerpts, and some other stuff", or UOWLKGEASOS for short.

    But your post does answer one important real-world question, one that isn't answered on the KFreeBSD site: what's the darn thing for? I guess the answer is, "So you can run both BSD and Linux (GNU/Linux? UOWLKGEASOS?) binaries on a single system."

    Except I still don't see the point. Is there any software for one system that's never been ported to the other?

  13. Re:What's Next ? by gujo-odori · · Score: 2, Insightful

    I'll take a pass on that one, thanks :p

    But a Debian system with an OpenSolaris kernel? Now *that* would be nice!

    Of course, if KDE should someday work as well on OpenSolaris as GNOME does (including Timeslider integration into Dolphin and/or Konqueror), then it might be just as well to go with OpenSolaris itself, although I'd still prefer the APT to OSOL's packaging system. Plus, of course, the number of packages in the Debian repositories completely dwarfs what is available for OSOL.

    That said, I like OSOL so much that if KDE _were_ at the same support level as GNOME, I'd likely move from Kubuntu to OSOL now.

  14. Re:What's Next ? by Knitebane · · Score: 2, Informative
    Here you go....

    Nexenta

    --
    "...history will look upon the act of depriving a whole nation of arms, as the blackest." --Ghandi
  15. 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)

    1. Re:Not as insane as it sounds by evilviper · · Score: 2, Informative

      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.

      Ummm. WHAT?

      Why are you installing all your software from the latest CVS snapshot of FreeBSD ports?

      You're supposed to use the RELEASE-tagged ports tree for your version of the OS (the tar.gz file on every FTP mirror server, everywhere). Then, install portaudit, and only when portaudit complains about security issues in a specific version of a specific port, should you CVS-UP that single port, and build the latest and greatest.

      Even if the package in question is dependant on 20 other packages, and 20 packages in-turn depend on it, it will work just fine.

      So I'll ask again, why do you think you need to CVS-UP the entire ports tree, and build all these new, presumably incompatible and/or buggy newer version of all the software you use?

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  16. This is not how a sane admin uses apt. by brunes69 · · Score: 3, Informative

    Any sane admin has their own local apt repository, that they point all production and testing servers at. That repository has both "stable" and "testing" branches, like any apt server. All of the production servers grab off of the "stable", and all of the testing off of "testing".

    The trick is, this repository SHOULD NOT be a mirror of the actual debian repository. Rather, the "testing" of your internal server should be a mirror of the "stable" debian tree. Then, weekly or daily or whenever new debian "stable" packages come out, you update your testing boxes, and TEST the packages against your local software. If something breaks, no harm no foul - you wait till the next update.

    Once everything is tested OK, you sync those packages over to YOUR "stable" branch, and then that night all of your production servers will automatically get those updates. No fuss, no muss.