LWN: Comments on "Ubuntu "Feisty" Herd 1 released" https://lwn.net/Articles/212889/ This is a special feed containing comments posted to the individual LWN article titled "Ubuntu "Feisty" Herd 1 released". en-us Wed, 15 Oct 2025 19:56:44 +0000 Wed, 15 Oct 2025 19:56:44 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Power managers https://lwn.net/Articles/213262/ https://lwn.net/Articles/213262/ fergal It's kinda bizarre that someone could write a GUI powermanager but couldn't figure out how to write a daemon.<br> <p> I'd file a bug but "everything about your project is wrong" bugs don't tend to go too well.<br> <p> Fri, 08 Dec 2006 01:19:30 +0000 Power managers https://lwn.net/Articles/213067/ https://lwn.net/Articles/213067/ usr No, unfortunately it works exactly the way you suggest it should not. The <br> logic is indeed duplicated across the GUI interfaces. The little <br> crash-prone applet sitting in the system tray is in fact the "daemon" <br> making the decisions about power management. Power management does not <br> work when you are not logged in. If more than one user is logged in, who <br> knows what might happen?<br> <p> More specifically it works something like this:<br> <p> Information about system state:<br> HAL -&gt; DBUS -&gt; Applet<br> <p> Power management instructions:<br> Applet -&gt; DBUS -&gt; HAL<br> <p> There is another power management solution, kpowersave+powersaved, that <br> originated with SUSE and that works the way you suggest it should. Some <br> powersave developers were rather offended by the development of the <br> current power management solution in Ubuntu, specifically Kubuntu. There <br> are also plenty of comments suggesting to split off a power management <br> daemon from the GUI.<br> <p> Ironically, the reason why the architecture is broken today is that the <br> Ubuntu solution originated as a GNOME hack written by a developer who <br> didn't know how to write a system daemon. To his credit he acknowledged <br> that that a separate daemon would have been the right thing, but no-one <br> stepped forward to write one at the time.<br> Thu, 07 Dec 2006 09:40:54 +0000 Power managers https://lwn.net/Articles/213035/ https://lwn.net/Articles/213035/ tialaramex I haven't looked at this specific piece, but in general this sort of thing is done using DBUS to send messages between a (probably privileged) system daemon or demand-launched program and the user-friendly, toolkit specific frontend.<br> <p> That's how the Bluetooth PIN stuff works now, and Network Manager and network service discovery stuff like Avahi, and so it's probably how the power management stuff works these days too. Desktop software decides policy, the system daemons and the kernel implement it.<br> <p> So the heavy lifting is probably not being duplicated. In fact, most of the really hard work seems to be in the kernel and driver modules anyway. It's much harder to get all those disks, video cards, USB cameras, bluetooth keyboards and so on back how you left them after a few hours without power than to draw an icon of a battery in three different widget toolkits.<br> Thu, 07 Dec 2006 01:33:04 +0000 Power managers https://lwn.net/Articles/213034/ https://lwn.net/Articles/213034/ fergal So, the gnome power manager now has some features that the kde one already had. Presumably it's also got some that the kde one doesn't have yet. I wonder what the xfce one can do.<br> <p> Am I correct to think that all of these apps duplicate power saving code/logic all for the sake of their GUI toolkits? Or is there a powerd in the background that these are just configuration frontends for? Can I save power without being logged in or do I have to fire up a power-hungry desktop to save power on the console?<br> <p> Thu, 07 Dec 2006 01:18:46 +0000 Stack smashing protection included? https://lwn.net/Articles/212933/ https://lwn.net/Articles/212933/ scottt <font class="QuotedText">&gt; And many of us consider Fedora to be no more than a technology testbed</font><br> <font class="QuotedText">&gt; and a beta version of RHEL, rather than a distribution with high quality</font><br> <font class="QuotedText">&gt; aspirations of its own. </font><br> <p> Many would disagree.<br> <p> Note that Redhat employs the gcc and binutils developers that implemented the -DFORTIFY_SOURCE and PIE features upstream.<br> Integrating new security features is easier when you invest heavily in its original development.<br> Wed, 06 Dec 2006 18:10:12 +0000 Stack smashing protection included? https://lwn.net/Articles/212938/ https://lwn.net/Articles/212938/ dwa Perhaps because the article the original poster was commenting on is *about Ubuntu*? <br> <p> And many people believed that Linux would never amount to anything, but that wasn't true either. <br> Wed, 06 Dec 2006 17:58:56 +0000 Stack smashing protection included? https://lwn.net/Articles/212939/ https://lwn.net/Articles/212939/ jbailey It was done in the previous release:<br> <p> <a href="https://launchpad.net/distros/ubuntu/+spec/gcc-ssp">https://launchpad.net/distros/ubuntu/+spec/gcc-ssp</a><br> <p> Wed, 06 Dec 2006 17:56:19 +0000 Stack smashing protection included? https://lwn.net/Articles/212927/ https://lwn.net/Articles/212927/ rfunk Why single out Ubuntu? No other mainstream Linux distribution, with the <br> possible exception of Fedora, uses that stuff either. <br> <br> And many of us consider Fedora to be no more than a technology testbed <br> and a beta version of RHEL, rather than a distribution with high quality <br> aspirations of its own. <br> Wed, 06 Dec 2006 17:37:41 +0000 Stack smashing protection included? https://lwn.net/Articles/212895/ https://lwn.net/Articles/212895/ dwheeler Anyone know if this version of Ubuntu will automatically protect against stack overflows? <a href="http://www-128.ibm.com/developerworks/linux/library/l-sp4.html">Buffer overflows are one of the most common and dangerous vulnerabilities</a>, and of them, stack overflows are especially common and easy to exploit. Fedora Core (FC) has had protections against them for a long time, so that many of the vulnerabilities that have been reported are actually much less dangerous in FC. Last I checked, Ubuntu still lacked any such protections, which makes Ubuntu much less secure in my eyes. <p> In November 2006, <a href="https://lists.ubuntu.com/archives/feisty-changes/2006-November/000007.html"> gcc-4.1 4.1.1-18ubuntu1 was accepted</a>, and that includes lib32ssp0 (a GCC stack smashing protection library). But having it distributed is completely different from <i>using</i> it. It needs to be turned on by default, and have all (or nearly all) compiled applications using it or some other defensive measure. Anyone know if that's happened? <p> In my mind this has been a key distinctive between Fedora Core and Ubuntu: Fedora Core has mechanisms that protect against unknown vulnerabilities, and Ubuntu in the past has not. FC's stack-smashing protections, SELinux, and so on have saved people's bacon many times. Wed, 06 Dec 2006 15:36:24 +0000