LWN: Comments on "The embedded long-term support initiative" https://lwn.net/Articles/464834/ This is a special feed containing comments posted to the individual LWN article titled "The embedded long-term support initiative". en-us Thu, 09 Oct 2025 14:31:02 +0000 Thu, 09 Oct 2025 14:31:02 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Who will pay for it? https://lwn.net/Articles/465487/ https://lwn.net/Articles/465487/ jschrod <div class="FormattedComment"> <font class="QuotedText">&gt; It is not good enough to put up an unsound building and return to fix it</font><br> <font class="QuotedText">&gt; later when flaws are discovered. (It does happen, but is rare and shaming</font><br> <font class="QuotedText">&gt; for the architects and builders involved.)</font><br> <p> I wish you lots of luck if/when you'll build your first house and that fantasy will be rather rudely destroyed.<br> </div> Thu, 03 Nov 2011 09:53:37 +0000 Peer review ? https://lwn.net/Articles/465451/ https://lwn.net/Articles/465451/ josh <div class="FormattedComment"> Fast-tracking changes into this tree will not get them into the kernel, and will almost certainly get them more scrutiny and skepticism, not less. This sounds more like a variant of staging.<br> </div> Thu, 03 Nov 2011 05:55:11 +0000 Secure Software and Formal Methods https://lwn.net/Articles/465334/ https://lwn.net/Articles/465334/ zlynx <div class="FormattedComment"> My complaint about formal methods is that they aren't any kind of cure-all. They rely on the specifications being complete and that the specifications are correctly translated into the formal verification method.<br> <p> In almost all programming, the specifications are incomplete or incorrect. Programmers, even without realizing what they are doing, fill in the gaps in incomplete specifications and may not even realize the specification was missing information.<br> <p> Many bugs are caused by programmers on each side of an interface assuming different things about the specification. An example of this is the POSIX select() timeout parameter.<br> <p> To fully specify the behavior of a system under all conditions is in my opinion, as prone to oversights and misunderstanding (aka bugs) as writing the program itself in assembly or C. (Well, you can make a lot more typo type mistakes writing in C, but I think it holds for logic errors.)<br> <p> Reading through some of that seL4 paper you linked, I see they had to make about 300 changes in the spec during the process. In other words, they had to debug it. I wonder how they know if they found all the problems in their spec?<br> </div> Wed, 02 Nov 2011 17:33:12 +0000 The embedded long-term support initiative https://lwn.net/Articles/465315/ https://lwn.net/Articles/465315/ dlang <div class="FormattedComment"> If the updates add additional features and seldom fail then customers generally like them<br> <p> It's when the updates either don't add any new features, or worse, remove existing features (even if they add other new features), then users complain<br> <p> This isn't limited to firmware/kernel updates.<br> <p> The KDE and GNOME '.0' updates are perfect examples of updates that remove some things that existing users notice and therefor people are unhappy with them, even though the developers add a lot of new features as well.<br> </div> Wed, 02 Nov 2011 16:10:48 +0000 The embedded long-term support initiative https://lwn.net/Articles/465304/ https://lwn.net/Articles/465304/ jmm82 <div class="FormattedComment"> People do not like the PS3 updates because they often lock down the system more and take away liberties they once had.<br> <p> People do not like updating the firmware on their router because everyone has updated a router that worked perfectly fine only to either a. brick the device or b. have some feature that used to work suddenly intermittently fail. <br> <p> Updating a kernel on a stable system is risky business. The people here should know that more than anyone, yet if security is a priority then it must be done.<br> </div> Wed, 02 Nov 2011 15:05:09 +0000 Secure Software and Formal Methods https://lwn.net/Articles/465276/ https://lwn.net/Articles/465276/ abacus As far as I know formal methods are fine for functional specifications. I'm still waiting for a formal specification of a secure operating system though. See e.g. Gerwin Klein e.a., <a href="http://galaxy.lamar.edu/~sandrei/CPSC-4360-01/ListOfPapers/p107-klein.pdf">seL4: formal verification of an operating-system kernel</a>, Communications of the ACM, Volume 53 Issue 6, June 2010. Wed, 02 Nov 2011 11:18:12 +0000 Who will pay for it? https://lwn.net/Articles/465263/ https://lwn.net/Articles/465263/ ekj <div class="FormattedComment"> Writing bug-free software, does not work. As in, literally nobody has figured out how to do it, not even with near-infinite budgets for near-trivial computations.<br> <p> Even those situations where we use the very strictest of quality-controls, and as a result end up paying orders of magnitude more than we would with "normal" software, we still get banal, -stupid- bugs like the Mars Climate Orbiter doing lithobraking due to one software-module using imperial units rather than metric like the rest of the software. (i.e. bugs not unlike those typical of normal off-the-shelf software)<br> <p> In most lines of bussiness, simply *trying* to do software like that, would guarantee bankruptcy. There's a reason things are done the way things are done.<br> </div> Wed, 02 Nov 2011 08:15:01 +0000 BIOS is certainly less complex then set-top box :-) https://lwn.net/Articles/465138/ https://lwn.net/Articles/465138/ nix <div class="FormattedComment"> True. I suppose the problem with BIOS updates is mostly the diversity of the hardware the BIOS is used with, and the near-impossibility of thoroughly testing it, not with all conditions found during use, but with all conditions found *at boot* or even during the running of an update: hence the relative likelihood of boot-time failures bricking your system after a BIOS upgrade.<br> <p> I do wonder, though, how much of the set-top boxes' firmware is actually upgraded by an update. If the components necessary to boot and do an update don't change, then that might reduce the likelihood of failure -- though the fact that we rarely see them fail in any way suggests that this is not the problem.<br> <p> So... continuous upgrading works for stuff (even complex stuff) that runs in simple or consistent environments or that is not itself necessary to run the upgrade process. That's probably enough for embedded stuff, since their environments are normally nailed down by the vendor and all variations known. Just look out for embedded systems that run as part of larger systems, and whose upgrading is controlled by the upstream vendor: those may not have been tested in the environment they're being upgraded in. (This, too, is probably rare: the integrator would probably want to control the upgrade stream in such a case, since it's them on the line if things go wrong.)<br> </div> Tue, 01 Nov 2011 14:22:29 +0000 The embedded long-term support initiative https://lwn.net/Articles/465118/ https://lwn.net/Articles/465118/ dps <div class="FormattedComment"> Formal methods are much more reliable than most programming languages. Just writing an unambiguous specifications helps. Formal methods also allow non-negotiable proof that a proposed solution meets the specification.<br> <p> You can also prove things like *any* network of the stated components with an infinitely readable external input is deadlock free. I am not aware of any programming language that can do that.<br> <p> In generally the experience is that using formal methods makes the initial phases longer and the final phases shorter, partly because a lot of problems and discovered sooner. Moves like only proving critical safety properties or analysing a high level design are popular.<br> <p> As with any tool formal methods can be misused. I not only know formal methods but believe I have the taste to know when *not* to apply them.<br> </div> Tue, 01 Nov 2011 11:57:54 +0000 Who will pay for it? https://lwn.net/Articles/465097/ https://lwn.net/Articles/465097/ foom <div class="FormattedComment"> <font class="QuotedText">&gt; It is not good enough to put up an unsound building and return to fix it later when flaws are discovered. (It does happen, but is rare and shaming for the architects and builders involved.)</font><br> <p> On the contrary, putting up a building with serious "bugs" is exceedingly common. Where it matters most (building will fall down), extra care is taken to make sure it won't fail in that way, but, for all the other ways a building can be broken, it's quite common for a new building to in fact *be* broken in all of those ways.<br> <p> E.g. leaking excessive amounts of water, light switches are in stupid places that don't make any sense, HVAC doesn't work right (hot/cold areas), architect decided not to put stairwells in elevator lobby (but rather halfway across the building in a supposed-to-be-locked area), so it turns out it's illegal to actually lock the entrance to the floor from the (public) elevator lobby, etc...<br> <p> </div> Tue, 01 Nov 2011 02:02:20 +0000 Bwahahah https://lwn.net/Articles/465096/ https://lwn.net/Articles/465096/ foom <div class="FormattedComment"> Sorry, but your example doesn't work for me. The number of people I know who have had a software update to their leased DVR set-top-box erase all their stored shows is quite high.<br> <p> Even though that's the case, people still don't tend to complain...very much...because it's just recorded TV programs, after all, not something *important*.<br> </div> Tue, 01 Nov 2011 01:49:48 +0000 The embedded long-term support initiative https://lwn.net/Articles/465092/ https://lwn.net/Articles/465092/ cmccabe <div class="FormattedComment"> Elop became CEO in late 2010. He wasn't around during the years when Nokia was trying to pretend that Symbian was still viable.<br> <p> Back then, Symbian had more than half of the marketplace, and analysts were still producing graphs showing Android and iOS slowly gaining market share over a period of years. What the analysts didn't understand is that Symbian was a horrible platform to program for and to extend, very little loved by anyone other than Nokia itself. Nokia is still a hardware company at heart and that is what they ought to have focused on. However, it would have taken a brave CEO to do that back when all the MBAs were gushing about the cloud and the oh-so-urgent need to be "more than a hardware company."<br> <p> Now Nokia's platform ambitions have come to nothing, and it looks like their hardware business is circling the drain too. The best case scenario is that they become another generic OEM for Microsoft. The worst case scenario is that they go back to making rubber boots.<br> </div> Mon, 31 Oct 2011 23:25:33 +0000 The embedded long-term support initiative https://lwn.net/Articles/465087/ https://lwn.net/Articles/465087/ dsimic <div class="FormattedComment"> <font class="QuotedText">&gt; Nokia's current CEO, Stephen Elop, worked for Microsoft as the head of the </font><br> <font class="QuotedText">&gt; Office business division before joining Nokia. Whether or not you believe </font><br> <font class="QuotedText">&gt; his business decisions were in Nokia's best interests, he definitely knows </font><br> <font class="QuotedText">&gt; the difference between Windows and something else.</font><br> <p> Well, I can believe that, and I already knew he previosly worked for Microsoft. <br> <p> Taking everything else aside, I really can't believe how such a great CEO could've <br> been asleep for years, without realizing that Symbian -- Nokia's flagship and business <br> core -- was already dead in water for years. <br> <p> So they've been floating already dead on their previous glory and reputation, and <br> suddenly the big CEO realized that leads nowhere, so he boldly killed everything <br> they've already developed in-house and went to his old home -- Microsoft. <br> <p> Well, however -- I'll never again buy a Nokia, and many people I know will <br> do the same. When compared to Android, Windows Mobile looks like a joke. <br> <p> </div> Mon, 31 Oct 2011 22:13:48 +0000 The embedded long-term support initiative https://lwn.net/Articles/465083/ https://lwn.net/Articles/465083/ cmccabe <div class="FormattedComment"> <font class="QuotedText">&gt; Do you really think that Nokia's CEO even knows the differenece between </font><br> <font class="QuotedText">&gt; Win Mobile and something else? ;) It's all the same touchscreen pictures </font><br> <font class="QuotedText">&gt; and revenue charts for him. ;) It's the same with embedded world -- </font><br> <font class="QuotedText">&gt; they'll keep trying and go somewhere else when they reach point of "too </font><br> <font class="QuotedText">&gt; much effort required". </font><br> <p> Nokia's current CEO, Stephen Elop, worked for Microsoft as the head of the Office business division before joining Nokia. Whether or not you believe his business decisions were in Nokia's best interests, he definitely knows the difference between Windows and something else.<br> </div> Mon, 31 Oct 2011 21:49:05 +0000 Perhaps your providers are different from mine... https://lwn.net/Articles/465078/ https://lwn.net/Articles/465078/ khim <blockquote><font class="QuotedText">These devices certainly do allow updates to be reverted.</font></blockquote> <p>Technically - yes, they can. But then they next picture you'll see on TV when you'll connect them to network is "please wait while system update is installed". IOW: revert capability is only there to assist in upgrade process, it's not designed to be used by end-user (except when directed by tech support to "properly" upgrade device).</p> <blockquote><font class="QuotedText">Further more cable boxes are often owned by the cable company, not the subscriber, and they certainly do test and read changelogs before updating their own hardware.</font></blockquote> <p>Does not make any difference in all cases I've encountered: yes, you can buy the box - but this only affects you monthly payments, if you buy it you can do whatever you want with it till you connect it to cable network. But if you <b>do</b> want to connect it to cable network - you automatically agree to install network's firmware.</p> <blockquote><font class="QuotedText">Who owns the system, who is responsible for doing the maintenance?</font></blockquote> <p>These are two different question - and they naturally have different answers. That's true for plumbing, electric wiring, cars and so on... so why should it be the same for computers and gadgets?</p> <blockquote><font class="QuotedText">That's the person who wants access to manage revisions and read changelogs although certainly they decide to just apply changes as they become available. Having a robust mechanism makes that easier.</font></blockquote> <p>Right, but how to help the guy who actually does maintenance is separate issue from how to push updates to end-user. Even there changelogs are not all that helpful: someone who's responsible for pushing updates to end-user does not need to know what changes are there, s/he only needs to know what can go wrong and how to fix the problems.</p> Mon, 31 Oct 2011 21:11:29 +0000 BIOS is certainly less complex then set-top box :-) https://lwn.net/Articles/465073/ https://lwn.net/Articles/465073/ khim <p>Sure, BIOS updates sometimes fail - but that just means they were not designed to be constantly updated. Aforementioned set-top boxes are <b>significantly</b> more complex then BIOSes - yet they are routinely upgraded with no ill effects.</p> <p>Actually another example fits as well: PS3 upgrades may be annoying because they routinely remove features, but situation when they break something they are not designed to break are exceedingly rare.</p> <p>It's not hard or impossible to develop thing which can be safely auto-updated, that just means that you must severely restrict it. Complexity has nothing to do with the ability to reliably upgrade something. Diversity is the killer.</p> Mon, 31 Oct 2011 20:50:21 +0000 Of course they do! https://lwn.net/Articles/465069/ https://lwn.net/Articles/465069/ khim <p>Even older boxes had customization capabilities (for example you had the ability to select few "favorite" channels). Newer ones often include DVR capabilities and video rent capabilities so personal information is most definitely there.</p> <p>What you probably meant is "they contain no unclassified personal data in there"... but is a good thing to have on your embedded device? We are entering era of <a href="http://www.theatlantic.com/technology/archive/2011/09/the-clouds-my-mom-cleaned-my-room-problem/245648/">parental computing</a> - and set-top boxes show that people are quite willing to accept it if it means hassle-free gadgets.</p> Mon, 31 Oct 2011 20:15:48 +0000 The embedded long-term support initiative https://lwn.net/Articles/465068/ https://lwn.net/Articles/465068/ dlang <div class="FormattedComment"> Tivo does this right. the data is on a separate partition, and they do not change it to the 'flavor of the day' format in the update.<br> <p> 10 years worth of updates and still running<br> </div> Mon, 31 Oct 2011 19:06:51 +0000 The embedded long-term support initiative https://lwn.net/Articles/465064/ https://lwn.net/Articles/465064/ raven667 <div class="FormattedComment"> Sure, what you say is true but the important point is that the interface between the OS kernel and the Hypervisor is much smaller and more rigidly defined than the interface between a user process and an OS kernel. The Hypervisor has orders of magnitude fewer features and attack surface area and is therefore more practical to usefully validate.<br> </div> Mon, 31 Oct 2011 18:04:04 +0000 Bwahahah https://lwn.net/Articles/465060/ https://lwn.net/Articles/465060/ raven667 <div class="FormattedComment"> You've just described how the bandwidth requirements are managed and these devices certainly do allow updates to be reverted so I'm not sure you made the point you wished to make. Further more cable boxes are often owned by the cable company, not the subscriber, and they certainly do test and read changelogs before updating their own hardware. Are you suggesting that end-user hardware should only be rented and not owned?<br> <p> Who owns the system, who is responsible for doing the maintenance? That's the person who wants access to manage revisions and read changelogs although certainly they decide to just apply changes as they become available. Having a robust mechanism makes that easier.<br> </div> Mon, 31 Oct 2011 17:47:56 +0000 Bwahahah https://lwn.net/Articles/465061/ https://lwn.net/Articles/465061/ nix <div class="FormattedComment"> Yeah, that would be enough... if you trusted things of the complexity of modern software upgrades to 'just work'. All too often, they don't. All too often, even BIOS upgrades don't, and BIOSes are not very complex compared to most software.<br> <p> </div> Mon, 31 Oct 2011 17:43:57 +0000 Who will pay for it? https://lwn.net/Articles/465036/ https://lwn.net/Articles/465036/ tialaramex <div class="FormattedComment"> But we aren't talking about unsafe wiring in a desk lamp. Even if we were I'd argue that spending two hours travelling on the bus with a microwave (it caught fire spontaneously after ~8 months use) to get it replaced was a lot more hassle than any software update I've ever undertaken.<br> <p> Your building example was better. But in fact it's completely routine to "snag" large office or industrial buildings.<br> <p> When I helped take possession of a four story building in 1998 we were all issued with a sheet of orange stickers labelled "snag". Each problem we discovered was to be marked with a label, and added to a list maintained by the liaison to the building contractor. Some problems were corrected in a few days to our satisfaction, as well as if they'd been corrected during construction. Many were "bodged" so that they met the strict letter of the requirements, but were not really adequate (e.g. it's much cheaper to fiddle with the hinges on a door to make it close, for a few days until it settles again, than to buy and install a new door which fits properly). A few simply couldn't be fixed at all, no way around it without tearing down the building and beginning anew. Some orange stickers for those last problems remained as visible sores on the pristine new building until their adhesive failed years later.<br> <p> If we added to the "snags" every conceivable way a resourceful and determined attacker could get into the building, we'd never have finished. What if they just drive a truck through the large glass frontage? What if they tailgate a legitimate employee? What if they pay someone to pull the fire alarm, dress as firemen, and just walk in?<br> </div> Mon, 31 Oct 2011 16:58:52 +0000 Sure... https://lwn.net/Articles/465055/ https://lwn.net/Articles/465055/ khim <blockquote><font class="QuotedText">So updating set-top boxes in a closed environment is a significantly different (and easier) problem to a general "update Linux on any embedded device".</font></blockquote> <p>Sure. But my point still stands:<br /> 1. It's possible to safely upgrade software in a device.<br /> 2. People tolerate updates just fine as long as they "just work".<br /> 3. Reversions, bandwidth requirements and changelogs don't affect acceptance <b>at all</b>.<br /> 3a. As you've noted people rarely care about bandwidth, but they do care about money spent on bandwidth. This is different - and solveable - problem.</p> <blockquote><font class="QuotedText">Some set-top boxes have an architecture where they keep two copies of the system software so they can revert to the previous version if it all goes wrong.</font></blockquote> <p>Sure, but this is the same approach ChromeOS is using. This is mereluy detail of upgrade mechanism implementation which makes it more robust. I've never seen a set top box which allowed you to arbitrarily select one of two version of software to boot. Sometimes it can be accomplished using some combinations of knobs, but it's usually part of "recovery procedure", not something end-user is supposed to do.</p> <p>When (and if) btrfs will be mature enough snapshots can do the same with smaller overhead.</p> Mon, 31 Oct 2011 16:58:09 +0000 Actually it CAN steal money from you - and that's the point https://lwn.net/Articles/465054/ https://lwn.net/Articles/465054/ khim <blockquote><font class="QuotedText">...and obviously, an entertainment centre that has bugs is fine, because it is not safety critical and cannot be used to steal money from you....</font></blockquote> <p>It can be used for that - and that's the point.</p> <p>Money themselves (coins and banknotes) were one of the first objects which employed "security updates" in it's design.</p> <p>"Security updates" are not something invented with software - on the contrary, they have centuries long history! And yes, they worked. Frauds happened all the time, but as long as they were rare enough "security patches" worked. They worked for so long - why do you think tomorrow everything will suddenly collapse? What exactly changed today?</p> Mon, 31 Oct 2011 16:48:00 +0000 What are you talking about? https://lwn.net/Articles/465026/ https://lwn.net/Articles/465026/ khim <blockquote><font class="QuotedText">Relying on updates to fix security holes does not work!</font></blockquote> <p>On the contrary: it works very well indeed. The companies who use this approach survive and thrive. The companies who lost the wind and tried to fix all the bugs before shipment are history.</p> <blockquote><font class="QuotedText">You mention mobile phones, Blu-ray players and so on.</font></blockquote> <p>Yup.</p> <blockquote><font class="QuotedText">Those are all parts of the software industry.</font></blockquote> <p>Not even close. First mobile network started operating back in 1979, it was analogue and had nothing to do with software. First LD player was on sale year before that - and Bly-ray is it's direct descendant (from end-user POV). And first TVs were created even earlier: it was introduced back in 1928 and most definitely had nothing to do with software.</p> <blockquote><font class="QuotedText">Only in the software industry do we try to get away with such practices.</font></blockquote> <p>Again: not true at all. Lots of industries use this approach too: mobile phones, credit cards, etc. Initially they had pathetic security but since they were convenient they were used anyway. Later, when frauds become a problem additional layers of security were added. The same happened with printed banknotes few centuries before. You can go back few thousands years (when first stamps and other similar tools were invented) - and see the very same picture. Again: special inks, papers and procedure and so on <b>followed</b>, not <b>preceded</b>.</p> <p>In fact where information is exchanged "rely on updates to fix security holes" is typical approach, not an exception. The only thing software introduced is "fast" updates. When you introduce new, more protected, banknote you must to this in slow, very spread-out manner. But when new software is created to patch vulnerability... you can push it in hurry.</p> <p>So no, I don't believe in "fix all the bugs before shipment" approach. It failed us for thousands of years - why do you think it can be fixed now?</p> Mon, 31 Oct 2011 16:39:14 +0000 Who will pay for it? https://lwn.net/Articles/465043/ https://lwn.net/Articles/465043/ mpr22 <p>In the building case: Correctness is feasible to achieve and validate, and the cost of remedying errors is relatively large.</p> <p>In the desk lamp case: Correctness is not merely feasible but trivial to achieve and validate.</p> <p>Software that does what there is currently perceived to be a demand for often lies somewhere between insanely hard and mathematically impossible to achieve and validate correctness of. The cost of <em>remedying</em> an error, on the other hand, is not strongly related to the severity of its consequences. Many disastrous software errors turn out to have trivial fixes.</p> <p>(And, of course, even if your software is provable, all you can prove is that it conforms to the provided specification. Proving that the specification is a correct statement of the requirements, or that the requirements were well-formed in the first place, is a separate problem.)</p> Mon, 31 Oct 2011 16:38:06 +0000 Bwahahah https://lwn.net/Articles/465038/ https://lwn.net/Articles/465038/ martinfick <div class="FormattedComment"> They also do not have any real user data on them, which as jcm points out is usually the real problem with updates.<br> </div> Mon, 31 Oct 2011 16:21:29 +0000 The embedded long-term support initiative https://lwn.net/Articles/465033/ https://lwn.net/Articles/465033/ zlynx <div class="FormattedComment"> Formal Methods.<br> <p> Hahah.<br> <p> With those, all you have done is written the program twice. Once in the language and once in the formal verification.<br> <p> (Almost) all of the mistakes it is possible to make while programming are possible to duplicate in the formal methods.<br> <p> So if you have a security flaw where you have forgotten to specify that Method A must not be called before passing Security Check A, or if the specification does not spell out that calling Method B invalidates the current security state. That flaw will exist no matter how thorough the formal methods are.<br> </div> Mon, 31 Oct 2011 16:11:41 +0000 Bwahahah https://lwn.net/Articles/465023/ https://lwn.net/Articles/465023/ aginnes <div class="FormattedComment"> Some set-top boxes have an architecture where they keep two copies of the system software so they can revert to the previous version if it all goes wrong.<br> <p> It's a lot easier for the set-top box software to be tested before it is downloaded, plus they own the broadcast bandwidth, so they can use as much as they want. The cable (or satellite, or IPTV) company is operating in a highly constrained environment, they control what devices are connected to their network, they know exactly what hardware is out there. So they can test the software on every different type of hardware that they have deployed before it goes out. This may take them a couple of months. Of course they have a big incentive to make sure their updates don't break the box as every call to their customer support call centre costs money, and if they brick the box, a truck roll costs an arm and a leg!<br> <p> So updating set-top boxes in a closed environment is a significantly different (and easier) problem to a general "update Linux on any embedded device".<br> </div> Mon, 31 Oct 2011 15:50:23 +0000 Who will pay for it? https://lwn.net/Articles/465020/ https://lwn.net/Articles/465020/ KSteffensen <div class="FormattedComment"> An entertainment center used to show movies from some Netflix-like service could conceivably hold credit card information. so even things that don't immediately seem critical might be.<br> <p> And some of us certainly wouldn't mind video games being held to a higher standard than what is currently the case. <br> </div> Mon, 31 Oct 2011 15:35:13 +0000 Who will pay for it? https://lwn.net/Articles/465016/ https://lwn.net/Articles/465016/ epa <div class="FormattedComment"> ...and obviously, an entertainment centre that has bugs is fine, because it is not safety critical and cannot be used to steal money from you. My point is that things which are important must be held to a higher standard than that used for video games.<br> </div> Mon, 31 Oct 2011 15:22:04 +0000 Who will pay for it? https://lwn.net/Articles/465012/ https://lwn.net/Articles/465012/ epa <div class="FormattedComment"> Relying on updates to fix security holes does not work! It hasn't worked to keep us secure over the past twenty years, what reason is there to suppose it will work for the next twenty?<br> <p> You mention mobile phones, Blu-ray players and so on. Those are all parts of the software industry. When I said 'this would not be acceptable in any other industry' I was referring to industries other than software. It is not good enough to put up an unsound building and return to fix it later when flaws are discovered. (It does happen, but is rare and shaming for the architects and builders involved.) You can't sell a desk lamp with unsafe wiring and rely on asking people to take it back to the store later. Only in the software industry do we try to get away with such practices. And as you say, the market usually tolerates it.<br> </div> Mon, 31 Oct 2011 15:19:51 +0000 Peer review ? https://lwn.net/Articles/465007/ https://lwn.net/Articles/465007/ armijn <div class="FormattedComment"> The fasttrack will only be used in some "unusual and urgent" cases (as the article says, although I don't know what will be unusual and urgent cases, but I am assuming and hoping that the maintainers will be very conservative) and the default will be "upstream first". Before things will end up in the mainline kernel.org tree they will be peer reviewed anyway.<br> </div> Mon, 31 Oct 2011 12:52:33 +0000 The embedded long-term support initiative https://lwn.net/Articles/465003/ https://lwn.net/Articles/465003/ paulj <div class="FormattedComment"> Except the virtualisation systems, common ones at least like Xen and Qemu/KVM, don't seem to take any different approach to secure programming than the kernel does. They offer no more assurance of security than the kernel. While they might have fewer interfaces to their host than the kernel does to regular users, those interfaces can be very very complex (because performance is so important) and even arcane (e.g. for compatibility with x86 distributions - applies even with Xen sometimes). Xen and KVM regularly have issues that compromise host security.<br> <p> Virtualisation does not seem a solution to me. Any systematic solution to security of hypervisors seems like it'd apply equally well to traditional kernels, surely?<br> </div> Mon, 31 Oct 2011 10:43:43 +0000 Who will pay for it? https://lwn.net/Articles/464994/ https://lwn.net/Articles/464994/ khim <blockquote><font class="QuotedText">Surely the answer is to stop relying on updates and patching to fix security holes after the fact.</font></blockquote> <p>I doubt it.</p> <blockquote><font class="QuotedText">The software needs to be designed so that you know with reasonable certainty that it is secure as shipped, and further measures need to be in place to make sure that even if there is a vulnerability in one part of the system, it doesn't matter much.</font></blockquote> <p>Do you propose a new law? What measures do you propose to make sure software development will not move to other, more liberal, countries?<p> <p>Because without government mandate any company which will try this approach will just go bancrupt (by the time it'll release anything market will move to the "next big thing") so you'll need something big to make it happen. Do you really believe bureaucracy struggles over such mandates (this what will actually happen, I doubt quiality of the software itself will grow all that much) will actually make your life easier or better?</p> <blockquote><font class="QuotedText">This would not be acceptable in any other industry.</font></blockquote> <p>Are you sure? From what I'm seeing other industries view this as a problem not as an achievement and move to "built-in computer with updates" model where they can. Sure, centuries-old industries are too conservative to eploy such ideas, but other, newer, industries... mobile phones, TV sets, blu-ray players and so on: they all switched from "what you buy is what you'll use till device will die" to "we'll fix any bugs later" model - and I'm sure other industries will follow.</p> <blockquote><font class="QuotedText">Yes, recalls and field modifications do happen, but they are the exception and considered an embarassment for the company that shipped a faulty product.</font></blockquote> <p>They <b>were</b> exceptions and <b>were</b> considered as embarassment because they severely affected the bottom line. Now, when they are cheap... situation is changing. Sure, we'll not see upgradeable car computers any time soon (because cars have a lot of legal requirements around them), but "entertainment centers" in cars soon will surely follow the same model. Actually they were replaceable for a <b>very</b> long time so you can view them as precursors of today's "ship then fix" model...</p> Mon, 31 Oct 2011 07:59:22 +0000 The embedded long-term support initiative https://lwn.net/Articles/464993/ https://lwn.net/Articles/464993/ Lionel_Debroux <div class="FormattedComment"> Perhaps the number of vulnerabilities (multiple forms of DoS, information leaks, etc.), of various severity, which affect the kernel (as a special case of a huge piece of complex software), and are introduced and fixed by dozens every major kernel release ?<br> Counting CVEs is a weak measurement for the number of vulnerabilities, since only a small subset of vulnerabilities gets a CVE number.<br> <p> A way to get a more secure Linux kernel is to use the large PaX/grsecurity patch, which prevents a number of classes of vulnerabilities from successful exploitation.<br> </div> Mon, 31 Oct 2011 07:37:43 +0000 Bwahahah https://lwn.net/Articles/464992/ https://lwn.net/Articles/464992/ khim <blockquote><font class="QuotedText">I wasn't trying to argue against proper update mechanisms, with reversion and non-insane bandwidth requirements and maybe even *gasp* a changelog you can see as the download happens.</font></blockquote> <p>It's not even funny. When geeks start talking about "proper update mechanism" they invariably raise insane requirements which are totally pointless and useless.</p> <p>Most people encounter "almost perfect" update mechanism (with almost 100% updated devices!) every day and don't even know that. Where are these devices? How come noone talks about them? Well... why should they? They "just work"(tm) - and that's enough. And people cheerfully keep then up-to-date without any complains!</p> <p>Heresy? Fantasy? Nope. I'm talking about your cable TV set-top box. These are quite complex devices novadays (with built-in browser, the ability to write and replay TV programs, etc, etc). They are regularly updated (when TV company decides to sell you new capabilities) - and people rarely complain.</p> <p>Note: <b>no</b> reversion mechanism, <b>no</b> "sane bandwidth requirements" and <b>no</b> changelogs. Just two things are required:<br /> 1. It must be invisible (i.e.: update is pushed not when it urgently needed but slow and steady - this way bandwidth requirements are hidden).<br /> 2. "It must work"(tm): if update goew haywire then it's not something user should fix somehow, this occasion should be treated the same way power brick explosion is treated (and it should happen rarely - like power brick explosions).</p> <p>ChromeOS updates are decent imitations but sadly they are not as robust for now...</p> Mon, 31 Oct 2011 07:35:19 +0000 The embedded long-term support initiative https://lwn.net/Articles/464983/ https://lwn.net/Articles/464983/ dsimic <div class="FormattedComment"> Here's how I see that -- embedded industry (and business in general) needs something they can rely on. They don't care if it's called Linux, Andoid, Red Potato or whatever. They just want something for free, for what they at least *think* somebody is standing behind. <br> <p> If the mainline Linux can't go and provide that, somebody else will do (hm, Android?), taking the big piece of cake mainline Linux has at the moment. Indeed, Android will be actually no better than the mainline for someone's purpose to build a networked TV set, but Android is backed by Google and gives to the industry what they need -- felling of someone taking care about. And Google has the $$$ needed for hiring good people and making Android do what businesses need. <br> <p> I'd say -- mainline, hurry up and don't shoot your own foot. ;) <br> <p> See what Nokia did? They gad a golden egg called Maemo (or MeeGo or whatever the name), which could've kept them as the leader of that industry area, having everything under one roof -- own harware and own software. One can say that Maemo is a full-blown Linux with everything opened up and no Java VM's in between keeping things secure... I'll just ask if Windows Mobile is any better from that point? <br> <p> Do you *really* think WinMobile is more secure than Maemo? And Maemo / MeeGo is now killed like a two-day chicken and left to rot. And what a great product that was. Now I have to throw my N900 in garbage -- because industry doesn't care about technically correct things, or things that require too much effort. <br> <p> Do you really think that Nokia's CEO even knows the differenece between Win Mobile and something else? ;) It's all the same touchscreen pictures and revenue charts for him. ;) It's the same with embedded world -- they'll keep trying and go somewhere else when they reach point of "too much effort required". <br> <p> </div> Sun, 30 Oct 2011 23:16:26 +0000 The embedded long-term support initiative https://lwn.net/Articles/464982/ https://lwn.net/Articles/464982/ tialaramex <div class="FormattedComment"> I struggle to imagine how any other industries could begin to compare. We're not talking about something like the lever or wheel. Programmable computers escape our ability to reliably understand what they're doing long before the scale where they're of any use to us, as Radó noticed.<br> <p> You can try Formal Methods. If you're building a bomb, or maybe the core control systems for a nuclear reactor, you might persuade someone to pay for that. For their extra money, they will get something far harder to use and far less capable than everything else in the world, but very slightly more reliable.<br> </div> Sun, 30 Oct 2011 22:24:08 +0000 The embedded long-term support initiative https://lwn.net/Articles/464981/ https://lwn.net/Articles/464981/ jcm <div class="FormattedComment"> The problem with partitions and current rollback is that it doesn't actually work. What actually happens is that your data sitting on a separate partition from the system is automatically converted to whatever newer incompatible format has been shoved into the update with no thought to rollback.<br> <p> No. I don't trust updates to working production systems. I already have to duplicate everything I use to work around broken design. The fault is with changing what works. If it works, don't break it until the world moves to less hackish approaches to software platform consistency.<br> <p> Jon.<br> </div> Sun, 30 Oct 2011 22:04:21 +0000