Slashdot Mirror


Debian NetBSD

bXTr writes "Interesting project over at SourceForge. Quoting from the website, 'Debian NetBSD is a port of the Debian Operating System to the NetBSD kernel. It is currently in an early stage of development and cannot currently be installed from scratch. Instead, a tarball of the current envionment is available and can be extracted into a handy directory on a NetBSD system.' Check out the reasons why they're doing it and some interesting commentary at DailyDaemonNews on this."

30 of 346 comments (clear)

  1. Re:kaboom by erlenic · · Score: 3, Insightful

    To me this kind of thing really shows the strength of the open source community. I'm sure we've all seen the flame wars that start here over the difference in the licenses, but in the end, we all have a common goal, share the source!

  2. I would prefer the other way around by horster · · Score: 5, Informative

    personally, I would like to see a BSD distro with ports and all, but with a linux kernel.

    I just installed FreeBSD recently and have to say i was blown away with how professional the installer was, very simple and powerful - not to mention the ports system.
    debian is nice, apt-get is a great program and the net install is awesome, but I can't say I have much love for dselect. I think debian shows the most promise of any linux distro right now, but in terms of polish, I have to give it to FreeBSD so far.

    1. Re:I would prefer the other way around by aussersterne · · Score: 3, Insightful

      What is wrong with the FreeBSD kernel?

      FreeBSD doesn't have as many drivers for esoteric hardware. Not a technical advantage for Linux so much as a side effect of the greater market penetration.

      But that's the way it is, nevertheless.

      --
      STOP . AMERICA . NOW
    2. Re:I would prefer the other way around by Dahan · · Score: 3, Funny
      personally, I would like to see a BSD distro with ports and all, but with a linux kernel.

      Me too, but only to annoy the FSF zealots who keep insisting on GNU/this and GNU/that :) LinuxBSD would be funny--nothing GNU except for the toolchain and a few other utilities. I don't actually see a real advantage of a system like that over a standard Linux distro, but the idea amuses me :)

    3. Re:I would prefer the other way around by dublin · · Score: 3, Interesting

      personally, I would like to see a BSD distro with ports and all, but with a linux kernel.

      I agree. Although I think the BSD kernel is arguably superior, having a Linux kernel would allow the rapidly increasing number of commercial applications that run on Linux to work.

      The big, ugly, problem for me (and almost anyone else that's really worked with and appreciated the real power of *real* Unix, as opposed to Linux) has always been the GNU utilities. They're acceptable, but just barely. GNU Documentation stinks when iut's there at all, at least partly because even most FSF-backers recognize that man pages are the expected form of OS docs and info pages are a hoppeless GNU-ism.

      The GNU utilities insist on using their own hopelessly convoluted syntax, (especially the hideous "--" options, another perversity enforced by the gnazis that intentionally creates a gulf between the GNU wasteland and the civilization of the Unix/BSD world.

      The BSD utilities are one of the best reasons to run BSD - they are orders of magnitude more stable and standard than their GNU hack counterparts. The code for many of these utilities is indeed old, but has not remained static: The BSD utilities provide a level of maturity that GNU will probably never reach, simply because structure and gols of their organization forces the BSD folks care about such things, while that of GNU seems to ensure that that level of care and attention will not be lavished on the code. In my mind, this is a distinction that is far too often overlooked.

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
  3. Cooperation by awgy · · Score: 3, Insightful

    To me, this is promising. I like to see cooperation between the Linux world and the *BSD world. Both have their advantages, and it'd be great if both would learn from each other more often. Perhaps this is an instance where some exchange of ideas could come about? Those responsible deserve a pat on the back.

    --
    Kein Mitleid für die Mehrheit.
  4. Gentoo linux by metalhed77 · · Score: 4, Informative

    Gentoo Linux has that, www.gentoo.org , it uses a ports style system, i'm not sure if it's a direct port of ports, or their own deal.

    --
    Photos.
    1. Re:Gentoo linux by cymen · · Score: 4, Informative

      Ports is a collection of applications that can easily be compiled for your operating system. Basically for FreeBSD you have /usr/ports. That directory contains various subdirectories dividing applications into www (apache, mod_php4, etc), lang (ruby, etc), mail (mutt, exim, etc), and so forth. Each directory for a specific application contains a number of files. Some of these are patch files that are applied to the source code of the port. See the ports tree doesn't contain the actual code of the application - it only contains enough logic to get the regular .tar.gz release (usually from the developers home site) and the patches to build it properly (particular distribution preferences on file structure, libraries, etc).

      Every couple days I use cvsup to suck down the modifications to the ports tree to my FreeBSD box. Then I happen to use a relatively new tool not in the base system (portupgrade, written in ruby) to check if my currently installed packages are up to date. If they aren't, I can instruct portupgrade to upgrade them or go to each directory individually and do a "make install". Oh yeah, each directory has a Makefile :).

      It's sort of like why distribute the source code if it is just going to get out of date (plus you'll be getting the source for all kinds of crap you never end up using). Of course now each application must be compiled but if you don't want to do that you can use the packages (precompiled binaries that can be added with pkg_add, etc).

      Another benefit is ports can be on any version of the operating system because it is independent of the base system. Look at RedHat and you'll see compiled packages for RedHat 6.2, 7.2, etc (of course, before someone knee jerks a reply, RPMS are out there but I'm trying to make a point here). Ports avoids this. The price is compilation. A trade off. You make the call.

      Hope that helps. Here is the FreeBSD handbook section for ports: ports-using.html (it contains a better description of what files are in a ports directory).

  5. Re:the kernel? my god man by tao · · Score: 4, Informative
    Why on earth why would you want a linux kernel in BSD userland? Do you really want a horribly broken VM system and every yahoo who can type hello world submitting patches? Thats why I like BSD. Theres a core group in charge of what goes and what stays. Who has the final say so in the linux kernel?

    Ever heard of Linus Torvalds? Oh, and for the v2.4 kernel it's Marcelo Tosatti, for v2.2 it's Alan Cox. For v2.0, it's yours truly. It's hardly like anyone can get their code into the kernel. Anyone is free to submit patches though. That doesn't mean it'll get in.

    As for the VM, yes, there have been problems (mostly with corner-cases, though), but v2.0.xx has a stable VM, v2.2.xx has a stable VM now, v2.4.xx has a stable, if somewhat unoptimal VM now, and v2.6 will hopefully have Rik van Riel's VM, which shares a lot of similarities with the VM from FreeBSD, but with some Linux-specific adaptments.

    So please, don't spread FUD.

  6. Debian is not Linux by CatherineCornelius · · Score: 5, Informative
    To me, this is promising. I like to see cooperation between the Linux world and the *BSD world.

    Well I agree with you that it's promising, but do remember that the Debian project is not Linux, but a GNU operating system. There is Debian GNU Linux, and there is Debian GNU HURD, and now (apparently) Debian GNU BSD.

  7. Try these by Arker · · Score: 4, Informative

    Slackware, the daddy of em all - still alive and kicking. Very BSDish install, similar package handling, BSD init. No ports system last I checked :( but a very friendly system otherwise for compiling from source. http://www.slackware.com

    Gentoo, a newcomer, to oversimplify a little the idea seems to be Slack+Ports. Haven't used it yet, heard some great things, sure looks promising. http://www.gentoo.org

    Also another similar project that was just recently reported here - sorcerer linux. Don't know enough about it to differentiate it from gentoo, the ideas seem very similar unless I'm missing something (quite possible, haven't had the time to try either.) http://sorcerer.wox.org/

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  8. I shoulda seen this one coming... by xcomputer_man · · Score: 3, Funny

    Finally, it's the GNU/BSD distribution!

    1. Re:I shoulda seen this one coming... by CatherineCornelius · · Score: 5, Funny
      Finally, it's the GNU/BSD distribution!

      Gnu's not Unix...except when it is.

  9. Re:the kernel? my god man by CheeseMunkie · · Score: 3, Insightful

    " Theres a core group in charge of what goes and what stays."
    Actually, in Linux it's the same (f.e. Torvalds, Cox, Tosatti).


    This is true of the kernel, but the kernel is not the whole deal. One of the major problems with Linux is *that* it's every yahoo for himself -- Cox and Torvalds and a few others do the kernel, the glibc people are a different bunch, the X consortium, the ISC, Apache Foundation, plus all those assorted little libraries, you know the type, it's a kinda neat library, but you've only found 1 app that needs it ... Everyone does their own thing and contributes it to the slushpot, but nobody controls the pot.


    So, where the BSD team is some 10-20 people who can all get in a room and hash out details and come out with a coherent ports system, or a standard place to put software (apache goes in /var/www? Wtf patrick?), the Linux world is far too big to do that. Hell, we can't even document stuf coherently -- everything has its own man page, readme, manual, plus linux documentation project. Compare to FreeBSD's Handbook.


    This is a weakness in the Linux system of cooperation. It's also a strength. Just as no one can take control of the whole thing and fix it, also nobody can break the whole thing. Even if Linux and Cox between them decided to sabotage Linux, they couldn't, whereas one guy with cvs commit privileges on cvsup.freebsd.org could give himself a root shell on every BSD box on the planet. (Okay I exaggerate -- he'd get caught, probably, but that's only because most of the people working on BSD are good guys.)

  10. Re:They're not cooperating... by Carlos+Laviola · · Score: 4, Insightful

    Their motivation is quite clear to me: have another choice of a kernel that is already robust and better than the Linux kernel in certain areas, and have the nice, organized and easily upgradable Debian on top of it. Come on, building *everything* from source is so much more trouble than apt-get dist-upgrade. Think XFree86, Mozilla, etc.

  11. I don't like it by znu · · Score: 5, Insightful

    The thing I've always really liked about the BSDs is that they're complete and separate systems that include everything from the kernel to the userland tools, all integrated by one team. Compare with the Linux world, where you have a bunch of different distros that many people pretend are all the same OS (in spite of the fact that file systems are arranged differently, boot sequences are different, configuration is different, package management is different, userland tools are often different, etc.) because they happen to use the same kernel. The BSD way has always seemed a lot cleaner to me. The idea of seeing a myriad of distros based on the BSD kernels really isn't one that I like. I believe it's a step in exactly the wrong direction. Open source Unix needs more standardization, not more fragmentation.

    --
    This space unintentionally left unblank.
  12. how different (from standard netbsd) is it? by foonf · · Score: 3, Insightful

    Did they just port apt and dpkg, and put up some Debian-packaged NetBSD binaries? Or have they moved to a Sys V init system, ported the Debian administration and configuration tools, and all the other stuff that makes debian distinctive? They explicitly say that NetBSD doesn't support runlevels, and looking at the package list, it doesn't look like much of the debian tools have made it yet.

    If its just a different package system, its pointless. Less work, and more immediately useful results, would be modifying apt to work with the current binary package system (which actually does support dependencies, etc.), and the large number of binaries in this format already available.

    If not, its a more questionable proposition. Arguably, its not really BSD anymore...it runs NetBSD binaries and uses that kernel, but the userland is basically Debian, ie, just like any Linux distribution. And most people who want that should just assume use Debian with the Linux kernel, which is a far more mature combination. Yes, for VAXen, toasters, slide rules and other more arcane platforms this won't exactly work, but Debian-NetBSD doesn't seem to have package for these platforms anyway.

    --

    "(Man) tries to live his own life as if he were telling a story. But you have to choose: live or tell." --Sartre
    1. Re:how different (from standard netbsd) is it? by Fluffy+the+Cat · · Score: 3, Informative

      Apt and dpkg have been ported. We're working on porting the administrative and configuration utilities. The idea is not to just package NetBSD binaries - the idea is to build the Debian source packages on NetBSD except in cases where that's impossible, and in those cases to produce packages that provide as much of the same functionality as possible.

      Less work, and more immediately useful results, would be modifying apt to work with the current binary package system

      I'd argue with the "less work", but anyway. Connectiva have ported apt to work with RPMs - that doesn't make it Debian. We're not trying to produce a NetBSD varient using Debian packaging tools. We're trying to produce Debian running on top of the NetBSD kernel.

      Arguably, its not really BSD anymore

      By some values, this is probably true.

      Debian-NetBSD doesn't seem to have package for these platforms anyway

      Yet. Once we're running on one architecture, this ought to happen.

  13. Transition by tiny69 · · Score: 4, Insightful

    Not too long ago, someone made the comment on slashdot about the general progression of Linux users. As a users becomes more experienced with Linux, they tend to shift from:

    Mandrake/RedHat -> Debian/Slackware -> *BSD

    It seems that Debian is going to make that last transition a little easier.

    --
    Go not unto/. for advice, for you will be told both yea and nay (but have nothing to do with the question)
    1. Re:Transition by m_ilya · · Score: 4, Interesting
      Funny but I've switched my desktop OS in slightly different order:

      RedHat -> Slackware -> FreeBSD -> Debian

      For desktop OS I find Debian Linux more convient than FreeBSD for two reasons:

      • Linux have better support for multimedia devices than FreeBSD
      • Debian have more prepackaged software than FreeBSD and in general quality of debian packages is better than FreeBSD ports thanks for Debian strict packaging policy.

      --

      --
      Ilya Martynov (http://martynov.org/)

  14. ports by lightfoot+jim · · Score: 5, Insightful

    What exactly is the ports system?

    More like, what are rpm users missing out on? With rpm -i package.rpm the user may or may not be able to install the intended software. There could be real dependency problems, as in kde2 needs qt2. There could also be bogus dependency problems since you may have compiled qt2 from source but rpm wouldn't know about it.

    Enter FreeBSD and ports. A typical FreeBSD install creates a directory called /usr/ports which is a whole tree of makefiles. So to install something, you just cd /usr/ports/category/WhateverYouWantToInstall/ && make && make install. All dependencies are taken care of automagically. The makefiles in these directories are smart enough to download whatever you need and then compile the source on your machine. So installing a new package doesn't take several hours of trolling newsgroups and searching for rpms.

    But you don't have to take my word for it. Check this out.

    My experience is limited to Mandrake, Slackware, FreeBSD and OpenBSD. They each have their strengths and weaknesses, but when I need to get sh*t done, BSD, espescially FreeBSD is my first choice just because the ports tree contains nearly any software I'd want to run, eliminating the bottleneck that software installation sometimes turns into and letting me get to the task at hand.

    As an aside, it seems like everything that Mandrake tries to be to "joe sixpack" who is just getting into trying linux on the desktop, BSD is to the sysadmin or programmer who needs to get a *nix platform up and running for a certain task. Compiling a custom kernel, installing software, modifying the init process, etc are at least as easy for the sysadmin on BSD as adjusting the screen fonts and changing the wallpaper are for a newbie in Mandrake.

    --
    The state is the great fiction by which everyone tries to live at the expense of everybody else. ~F. Bastiat
    1. Re:ports by scrytch · · Score: 4, Insightful

      > How is this any more convenient than apt-get which is also available for RPM based systems?

      Because ports does not require packages. Example, if I want to install a KDE app, it does not require that I have the qt package installed. It searches for libqt.so. If it's a gtk package, it runs gtk-config, if it's apache, it runs apxs, and so forth. Now debian's a little better than RPM, which ends up making you force-install just about everything (defeating dependency checking) because you installed something from source, but you still have to intervene when a dependent package isn't present. Ports assumes you know what you're doing, and if the lib is there, it's there, it doesn't need a package manifest to tell you. It does check for the package first, and ports does build a package, so you get a package-based system that degrades gracefully when you don't religiously use the package system.

      THAT is why I use ports. Because no sysadmin I know of takes the builds out of the box, they keep their source trees around to tweak and recompile as needed. Oh, and ports lets me do that doo, I just "make get" the port, cd work/packagename, and there's the source tree as if I'd untarred it myself. I can configure && make install it from there, or cd ../..; make install from there and it builds as a package.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
  15. Re:how is it GNU-based if it has a _BSD_ kernel? by CatherineCornelius · · Score: 3, Informative
    I don't see how you can refer to Debian as an "operating system". I mean, they do nice work, but an OS without a kernel is just a bunch of applications and utilities.

    That's perfectly correct--the Debian system is aiming to independent of the kernel, so it seems to be developing into a portable userland (not a word I had encountered before, but suddenly everybody seems to be using it!) on top of whatever kernel you like.

    Incidentally I notice that there was some debate on the Debian-BSD list as to whether to use the GNU name here, since unlike HURD they don't have libc6, and it's been argued that many essential parts of Debian aren't GNU anyway. And they might want to give the sysadmin the option of building a more BSD-like system (since the BSD userland is there for that kernel). The consensus so far seems to be Debian NetBSD.

  16. Re: I actually have seen the pattern.... by Pengo · · Score: 3, Funny


    Mandrake/RedHat -> Debian/Slackware -> *BSD -> Debian

    ;-)

  17. Original idea was Debian OpenBSD by Anonymous Coward · · Score: 3, Interesting

    The original proposal was for Debian OpenBSD:

    Debian OpenBSD topic

    Debian OpenBSD txt

  18. Re:Noooooooo! Stay away! by faedle · · Score: 3, Insightful
    I'm sorry if keeping it stable is such a bad thing for you. Fortunately for people who's jobs depend on reliability and stablilty of the systems they maintain, there are people like the Debian developers who think that keeping it stable is a Good Thing.

    How quickly we forget that stability is how many of us have sold Linux and *BSD to our employers, and that sudden rash changes and stability problems can leave those who require stability out in a lurch.

    I see Debian's methodical approach to "current" as a good thing. Debian is about choice: if you want to be on the bleeding edge, please run unstable, we need the beta testers. If that's not your game, here's the stable tree. If you're really anal (or demented), here's the last version with security patches.

    Sounds like a win for everybody. NetBSD gains more users (those who happen to get off on apt-get), Debian gets to work on porting to other kernels (a major cornerstone of the Debian project's defined goals), and everybody gets more choice.

    Stay away from system administrators who think that the "latest" is always the "greatest."

  19. This is so shortsighted! by 2nd+Post! · · Score: 3, Interesting

    What happened to the concepts of diversity, hybrid vigor, competition, and cooperation?

    With Microsoft we get a monoculture.

    Are you suggesting the same for all other OSes?

    If nothing else this project encourages and explores compatibility issues, source examination, bug catching, performance tuning, and a bunch of other things, if only because a new, fresh, set of eyes (Debian) is looking at old things (BSD), and the other way around, BSD people looking at Debian things.

    This cross pollination can have so many surprising and unexpected benefits too. Like the fact that if the kernal is BSD and the userland is Debian... it means you could, besides a little project called Fink, place an entire Debian OS layer on top of Apple's Darwin or Apple's OS X.

    Then there is the ports system, which sounds very good to me. It's currently a BSD thing, but there's nothing stopping it from running on top of the Debian-netBSD distro, with work, and therefore stopping it from working on GNU-Debian with just a little more work, with 'work' and 'little more work' being subjective here.

    These are just obvious speculations on my part. Many more advantages can be found, I'm sure, of this type of project.

  20. Re:What came first, the GNU kernel or linux? by ceswiedler · · Score: 3, Informative

    Well, no, it was Linus himself who first paired the kernel with GNU tools. He developed it using GNU development tools on Minix and then Linux itself once it was usable, and ASAP he had the standard GNU toolset compiled and running on his own box.

    Perhaps Slackware did indeed release the first distribution; but from the start, GNU was used on Linux. I imagine that the 0.1 release had some mention of "BTW, if you want to actually DO anything, go get the GNU stuff..."

  21. Re:Noooooooo! Stay away! by The+Ape+With+No+Name · · Score: 3, Insightful

    My experience with STABLE and Debian GNU/Linux is that it is an outdated tree. FreeBSD pkgs, again in my experience, are right where they need to be, not outdated versions of common apps.

    --
    Comparing it to Windows will be a moot point, since El Dorado is going to have a 40% larger code base than XP.
  22. Re:how is it GNU-based if it has a _BSD_ kernel? by Dahan · · Score: 3, Informative

    Actually, it runs perfectly fine. Nothing in gnusrc is critical, and depending on what you want to use the system for, gnusrc might be completely useless. The only thing GNU I have on my Compaq IA-1 is grep, and it's running NetBSD without any problems at all. If I really wanted to, I could probably ditch grep and replace it with awk to be completely GNU-free. But I deleted the GNU stuff (and a bunch of BSD stuff too) for space reasons, not anti-GNU reasons.