Slashdot Mirror


Vista To Be Updated Without Reboots

UltimaGuy writes "Microsoft is working on a new feature for Windows Vista, known as Restart Manager, which will update parts of the operating system or applications without having to reboot the entire machine. From the article: 'If a part of an application, or the operating system itself, needs to updated, the Installer will call the Restart Manager, which looks to see if it can clear that part of the system so that it can be updated. If it can do that, it does, and that happens without a reboot.'"

40 of 632 comments (clear)

  1. funny department by pohl · · Score: 4, Insightful

    "from the welcome-to-the-world-of-tomorrow dept"? More like welcome to unix of yesteryear. What's with the kid that always crosses the finish line last and somehow always gets perceived as the leader?

    --

    The "cue the foo posts in 3, 2, 1..." posts will commence with no subsequent foo posts in 3, 2, 1...

    1. Re:funny department by zulux · · Score: 3, Insightful

      What's with the kid that always crosses the finish line last and somehow always gets perceived as the leader?

      Maby the last kid that crossed gets all the attention because he's "special." ...

      It's the same way when I show people Windows Remote Desktop.... they act like it's a big deal.

      Unix had "remote destop technology" before most Unix users could afford computer monitors.

      And even then, Unix was late to the party many times - I've been put in my place by old geezers when they say... "Well, my PDP-8 did that too. With punch-cards."

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    2. Re:funny department by kuzb · · Score: 5, Insightful

      I dub the parent comment "Welcome to the flame of today". This isn't about unix, nor is it about competing with Unix. This is about fixing a long-standing user complaint. Why must there always be a comparison? Another fine example of "it doesn't matter how many problems get fixed, we'll be here to bitch about it anyway"

      --
      BeauHD. Worst editor since kdawson.
    3. Re:funny department by MSFanBoi2 · · Score: 5, Insightful

      Look, we ain't talking about Unix or Linux here, we are talking about Windows.

      Windows wasn't able to do this before, now it is.

      What with the kid that keeps thinking that Windows and UNIX are the same and features in each have to mirror each other.

    4. Re:funny department by MightyMartian · · Score: 4, Insightful

      The point, other than a bit of chest beating, is to demonstrate that Microsoft loves to ooze BS about innovation, but when you look at what they do, it's been around for a long bloody time./

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    5. Re:funny department by dslbrian · · Score: 3, Insightful

      This is about fixing a long-standing user complaint. Why must there always be a comparison?

      Probably because "long-standing" doesn't really do it justice. The problem has existed in all Windows versions up to and including the ones that exist today. The comparison is because Unix and variants overcame the problem what, years? decades? ago. Imagine them saying that Vista is going to patch a 20year hole in IE, most people would compare to alternatives and say wtf took them so long...

    6. Re:funny department by IAmTheDave · · Score: 4, Insightful

      More to the point, it's not even that relevant. MS can install updates without reboots too, like the latest .NET Framework 1.1 update for instance, which unlike the original install of the framework, didn't require a reboot on my PC. Heck, Windows Update often runs without rebooting.

      Read the fine print:

      ...which looks to see if it can clear that part of the system so that it can be updated. If it can do that, it does, and that happens without a reboot.

      And if it CAN'T clear that part of the system? <mentok voice>REBOOT!</mentok voice>

      So, I'm not sure how this is much different than before, aside from Vista will try to unload unused system dlls as well as non-system dlls?

      --
      Excuse my speling.
      Making The Bar Project
    7. Re:funny department by kuzb · · Score: 1, Insightful

      Except Microsoft hasn't claimed this to be an innovation. That's a statement slashdot users put in Microsoft's mouth so they can then turn around and make statements exactly like yours.

      --
      BeauHD. Worst editor since kdawson.
    8. Re:funny department by Zathrus · · Score: 3, Insightful

      q[More like welcome to unix of yesteryear.]q

      Really? Your Unix installations save the current environment when they need a reboot (for, oh say, a kernel update) and restore it completely when finished?

      What this appears to do is considerably more than just try to avoid reboots (which, while improved under XP, still happen way too damn much -- for both OS and "application" patches), it actually tries to make a reboot a non-event as far as the user is concerned.

      It won't work though. There's too many potential issues -- most of them security related. If you're logged in on a network it would have to remember your login info to restore that. What if you're logged into remote connections, like ssh sessions? Or ftp? Or your web banking? While these might be solvable, my guess is that solving some of them (like retaining the SSL session for the web banking) would involve some pretty massive potential security holes beyond just remembering passwords that it shouldn't.

      Fixing the real issues would require a massive rewrite of the file systems, the memory manager (esp. virtual memory), and other key OS components. Unix has done it right for a long time in this regard -- delete a file in use? Sure, no problem. But it's not actually de-allocated from the FS until the current process releases it. This has its own set of issues, but they're much more managable than the ones that exist with Windows' current methods. Better yet would be inherent versioning, ala VMS's FS. Certainly disk space is cheap now compared to back then -- it's surprising that nobody's revisited this.

    9. Re:funny department by pebs · · Score: 2, Insightful

      It's the same way when I show people Windows Remote Desktop.... they act like it's a big deal.
      Unix had "remote destop technology" before most Unix users could afford computer monitors.


      Are they amazed by it because its a remote desktop or its so fast its like using the machine locally, even with a low bandwidth connection? Remote desktop technology has been around for ages, but what's amazing about RDC is its speed. NoMachine NX is comparable in speed. But take straight X remoting or VNC and they are laughably slow in comparison.

      --
      #!/
    10. Re:funny department by ZakMcCracken · · Score: 5, Insightful

      Yes, well, with today's Unix infrastructure you can do remote server access, but can you do remote *desktop* access?

      Sure you can adapt server tools like X11 to do remote access, but then remote desktop involves more: can you see your local hard drive from the applications on the desktop machine that you're remoting into? Can you see your local printer, so the printouts come where you are by default and not on the printer that is connected to the remote PC? Can you hear sounds played by applications when you remote into a PC?

      Same thing with fast user switching... many people said, on Linux you have long been able to open many virtual consoles under different identities... Just Ctrl+Fn between them... Ah yes but what happens when you switch consoles? Notice how it doesn't ask for your password? Which makes it applicable in many settings, contrary to the Mac or Windows versions of fast user switching which do ask for password. Feature comes in late, but right.

      As to changing OS components while running... Sure, Linux has had kernel modules, FreeBSD has had a microkernel... but is there a tool to automate dependency checking, to see which services need to be shut down, to actually shut them down / unload modules, and then relaunch services?

      Unix OS's "can do" a lot of things, if you accept that many of the capabilities are pushed out of the OS onto the end-user. Actually if you start thinking this way, coding pure assembly in kernel mode actually has the most features!!

    11. Re:funny department by NotoriousQ · · Score: 5, Insightful

      Except this already happens anyway. When a library is replaced the original is deleted, but the content still hangs around until all programs that rely on that library close, at which point the file system deletes the content.

      All programs that start after library has been updated use the updated version.

      The main issue is that in windows, two files can not exist under the same name (no concept of linking). (well, sort of. I am not sure if NTFS streams can be used for this.)

      --
      badness 10000
    12. Re:funny department by Anonymous Coward · · Score: 1, Insightful

      Yet the only people who call it the "lowest form of wit" are those who habitually don't get it...

    13. Re:funny department by zulux · · Score: 3, Insightful

      but is there a tool to automate dependency checking, to see which services need to be shut down, to actually shut them down / unload modules, and then relaunch services?

      No need for that in a proper system.

      Let's say I want to upgrade Samba: In Unix, while the system is running, I upgrade the binaries right over the old versions. Unix is smart enough to keep the old version around and all clients that are in use continue to work just.

      Any new client gets the new version.

      As old sessions drop off over the next few weeks they get the new version when the reconnect. When the last old session dies, then you're fully migrated and none of the users ever noticed.

      No need for "automared dependence checking" when your system was designed properly in the first place.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    14. Re:funny department by man_of_mr_e · · Score: 4, Insightful

      Weeks? The idea behind an in-place patch is because of some security flaw. You don't want the old version hanging around for weeks. If there's a security vulnerability, I want to restart ALL of the services that use it immediately.

    15. Re:funny department by pikine · · Score: 5, Insightful
      This is essentially what Unix does, but not many people understand this.

      What happens when you upgrade a package?

      1. Package manager removes the files of the old package.
      2. Package manager unpacks files from a new package.
      3. Repeat until all packages are upgraded.


      When an opened file is removed from the file system, its directory entry is removed, but the inode stays on disk as long as the file stays open. So old libraries remain on disk as long as old programs are using them, which essentially creates a parallel world of different library versions---one accessible from the file system, and the other accessible from existing running programs with open file descriptors. When the program restarts, it then uses the new library.
      --
      I once had a signature.
    16. Re:funny department by Blakey+Rat · · Score: 1, Insightful

      Bullshit. Everytime I update OS X it makes me reboot. If there was a way to do it without rebooting, don't you think Apple (one of the, if not *the* biggest Unix distro) would be taking advantage of it?

      Sure it might be theoretically possible in some lab setting, but the simple fact of the matter is that the Unix distribution I use every day doesn't, and so it can't be nearly as simple to accomplish as you seem to assume it is.

    17. Re:funny department by zulux · · Score: 2, Insightful

      Weeks? The idea behind an in-place patch is because of some security flaw. You don't want the old version hanging around for weeks. If there's a security vulnerability, I want to restart ALL of the services that use it immediately.

      For most purpouses - you can sometimes assume that the curent useres of your service are not malicious. New ones coming online could be malicious because they have access to security exploit. This is a decision for the human to make and not the OS. If I feel that the security vulnerability has been in the wild for too long - I will kill all the old processes that are attached to old clients.

      When sshd had a vulnerability - I updated it and left the old connections online as they were all started before the exploit became known. When there was a vulnerability in PHP, I killed everybody because I wasen't sure, and our PHP app wasen't critical - it woulden't hurt anybody to drop them.

      This is somthing that MS should allow the administrator to decide and not try to "help"

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    18. Re:funny department by dslbrian · · Score: 3, Insightful

      don't you think Apple (one of the, if not *the* biggest Unix distro)

      Heh, ok I almost laughed at that. If you seriously think Apple is the biggest Unix distro, you have a seriously myopic view of the Unix world. Of course perhaps you were referring to *BSD (encompassing all derivatives) instead of "Apple".

      Sure it might be theoretically possible in some lab setting, but the simple fact of the matter is that the Unix distribution I use every day doesn't, and so it can't be nearly as simple to accomplish as you seem to assume it is.

      I'm not a kernel programmer (I have written drivers however), but I imagine it all has to do with the modularity of the kernel and subsystems. On the HPUX and Linux boxes I use daily, and also the Sun boxes I used to use, restarting core services - NFS, automount, etc. never required a reboot. Shutdown and restart the process and your good to go. Adding applications and libraries on said systems hasn't required rebooting either. I've installed major application suites (Cadence, Mentor Graphics), X, major libraries (perl, java, etc), cups print services, and so on - none of which required a reboot. Even something as invasive as swapping the video drivers can be done without a reboot. Exit X (or init 3), adjust startup script, restart X - all done.

      On the flip side however is Windows, where when I installed my HP "plug-and-play" printer, it required rebooting -halfway- through the driver installation, and then again(!) after the drivers were fully installed. As near as I can tell everytime some stupid little app or game tries to install a dll it requires a reboot. The drivers for my digital camera and scanner were the same way. Why the heck do you have to reboot the whole machine to install a usb driver is beyond me. Perhaps its the peripheral manufacturer writing bad drivers, mabye its Windows, heck if I know, but thats the way it is.

  2. Wow... Took only 30 years to catch up... by scheming+daemons · · Score: 2, Insightful
    .. with *nix.

    I've had the ability to kill services (daemons), upgrade them, and restart them without rebooting the system for years.

    yet another Microsoft "innovation" that is decades behind the competition.

    --
    "I have as much authority as the pope, I just
    don't have as many people who believe it" - George Carlin

    1. Re:Wow... Took only 30 years to catch up... by Anonymous Coward · · Score: 1, Insightful

      Non-geeks don't really care about updating their system. Thanks to Windows Update popups they eventually will, but most of them don't see it as a tragedy to reboot their machine. Microsoft has trained them to think that constant rebooting is the norm.
      I don't think this is a feature that the public at large has been demanding. Only Windows Server admins will be frothing at the mouth over this. And smug *nix guys will just smile and keep feeling superior (which, of coarse, we are).

    2. Re:Wow... Took only 30 years to catch up... by Wesley55221 · · Score: 2, Insightful

      yet another Microsoft "innovation" that is decades behind the competition.

      And the manner in which they claim to "solve" this really gets me nervous:

      "If you have to reboot, then what happens is that the system, together with the applications, takes a snapshot of the state: the way things are on the screen at that very moment, and then it just updates and restarts the application, or in the case of an operating system update, it will bring the operating system back exactly where it was," Allchin said.

      So basically it reboots, and then restarts your applications? Sounds to me like they're making things worse.

    3. Re:Wow... Took only 30 years to catch up... by flyinwhitey · · Score: 3, Insightful

      "Data Recovery and Application Restart

      With Windows Vista, users won't have to restart their computers for most updates and application installations. Windows Vista knows which applications and services are using which files, and if a file needs to be updated, Windows Vista can coordinate saving the application's data, closing the application or stopping the service, updating the file, and automatically reopening the application or restarting the service. This capability is provided by a feature called Restart Manager.

      Restart Manager works with Microsoft Update, Windows Update, Microsoft Windows Server Update Services, Microsoft Software Installer, and Microsoft Systems Management Server to detect processes that have files in use and to gracefully stop and restart services without the need to restart the entire machine. Applications that are written to take advantage of the new Restart Manager features can be restarted and restored to the same state and with the same data as before the restart."

      Show me anywhere in there where MS claims this is an innovation.

      Your inferiority complex is showing.

      --
      How pathetic are you that you follow me from topic to topic and waste all your mod points at once modding me down?
  3. Finally.. by yamcha666 · · Score: 5, Insightful
    Finally! How long have we been waiting for something like this in a Windows system? Granted, UNIX/Linux/etc has had it forever and I love it that I don't have to reboot every time I install, for example, a cd burner app in Linux. So why should I have to reboot when I install something like Nero? Or anything besides the kernel or hardware for that matter?

    Linux: Because rebooting is for adding hardware.

    1. Re:Finally.. by dotgain · · Score: 2, Insightful
      So why should I have to reboot when I install something like Nero? Or anything besides the kernel or hardware for that matter?

      Having worked with several Windows developers (the worst of the pseudo-techies), I couldn't begin to tell you how dearly they hold their restarts and drive defrags.

      Ever single installer would restart the computer, no matter how trivial the package installed is, even if it's just a bunch of PDFs. I've argued till I'm blue in the face with someone who insisted that you really need to restart to register all the files you copy on, DLLs or not.

      Then there's defragging. Not only would all the devs defrag their own drives every week, they'd pretend they could notice a difference. It's the first thing our helpdesk would tell you to do if there were problems. Second, reinstall the OS.

      Why do you have to reboot when you install something as simple as Nero? Two reasons. In my experience, Windows devs are pseudo-technical. They know a there's 1024 b's in a k, but not why. Second reason, that's what they're used to. They probably had to restart a half dozen times to install their click-and-drool development environment, and it becomes par for the course.

      AND, because you actually FIX 50% of windows problems by restarting, why not? Mark my words, Vista will be just as bumpy a ride as XP was. You'll be restarting it often enough, matey.

  4. Oh, Lordy! by overshoot · · Score: 4, Insightful
    From the description it sounds complicated as all get out. Doing dependency checks in real time while the system is running, unlinking in-use libraries, etc.

    It has "fragile" written all over it.

    I suppose that there are reasons why Microsoft can't just leave an inode in place after unlinking it so that processes that use it don't lose it, but is this really the best workaround they can come up with?

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
  5. Re:hmmm by dotgain · · Score: 3, Insightful

    Exactly. Will any exiting installers call the restart mis-manager? Probably not, because they don't know about it. You'll probably still get msgboxes telling you you must restart, with a single "OK" button on it, and not be able to click anywhere else. And of course there's the case of the restart mis-manager thinking it's clear to restart a service, when it isn't.

  6. Re:Okay fellas, give 'em a break. by Art+Tatum · · Score: 1, Insightful
    AND they do make one helluva desktop, you gotta admit that! Much as I hate it, Windoze is the gold standard against which KDE and GNOME have been comparing themselves for years.

    Which is part of the reason KDE and GNOME are so mediocre. Apple products have always been far more integrated, internally consistent, and thoughtful about giving the user reasonable access to OS features than Microsoft's slap-dash attempts. How anyone can think of Microsoft as the gold standard astonishes me.

  7. Re:GEEZ FINALLY! by ivan256 · · Score: 2, Insightful

    17 seconds? Maybe on your little toy that you call a computer. A *real* computer that you use to run some highly available, resource intensive process on needs longer than that just to initialize it's ECC memory... Not to mention the time it takes to scan the SAN, mount drives, start up services... All during that time you're hundreds of users are waiting for your system to come back, and you may be losing thousands of transactions per second of downtime.

    If it's only taking you 17 seconds, it's clear that you only have a measly few gig, and that it's crappy non-ECC stuff. (Plus you probably have only gotten to a "working desktop". Your machine is likely still starting up stuff for the next few minutes while you wonder whiy your computer is so slow.)

    Windows *needs* to be able to update almost everything without a reboot if it ever wants to grow up and be something more than a toy in the data center.

  8. Re:I'll believe it by Not+The+Real+Me · · Score: 4, Insightful

    Win2K was supposed to have the restart without reboot.
    WinXP was supposed to have the restart without reboot feature.

    The only way I can see Vista as having this feature is if Microsoft finally includes signalling (ala Unix/Linux and most other professional operating systems).

  9. Re:Ready for the desktop by SilentChris · · Score: 2, Insightful

    Considering most people turn off their computers every night, this feature wasn't really needed. If you ask the average Mom/teenager/grandparent, they turn off their machine every night. When asked why, they say "Why not?" The concept of having a machine running for months on end doesn't appeal to them at all.

    Microsoft took their time with this because they could. Whereas, with Windows XP going forward, they've emphasized startup times -- because that's what Joe User looks at.

  10. Re:hmmm by Bezben · · Score: 2, Insightful

    The real question is how long will it take virus writers to use it to replace system dlls with new infected ones?

  11. Re:Microsoft acts like a kid. by delcielo · · Score: 2, Insightful

    While I agree that they should make it more stable in the first place, I have to say that this little piece is going to be a welcome feature.

    I have often felt honestly bad for my Windows counterparts when it comes to patch time and they have to go through the pain of arranging down times and outages with their customers, sometimes stretching their patch time frame out for weeks.

    While it's a long way from curing all of their ills, this is a welcome step.

    --
    Hot Damn! It's the Soggy Bottom Boys!
  12. Re:Microsoft acts like a kid. by quakeroatz · · Score: 3, Insightful

    Not sure what stability problems you're talking about with XP. The only crashes I have are related to dying hard drives, overheating, overclocking or using an older video drivers on new 3d apps/games. All of these factors having little to do with microsoft. Windows XP is stable. Vista? We'll see....

  13. Re:Microsoft acts like a kid. by WuphonsReach · · Score: 2, Insightful

    That's been my experience as well.

    Stability is one of the main reasons that I ran OS/2 2.0 through 3.0 back in the mid-late 90s. My OS/2 box would stay up and running for ~2 weeks at a time, as opposed to the non-stability of Win 3.1 and Win95. (I would dual-boot to Win95 to run a few games, but that was it.)

    NT4 wasn't bad. I ran that for a few years before Win2000 came out. Win2000 was nicer because more things would run (Win2K server seemed to be more stable then NT4). Never had many issues with Win2K that couldn't be traced back to sub-par device drivers or non-system cruft (or flaky hardware). Since WinXP is built on Win2K's codebase, my experience really hasn't changed in a long time.

    I have 2 WinXP desktop systems and a WinXP laptop. Uptime for me is generally measured in weeks. My restarts are mostly due to power outages, patches, or software installs. Or, every so often, the laptop will work itself into a frenzy and need to be restarted after 2-3 weeks. The game PC restarts a bit more frequently, mostly due to funky PC games.

    More stability is naturally a good thing, but we're pretty much at the "good enough" stage. Now if we can just get Microsoft to point fingers at the folks who write shoddy device drivers. (By that, I mean better post-crash diagnostics that do a better job of informing the end-user about why the system crashed.)

    --
    Wolde you bothe eate your cake, and have your cake?
  14. Re:Fixing DLL management... what a novel concept by jafac · · Score: 2, Insightful

    Vista now uses much better compontentization, and this allows them to actually know what components were affected by an upgrade, and need to be restarted.

    . . . that is, until the application vendors (including Microsoft's own developers) get ahold of the system.

    --

    These are my friends, See how they glisten. See this one shine, how he smiles in the light.
  15. Re:Great job, Microsoft! by caudron · · Score: 3, Insightful

    But seriously, why do people criticize Microsoft so much for requiring occasional reboots when a much simpler application, Firefox, requires a restart every time an extension is installed.

    Because when I am asked to restart firefox I don't have to send a company-wide memo that all employees accessing server X will be unable to from 12:00AM to 12:05AM---assuming no problems otherwise it's 12:00AM to when the hell ever we figure out what went wrong on reboot of a production server.

    But I agree that having the restart firefox is a pain when I'm just trying to surf the web.

    --
    -Tom
  16. Re:Microsoft acts like a kid. by killjoe · · Score: 2, Insightful

    "I haven't seen a serious crash from a Windows box (either at home or for 4 years at work) since about 2001 apart from driver problems clearly caused by NVidia."

    I don't know what you mean by a "serious crash" but both my windows 2000 machine and XP machine crash pretty regularly. Not twice a day like windows 9x did but at least twice a week.

    I suspect you are not really doing anything serious with your machine if your windows hasn't crashed in four years. In fact I doubt you are even using it if your windows hasn't crashed in four years.

    "Of course this isn't in line with /. groupthink so I'll be immediately modded into oblivion."

    If you get modded down I suspect it will be because nobody believes you and your statements counter our real life experiences.

    --
    evil is as evil does
  17. Re:Great job, Microsoft! by davegust · · Score: 2, Insightful

    You're still going to have to notify everybody, because to make the security update effective, any affected processes will need to be restarted, likely including the web and applications services.

  18. Re:Great job, Microsoft! by tetrode · · Score: 2, Insightful

    Let's remember that Windows has had numerous incantations, while Firefox is only a few years old. Wait until Firefox reaches it's 3.0 version.

    You will be amazed.

    Mark