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

19 of 346 comments (clear)

  1. 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 horster · · Score: 2, Informative

      dude, chill out, I'm not dissing bsd!
      binary support means I can run jdk1.3 natively without any emulation layer.
      more drivers (like nvidia) are things that I do use on linux, and as for the rest, no they are not things that I need, but a possible reason why some one would choose linux over FreeBSD.

      there is no need to start a flame fest here - both BSD and linux have their respective advantages.

  2. 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 Anonymous Coward · · Score: 1, Informative

      I tried gentoo, perhaps someday it will be in the same ballpark as FreeBSD (or even Net/Open), but not now. The install is less than perfect, the portage system currently has very little to choose from. Also, there is no BSD-style separation of base and packages.

      Its a good idea though, I also would love to see BSD-like distro based on a Linux kernel.

    2. 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).

  3. Since 1999 by kenneth_martens · · Score: 2, Informative

    If you check out the mailing list archives, you can see the project has been ongoing (or at least discussed) since May 1999. It just until now to get it to the point where it actually sort of works.

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

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

  6. 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.
  7. Don't have to install from source... by greygent · · Score: 2, Informative

    In the BSD world, we not only have the ports collection, we have the packages collection, too. So there's no need to compile everything from ports :-)

    1. Re:Don't have to install from source... by T-Punkt · · Score: 2, Informative

      Since you mention -STABLE you're obviously talking about FreeBSD.

      For NetBSD (and I'm pretty sure for OpenBSD as well) there's no need to make seperate sets of precompiled packages for -current and RELEASE since packages made for RELEASE run on -current as well.

      (There's no NetBSD -STABLE tree, just -current and RELEASE.)

  8. What does FreeBSD have to do with anything? by pHDNgell · · Score: 2, Informative

    Your complaints about NetBSD are a result of your experience with FreeBSD? These are completely different *operating systems* (not kernels, full operating systems).

    Windowmaker is not BSD. If you have a problem with Windowmaker, go complain to them.

    Which parts of tuning require five years of experience and/or a CS degree? I switched from Linux to NetBSD after I'd been using computers for about two years altogether, and have always found it easier to work with. Why? Because it's a whole operating system. If stuff goes into the kernel, it's released with userland support, all at the same time.

    NetBSD is, IMO, the cleanest system out there today. Everything works, and moving forward is easy. Doesn't come with bash? So what? I don't use bash, so I'm pretty happy to not see it. I do like the standard bourne shell it comes with for running my scripts. I do use tcsh, so it's typically one of the first things I install from pkgsrc on a new machine.

    ``But pkgsrc is hard! You have to build the stuff yourself,'' you say? A ``make package'' at the top level will create binary packages for the current platform for all packages your configuration suggests you're licensed for. Port maintainers typically do this and provide binary packages for most things people would want. In fact, when NetBSD releases ISOs, they release pre-built package ISOs for i386, just to make it a bit quicker (it certainly can't be any easier).

    --
    -- The world is watching America, and America is watching TV.
  9. Re:how different (from standard netbsd) is it? by pHDNgell · · Score: 2, Informative
    Or have they moved to a Sys V init system

    This would be a pretty big step backwards. The NetBSD startup stuff is far superior to SysV. They wanted to move to a similar model for a while, but anyone who's ever used SysV startup on a real system understands the problems.

    Their current system allows you to drop files in a directory for startup that contain no special file names. They may list internally what service they provide, and what service they require and they will be sequenced properly. If you run two things that require network and don't provide anything that anything else requires, they'll get run after the network portion of the startup runs. There is no special shell scripting based on requested command (i.e. how many SysV startup scripts have you seen that implement ``start'' but not ``stop?''). Best thing is they're tiny, and they grow with the system. You define a couple variables and then do ``run_rc_command "$1"''

    I think it's cool that people are trying different things, and I don't care as long as it's not wasting me money, but they'd probably be better off learning from a system rather than trying to assimilate the kernel while throwing away the other good stuff.

    --
    -- The world is watching America, and America is watching TV.
  10. 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.

  11. Re:*BSD More Secure? by 8bit · · Score: 2, Informative

    FreeBSD has kernel level security options. Once you set a security level you cannot set it at a more relaxed level without rebooting. With features like that in place, it becomes very hard for a cracker to gain complete control over your server. Reboots are pretty dawg-gone noticable, don't ya think?

    --

    --Roy
  12. 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. Re:What came first, the GNU kernel or linux? by SpinyNorman · · Score: 2, Informative

    Linus's kernel and the GNU project are two seperate things. GNU predates the Linus's kernel and was always meant to be a complete Unix implementation - both user tools such as gcc, glibc, emacs, tar, ftp, etc, etc, and the kernel HURD. The timing of it was that the GNU project was pretty much complete excepting HURD while in parallel and independently Linus had started his kernel project and it had got to the point of being usable.

    My history is a bit shaky here, but I think it was the Slackware team which first made the unholy alliance of the GNU tools and Linus's kernel, and released it as a Unix distibution. I think Linus may have coined the name "Linux" a bit earlier for the combination of his kernel and a small set of GNU tools.

    I think that Debian is more of a Linux distribution than a GNU project - even though the GNU project is what make Linux possible, they've never actually put out distributions of their OS themselves. But of course Stallman would like them to get credit for the fact that the only part of Linux that is Linus's is the kernel (a miniscule part of what's in a "Linux" distribution).. hence the GNU/Linux and GNU/HURD pedantry which is quite reasonable apart from Stallman's initially obnoxious way of handling it.

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

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