Slashdot Mirror


User-Mode Linux Merged Into 2.5 Kernel

An anonymous reader writes "With little fanfare, User Mode-Linux (UML) has been merged into Linus' BitKeeper tree. The merge followed a patch by UML author Jeff Dike, resynching UML with the 2.5.34 development kernel. From the UML homepage, User-Mode Linux provides you with a virtual machine that offers 'a safe, secure way of running Linux versions and Linux processes. Run buggy software, experiment with new Linux kernels or distributions, and poke around in the internals of Linux, all without risking your main Linux setup.'" There's more UML resources available at the community site.

76 of 247 comments (clear)

  1. long time coming.. by stratjakt · · Score: 2, Troll

    I'd imagine there are alot of "weekend warriors" who would dabble more, and possibly contribute, but hold back not wanting to screw up their system.

    Maybe linux development will speed up a bit.

    --
    I don't need no instructions to know how to rock!!!!
    1. Re:long time coming.. by stratjakt · · Score: 2

      No, why buy something just to tinker with it?

      I was talking about all the highschool/college kids who can now more easily dissect and play with the linux kernel, in an 'approved' way.

      Still wondering why I got modded down as "troll". Offtopic, overrated or redundant make more sense.

      Oh well, I guess the elitist mentality of the linux zealot doesn't like the concept of "weekend warriors" daring to play with the same toys as him.

      --
      I don't need no instructions to know how to rock!!!!
    2. Re:long time coming.. by 00_NOP · · Score: 2

      Yes, I think the top poster was right in the general sense about the benefits of UML. That said I am a weekend warrior but I don't think I'd be interested in messing with the main tree. Just too difficult and competitive. I don't even have the time to look at lkml.

      Messing about with smaller, less intensive, projects and architecures means I use the heavy lifting of those working on the main tree to assist me develop the Linux project in a niche here or there though.

      However, it would be nice to mess about with a 2.5 series kernel just to see what it does and UML could give me that.

  2. Good stuff. by Lukey+Boy · · Score: 5, Interesting
    I recently found a beautiful use for user mode linux - changing distributions with a minimum of downtime.

    I have a RedHat box that's colocated that I wanted to move over to Debian - so I installed UML and loaded Debian onto one partition, got everything set up correctly and told LILO to boot off the new slice. After a few minutes of praying Debian came up running all the correct services.

    Thanks to the UML team!

    1. Re:Good stuff. by jovlinger · · Score: 2

      what about devices? Are they virtualised?

      No I haven't done any research.

  3. not for the humor impaired by dboyles · · Score: 5, Funny

    User-Mode Linux provides you with a virtual machine that offers 'a safe, secure way of running Linux versions and Linux processes. Run buggy software, experiment with new Linux kernels or distributions, and poke around in the internals of Linux, all without risking your main Linux setup.'

    Finally, something that will get Linux accepted as a viable desktop operating system for all levels of users!

    --
    -- "Complacency is a far more dangerous attitude than outrage." -Naomi Littlebear
    1. Re:not for the humor impaired by TheGreek · · Score: 3, Informative
      AFAIK no other OS will offer this functionality.


      Sorry, no.
    2. Re:not for the humor impaired by jbolden · · Score: 4, Informative

      You forget MVS (even better than OS/400) which is based on running multiple virtual OSes of radically different types if needed all under extremely powerful management tools.

      Still I agree 100% with your main point that while this is a big step up for Linux it ain't playing in the same ballpark yet.

    3. Re:not for the humor impaired by Cato · · Score: 2

      MVS (which later became OS/390 and z/OS) does not have the ability to run other OSs. VM is the hypervisor that lets you run 'real' OSs such as MVS, CMS, Unix and Linux, using IBM mainframes, like VMware on x86. VM/VMware are something like UML but work at the hardware level and can run virtually any OS for the given hardware, whereas UML obviously is a version of Linux and can only run Linux apps, not OSs.

      VM is very unlike OS/400 - one is a hypervisor, the other is an OS.

    4. Re:not for the humor impaired by jbolden · · Score: 2

      Agree with the clarification entirely. I used MVS rather than zOS because the point would be obvious (Multiple Versioning System).

      Off topic question: Do you know why IBM changed the name to zOS?

  4. Windows emulation built-in? by gilesjuk · · Score: 2, Funny

    Well it does say "run buggy software" :)

  5. Honeypot by GigsVT · · Score: 5, Insightful

    I imagine there are honeypot applications for something like this. You could make a cracker totally believe they had broken in when in reality they are just in a UML.

    For the ultra paranoid you could also make a backup copy of your whole UML partition and only run services in that, periodically restoring it from backup, and copying in the new data that is stored on the real OS. If you got broken into, it wouldn't really matter.

    --
    I've had enough abrasive sigs. Kittens are cute and fuzzy.
    1. Re:Honeypot by VC · · Score: 4, Interesting

      I just did this like 2 days ago. Im astounded that UML (bad name IMHO, been used already) is going into the main tree.
      UML is awesome, dont just set up 1 honeypot, set up 5 let the hacker think theyve found a whole network..
      Ive got my machine (no you cant have the IP ;-) so that ports 22 and 80 to to the *real* linux distro and all other exploitable ports goto my UML machine.
      Except that ive got TCP wrappers set up so that when you connect to my virtual machine, it NMAPs you and logs it all to a file.
      But probably the most fun thing you can do is test things like:

      # rm -rf / ;-)

    2. Re:Honeypot by bigjocker · · Score: 4, Funny

      # rm -rf / ;-)

      Why would you want do delete the winky tree??

      --
      Life isn't like a box of chocolates. It's more like a jar of jalapenos. What you do today, might burn your ass tomorrow.
    3. Re:Honeypot by puff-d-dwaggie · · Score: 3, Interesting

      I've done the Honeypot from home, but filled mine with killer bees instead. I used vmware to setup a honeypot machine running linux with a nice little samba server setup, and semilocked down. It was, however, filled with hundreds of programs and bullsnot documents all infected with one or more windows or dos viruses. I actually had someone email me and complain that my web server was virus infected and that it had caused major problems on their network when an employee of theirs had visited my website. They were threatening legal action and such. I replied to them that I didnt run a web server and that someone from their IP had hacked my machine. Several days later I got an apologetic email that also said the offending employee was no longer in their employ. I love my honeypot!

      "Get Moose and Squirrel!"

    4. Re:Honeypot by kasperd · · Score: 2

      # rm -rf / ;-)
      bash: syntax error near unexpected token `;-)'

      --

      Do you care about the security of your wireless mouse?
  6. What Are Some Other Uses? by MBCook · · Score: 3, Interesting

    Every time I've seen UML mentioned, it's in refrence to kernel programing/X programing/programing in general/software testing/etc. I understand how it would be incredibly usefull in this circumstances. But my question to you guys is this: how would it benifit Joe User to have this installed if he just surfs the web, does e-mail, plays games, GIMPs, etc? Other than just another layer of crash protection, what good is this to the masses?

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    1. Re:What Are Some Other Uses? by aardvarkjoe · · Score: 4, Insightful

      The "good for the masses" part is that more people will be able to work on / test / debug new linux kernels, so that Joe User will end up with a more stable system. As far as Joe User who doesn't know what a kernel is, I doubt that there's much of a reason for him to be using it.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    2. Re:What Are Some Other Uses? by kgasso · · Score: 5, Informative

      In our office (Wholesale/Virtual ISP), we've been experimenting with UML for a while as a decent alternative to trying to virtualize every service and allowing some of our reselling ISPs to have their own username space - something I don't even want to attempt with Apache and most FTP servers.

      So far it's been fairly stable, after working out a few quirks. Definitely worth the trouble of getting everything set up. Makes backups on the UML servers stupidly-simple too.

      Congrats to the UML developers on clearing this hurdle, and here's to hoping it betters future development on the project!

    3. Re:What Are Some Other Uses? by norton_I · · Score: 2

      Aside from the fact that not everything has to be for the masses, there are lots of sandboxing applications that the masses could use -- not just a layer of crash-protection (which shouldn't be needed if the regular kernel does its job), but as a way of protecting agains malicious/trojan software. For instance, worried that the latest version of windows media player is going to send information about your computer to MS? Run it in a user-mode sandbox that can't access any of your files, and can only use the network to grab your MPEGs. Someone send you a cool program that might have a virus or trojan? Your mail client could just run it in a UML sandbox. No more telling people "don't click on .exe files!

      Of course, the options above are much more useful in Windows than Linux, since Linux doesn't have much in the way of viruses, trojans, or spyware, but if it becomes more popular on the desktop, all those nasty things will come in full force, and we will be ready.

      Another sandboxing application that Joe User might be interested in is for servers. Lots of people like to set up personal web servers for one reason or another, and this is frequently a big security risk. But if he can install it in UML (or preferably download a pre-made UML image with the web server installed) the rest of his computer will be pretty safe.

      Another security possibility is for a personal firewall. If you ran your whole system in UML, and ran nothing but a firewall on the "real" machine, you could get many of the advantages of a firewall without a second computer. This is probably not particularly attractive, since you don't really need the firewall to be seperate from the workstation, but it is a possibility.

      I personally would love to see UML ported to Windows as a way to run Linux apps under Windows.

    4. Re:What Are Some Other Uses? by Lussarn · · Score: 2

      Who cares. The very reason we run Linux is because you can do stuff that will never make it into a consumer OS.

    5. Re:What Are Some Other Uses? by WNight · · Score: 2

      From what I've heard, some Linux distros aiming for the clueless-users market are implementing this sandbox mode with Wine to allow you to do things like open email attachments without hosing your other emulated programs.

      The idea is that you install a bunch of applications and with each one, tell the system if it's a component of (ie, should share the filesystem and permissions of) another program, related to it (in which case they need or one two way access to the files of the other, though possibly read-only) or completely unrelated, where they can "scan the whole system" and not see each other. (Of course, the whole system would appear to be an empty windows install until you set otherwise.)

      This way your virtual copy of Outlook (needed for calendaring in your company) would think it was the only thing installed, but your other apps could see Outlooks files, though in read-only mode to allow for importing of mail, or what-now. If you clicked on an email attachment it'd default to running it in a seperate filesystem unless told otherwise. If it's an .exe of the dancing baby, no harm done. If it's a virus, again, no harm done. (The exception being JS viruses where Outlook doesn't actually run an exe, where it is the security hole itself.)

      With a system of hard-links you could make a "windows install" that you could have tons of copies of without taking more room, except for files modified by the program running in that particular partition.

      This would also work in VMWare, if you could make it run from a Linux filesystem, but the overhead of running a new VM for each program is overkill.

  7. Limitations by deepchasm · · Score: 3, Interesting

    a safe, secure way of running Linux versions and Linux processes

    Well, yes it is, but if you want to take advantage of the security, and debug processes in depth, then you might have some problems.

    Many of you will probably remember the Reverse Challenge. One evening I downloaded the malicious binary, and decided that UML would be ideal to try running it in a tightly controlled enironment - using fenris to trace its execution and learn more about it.

    Unfortunately, fenris doesn't work under UML (neither does strace if I remember correctly).

    Shame. It's a lot cheaper than VMWare!

    1. Re:Limitations by Tom · · Score: 3, Informative

      strace runs just fine.

      I wanted to attach a few lines as proof here, but /. "junk filter" doesn't let me, no matter how much I try. Sorry, you'll have to verify for yourself.

      --
      Assorted stuff I do sometimes: Lemuria.org
  8. Few things more deserving... by Sheetrock · · Score: 2
    UML is just so versatile. It works nicely as a honeypot. It can be used to partition one machine into several for webhosting providers to let customers run what they want. It goes one step beyond chroot for running daemons you need but don't particularly trust. It lets you safely try distributions you haven't used before or design new ones.

    So, cool to see it gets the official seal of approval.

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




  9. Re:FreeBSD's Linux emulation by sfraggle · · Score: 3, Informative

    They are entirely different things. FreeBSD's emulation does translation of the system calls into the corresponding FreeBSD ones; UML is a full Linux kernel running in user space.

    --
    were you expecting to see a sig here? perhaps you'd rather see the inside of an ambulance!
  10. Is there an parallel to FBSD's jail? by pschmied · · Score: 3, Interesting

    I know that FreeBSD's jail allows for some level of virtualization. My question is, how technically does this differ from the jail mechanism or does it?

    As a side note this sounds like a really cool idea, especially if you could virtualize multiple instances.

    -Peter

    1. Re:Is there an parallel to FBSD's jail? by autocracy · · Score: 4, Informative
      Jail doesn't spawn an entire new virtual machine as a single process.

      And yes, you can run many instances of UML.

      --
      SIG: HUP
    2. Re:Is there an parallel to FBSD's jail? by jelle · · Score: 3


      UML is not the same as jail(), but the vservers/ctx kernel patch and programs is, and it's got more features too.

      Great for trying out other distributions, safe tryout of 'apt-get dist-upgrade', etc, etc.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    3. Re:Is there an parallel to FBSD's jail? by jelle · · Score: 2

      I found some cheap comma's, so you can keep them in your lyrics.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
  11. Re:all I have to say is.... by Soko · · Score: 3

    Right. The quote I'm thinking of goes something like this....

    "When you make something idiot-proof, the world just makes a better idiot".

    Newbies will _find_ a way to hose thier machine, even with UML. You can bet on it. Me, I'm hoping I, er, they still can - there's no better way to learn how stuff _really_ works than by fixing it after you've "Blowed it up rreeaaaalll goooood!"

    Soko

    --
    "Depression is merely anger without enthusiasm." - Anonymous
  12. Imagine... by stor · · Score: 5, Funny

    A Beowu*smack* ow.

    Cheers
    Stor

    --
    "Yeah well there's a lot of stuff that should be, but isn't"
    1. Re:Imagine... by adamjaskie · · Score: 3, Interesting

      /me gets the idea to set up a beowulf cluster of UML "boxes" to learn how to set up a cluster...

      --
      /usr/games/fortune
  13. Re:FreeBSD's Linux "emulation" by Anonymous Coward · · Score: 5, Informative

    Comparing UML to FreeBSD's API redirector (usually misnamed "Linux emulation") is like comparing Windows running in VMware to WINE. VMWare runs the true full blown MS-Windows while WINE redirects the calls to approbate native calls/code. Likewise, UML runs the true full blown Linux kernel while FreeBSD just redirects the calls to native calls/code.

    UML adds more layers before a system call makes it to the hardware than simple API redirection. For example, for a program running in UML to read from the CD-ROM, the real kernel only provides access to the block device and the UML kernel translates the block device/ISO9660 accordingly for the file access calls. In UML, reading of the structures as following ISO9660 is done is *user space*. FreeBSD's API redirector breaks the block device structures from ISO9660 to approbate formats for file system calls all in the FreeBSD kernel. FreeBSD's Linux "emulator" does not achieve the same redefination of what occures in user space as opposed to kernel space at all. If FreeBSD can't run Linux binaries faster than UML then something is very wrong. However, it would be interesting to see if FreeBSD's API redirector could run UML and see if UML runs faster on top of FreeBSD or on top of Linux.

  14. UML = Unified Modeling Language by WindowsTroll · · Score: 5, Informative

    The use of TLA's (Three Letter Acronyms) has become so rampant that it is hard to find things which aren't referred to by their TLA. In many cases, the same TLA has more than one meaning, so the users of the acronym are able to keep the context straight. In this case, where the software sector has a standard definition of UML, reusing the acronyn will only spread confusion

    If I were to create a software application called Great New Utility and referred to it as GNU, people would rightly be upset at me for trying to usurp an already common use of an acronym. In this case, I would probably be violating a trademark. The acronym of UML is already trademarked by Object Management Group, and has a common and well known usage.

    --
    "Microsoft has made computing accessible to a population who would otherwise not be able to use computers" - B. Kernigha
    1. Re:UML = Unified Modeling Language by dvdeug · · Score: 2

      In this case, where the software sector has a standard definition of UML, reusing the acronyn will only spread confusion

      Why? I haven't seen the Unified Modeling Language used much in the OpenSource enviroments where UML will be used, and outside those enviroments, User Mode Linux will probably have to be written out (and probably explained) to have any meaning, whether or not UML is used there or not. There's a programming language named Icon; I don't see hoards of confusion over that.

    2. Re:UML = Unified Modeling Language by Skapare · · Score: 2

      Since I don't do things that involve those kinds of higher level languages, my first encounter with "UML" actually was "User Mode Linux". So when I see "UML" that's what I think of. In fact it took a while for me to figure out why it all those developers seemed to be interested in using User Mode Linux.

      I propose we adopt a new meaning for "UML" as "Ubiquitous Mysterious Logic" or "Ugly Men Lurking".

      --
      now we need to go OSS in diesel cars
    3. Re:UML = Unified Modeling Language by sg_oneill · · Score: 2

      Or even TIT -> Tos Is (a) TLA. And then you have a recursive TLA.

      --
      Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
    4. Re:UML = Unified Modeling Language by sg_oneill · · Score: 2

      Ugh,.. :/ .. Sorry Tos Is(a) Tit -> TLA is not recursive (Ok Shayne.. time for another cofee.. brain go cookoo). Um... How about TIT -> TIT Is(a) TLA... There. That works. Ok.. Now I'll get that cofee

      --
      Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
    5. Re:UML = Unified Modeling Language by Arandir · · Score: 2

      haven't seen the Unified Modeling Language used much in the OpenSource enviroments where UML will be used

      In some ways, that's a pretty severe indictment of Open Source. UML is about software analysis and design. Most Open Source projects, sadly, do not design their software, but start coding from minute one. There are exceptions though, but by and large most Open Source hackers don't have the patience to design their software (or validate it, or write documentation, or do usability studies, yada, yada, yada).

      To be fair, a heck of a lot of closed source software isn't designed either.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    6. Re:UML = Unified Modeling Language by mshiltonj · · Score: 3, Interesting

      VLM - Virtual Linux Machine?
      UMK - User Mode Kernel?
      LUM - Linux User Mode?
      LVM - Linux Virtual Machine?
      PUL - Partitioned User Linux?
      LUK = Linux User Kernel? (pronounced Luck!)

      Whatever. I do think an new acronym should be found for this.

    7. Re:UML = Unified Modeling Language by dvdeug · · Score: 2

      haven't seen the Unified Modeling Language used much in the OpenSource enviroments where UML will be used

      In some ways, that's a pretty severe indictment of Open Source. UML is about software analysis and design.

      You don't quite come out and say it, but I'm getting the impression of

      OpenSource doesn't use UML.
      UML is about software analysis and design.
      Therefore, OpenSource doesn't do software analysis and design.

      That is to say, UML is not the only way to do software analysis and design. Bertrand Meyer has thrashed UML pretty hard: So, although UML willbe successful at first, because it has the right endorsements, it will be of little use to the actual process of developing software. (Unfortunately, I can't find the article where he let loose with both barrels.)

      most Open Source hackers don't have the patience to design their software

      Or the knowledge - I don't remember anything in any of my compsci classes about designing software. Open Source ad-hoc design, build, and redesign and rebuild seems to have worked pretty well in some cases.

      or validate it

      Money, perhaps? Spending several thousand dollars for a validation kit that I can only use on my machine is quite pricy.

      or write documentation, or do usability studies

      Serious user documentation in the commericial world is done by writers, not programmers. You can't expect people whose skills are programming to do everything.

    8. Re:UML = Unified Modeling Language by ivan256 · · Score: 2

      In some ways, that's a pretty severe indictment of Open Source. UML is about software analysis and design. Most Open Source projects, sadly, do not design their software, but start coding from minute one.

      UML is hardly a necissary tool for designing software. In fact, if the task is simple enough source code can be the best design document. People that are too closed minded to consider more than one solution to a problem make poor software developers.

      most Open Source hackers don't have the patience to design their software (or validate it, or write documentation, or do usability studies

      You unfairly limit this to Open Source developers. Colsed source developers are just as lazy if not more, and typically the only reason such a programmer will think out a design before starting or write complete documentation is because it's company policy.

    9. Re:UML = Unified Modeling Language by Arandir · · Score: 2

      UML is hardly a necissary tool for designing software.

      No, it's not necessary. But it is common enough that Open Source developers should think UML == "Unified Modelling Language", instead of "User-Mode Linux". I may not need blueprints to build a house, but I should still know how to read them.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    10. Re:UML = Unified Modeling Language by Azog · · Score: 2

      BTW, LVM is already taken, it's "Logical Volume Manager", used for managing big hard drives, resizing partitions, and stuff like that.

      VLM for Virtual Linux Machine would have been good, but too late now I think. Oh well.

      --
      Torrey Hoffman (Azog)
      "HTML needs a rant tag" - Alan Cox
    11. Re:UML = Unified Modeling Language by netsharc · · Score: 2

      You missed the subtle joke.. Object Management Group shortens to OMG.

      --
      What time is it/will be over there? Check with my iPhone app!
  15. Re:Woah by IIRCAFAIKIANAL · · Score: 2

    You're not very funny, but I found this so I forgive you.

    --
    Robots are everywhere, and they eat old people's medicine for fuel.
  16. I don't get it by schlach · · Score: 3, Insightful

    I imagine there are honeypot applications for something like this. You could make a cracker totally believe they had broken in when in reality they are just in a UML.

    Except for the 0.02% of people out there, and maybe 98% of businesses, that have anything on their computers that's more useful than the computer itself, I don't know why this would make a good honeypot. The cracker won't just think he's broken in... he will have really broken in.

    Not so much a honey-pot as a pot-o-honey...

    The UML website mentions applications as a sandbox, which makes sense, but if you're going to run vulnerable apps to lure hackers (i refuse to mistake hackers and crackers :) and give them unrestricted network access, you might be able to efficiently spy on what they're doing, maybe, but they've *still* taken over your network connection. They can now use it for a DDoS zombie, an IP bounce, or maybe just put some of their own filez on that wu-ftpd server you set up to get knocked over...

    My $0.02

    1. Re:I don't get it by pabs · · Score: 5, Informative
      $iptables -t filter -A FORWARD -i tap0 -j in-throttle
      $iptables -t filter -A in-throttle -m limit --limit 5000/sec -j RETURN
      Thank you, drive through.
      --

      Odds of being killed by lightning and winning the lottery in the same day: 1 in 2^55

    2. Re:I don't get it by GigsVT · · Score: 2, Informative

      Honeypots are not for normal businesses to run. They are mostly of interest to security people who want to get insight into the latest tools and exploits.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    3. Re:I don't get it by Anonymous Coward · · Score: 2, Insightful
      but if you're going to run vulnerable apps to lure hackers (i refuse to mistake hackers and crackers :)

      But you just have... Particually when combined with:

      They can now use it for a DDoS zombie, an IP bounce, or maybe just put some of their own filez on that wu-ftpd server you set up to get knocked over...

      Learn

  17. Re:Redhat bloatware by zapfie · · Score: 3, Funny

    First off, you are comparing two things not of similar function. Second, a lot of Word's functionality is also included in shared DLLs- that same winword.exe file won't run if you shove it on a bare machine. Third, you can rebuild the kernel to be as large or as small as you want (functionality-wise, which also affects kernel size). Red Hat's kernel is not the 'official' kernel, so it is misleading to say that the Linux kernel is now larger than the Microsoft Word executable.

    --
    slashdot!=valid HTML
  18. RMS is right by Anonymous Coward · · Score: 2, Funny

    By calling it "User-Mode GNU/Linux" you get a four-letter-acronym ("UMGL") which does not spread confusion.

  19. Well documented. by tshak · · Score: 5, Funny

    One of the great things about UML - unlike a lot of other OSS projects - is that it's very well documented. Thanks to the UML diagrams on UML, there is no confusion as to what UML is or what it does.

    --

    There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
  20. Vservers/ctx patch can do this without overhead by jelle · · Score: 4, Interesting

    Somebody has to mention the Virtual Private Servers (vservers) and security contexts (ctx) patch, which takes chroot(), and adds the good stuff from jail() and more to make completely separated contexts for process groups, without the overhead of another kernel.

    I've been running Debian 2.2r7 and RedHat7.2 in parallel with Debian/Woody on the same box for months now with this patch.

    --
    --- Hindsight is 20/20, but walking backwards is not the answer.
    1. Re:Vservers/ctx patch can do this without overhead by hughk · · Score: 2

      I would guess the other thing is resilience. If a UML kernel goes down, it shouldn't break the host. Howver with the Vservers patch, it really is one kernel across the 'virtual servers' so if server' kernel breaks, all break. VMware is different in that it forms a virtualisation layer under the host OS which allows the guest systems to run. It is somewhat more tricky, but it has a reputation for being quite good, but is only available commercially.

      --
      See my journal, I write things there
    2. Re:Vservers/ctx patch can do this without overhead by jelle · · Score: 2

      Additionally....

      Inside a (numbered) context, vservers offer a root user that doesn't have all capabilities, such as for modifying the ifconfig, routing table, /dev/kmem, etc. You cannot break out of a vservers context, even if you are root.

      Plus, processes inside a particular context can only see other processes that are in the same context (ps, top).

      When you use vservers to give users virtual 'root' accounts, with each having their own complete Linux installation tree, you can make the standard files of the distributions hardlinks to only a single copy, and then chattr them immutable. That means you don't need as much diskspace, because all standard files share their diskspace. The 'vserver root' can then not modify the file (however, remove and replace with a self-compiled works fine if the directory is not made immutable).

      There's probably more, this is what I could think of right now.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
  21. Combine with DebianEdu by Perdo · · Score: 3, Funny

    To keep those little brilliant (bastard) children from wrecking your shiny new Linux lab.

    --

    If voting were effective, it would be illegal by now.

  22. Re:How fast is User Mode Linux? by Lukey+Boy · · Score: 2, Informative

    Native speed - it basically passes all syscalls directly to the parent kernel (as far as I can tell). Very cool shit.

  23. UML Windows port? by Nicopa · · Score: 2, Insightful

    Now we need somebody porting UML to run under Windows, pehaps using cygwin. Then we could have easy "try-linux.exe" for windows users.. :)

    1. Re:UML Windows port? by sg_oneill · · Score: 2

      Although I suspect it's probly a bit more to it than that (cygwin probly WONT be usefull in porting kernel patches!) it'd be cool to have sumfin like Knopix running as a "CLICK ME!" exe on windows. That'd be spooky to be sure!

      --
      Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
  24. Another important use by fireboy1919 · · Score: 5, Interesting

    There are several products that require a custom kernel, and this could certainly benefit all of them.

    The one I'm thinking of right now is Win4lin, the cheapest, fastest Windows VM for Linux right now; it needs a kernel with its own patches, and they distribute patches for Debian, Slackware, Mandrake, and Vanilla kernels. My distro (Gentoo) makes a kernel which is known for its speed, but which I'm not using right now because of this (I can't even patch the Vanilla kernel to that level because it the Win4lin patch conflicts with Gentoo's patches).

    --
    Mod me down and I will become more powerful than you can possibly imagine!
  25. Re:server failover by Paranoid · · Score: 2

    I'm not so sure. If your motherboard bites the dust, I'd think the parent Linux kernel is the one likely to crash and burn, since it's the one directly touching the hardware.

    --
    Paranoid
    Bwaahahahahaa.
  26. Synopsis. by mindstrm · · Score: 3, Interesting

    The news here is that it is merged into 2.5

    UML is not new, though this will certainly make things better.

    Just think of the neat firewalling you can do.
    Run your DNS servers inside a UML session, with traffic to them filtered by firewalling on the host... even if someone breaches BIND, they are stuck in a machine, can't go anywhere, because all traffic to that machine is filtered.

    Virtual linux machines for each service that is not performance critical.

  27. SMP by binney · · Score: 2, Interesting

    UML can emulate an SMP machine. It could be used for benchmarking multi-threaded code and teaching SMP programming without having to fork out big $$$ for SMP machines.

  28. Well.. by mindstrm · · Score: 3

    Consider a firewall where the only IP layer things that are seen are actually coming from instances of UML.
    The host kernel is just running bridging (and filtering, of course) , and doens't even have an IP of it's own.

    So your NAT device is actually a UML instance.
    So hey manage to get root on it.. even so, the traffic to it is filtered at a layer they cannot even see. They just can't get there from, well, there.

  29. It's called LINE by Walles · · Score: 2

    ... and is available here. I have no idea about how far along they are.

    --
    Installed the Bubblemon yet?
  30. WHEE! by _Knots · · Score: 2

    I've been fooling with UML as a potential container for grid computing applications..

    Think about it - they get full ring3 native assembler optimization for the computation (none of this Java/emulation stuff) and only encounter a minor penalty when they need to talk to the net or a "disk" - virtual or no. And, with iptables on the real kernel one can set up arbitrary network access rules for the UML world. And since the disks are just files or real disks, you have near-perfect control there too. The only thing I can think of not working is device driver modules like NVdriver... but that shouldn't be a terribly big drawback.

    Sorry if that's incoherent, it's 4:00 here and I'm really really tired.

    --Knots;

    --
    Anarchy$ dd if=/dev/random of=~/.signature bs=120 count=1
  31. Re:FINALLY! by Khalid · · Score: 2

    Consider yourself lucky to not have posted something embarassing :)

  32. Not exactly by XNormal · · Score: 2

    LINE runs a single linux executable under Windows while UML runs an entire Linux kernel.

    --
    Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
  33. I don't get it. by LordNimon · · Score: 3, Interesting

    I've read the web site, but I still don't really understand what UML is. How is it different from something like VMWare?

    --
    And the men who hold high places must be the ones who start
    To mold a new reality... closer to the heart
    1. Re:I don't get it. by psamuels · · Score: 2, Informative
      How is it different from something like VMWare?

      Well ... it's free.

      Seriously, VMware lets you run a regular OS on emulated hardware. UML lets you run an emulation OS on real hardware. Both run on top of a standard OS (with real hardware).

      VMware is not itself an OS - it provides a virtual PC which your regular OS thinks it owns. UML is an OS, which knows full well it does not own any hardware. The processes running under UML do not necessarily know that, though, since UML provides a near-standard environment.

      (Related point: for those of you who think you're going to set up a honeypot that the cracker will break into and think he 0wns the bare metal - keep in mind that UML was not really designed to hide its own nature, so it's not hard to check for. And if you crack root in the UML, it's possible to get out of it. So if you're using UML for security reasons, you probably should run it in its own chroot.)

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
  34. Re:I wish ASUS would do this for BIOS by netsharc · · Score: 2

    Too bad you're AC, on some motherboards you can hold a key when you turn the PC on that will reset it to safe settings and allow it to boot again. Google for it. Or do what I did, and set the jumpers to the correct settings, overriding the motherboard's. (I changed my BIOS to say I have a PC133 RAM when I didn't, and the thing didn't boot up. Got me panicked for awhile, the thing was a day old, and my bought-by-Dad first ATX after 5 years with a P-100.

    --
    What time is it/will be over there? Check with my iPhone app!
  35. Re:I wish ASUS would do this for BIOS by UncleFluffy · · Score: 2

    If all else fails, take the CMOS battery out overnight and it should reset to safe defaults.

    --

    What would Lemmy do?

  36. Re:PS/2 by 00_NOP · · Score: 2

    ahhhh.... I remember them well.

    I was the administrator of a very small Netware/286 network about a decade ago (a 286 fileserver and 6 XT machines, well Compaq clones actually).

    They all ran Wordperfect 4.2 brilliantly, but we needed more, so I persuaded the boss to let me buy a 386 system at an auction - and the PS/2 was the cheapest, because nobody was interested in them because of the MCA architecture.

    Sure was a good system though.