Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
OpenBSD 4.9 released
Posted May 3, 2011 14:08 UTC (Tue) by busterb (subscriber, #560)
It's also pretty amazing how they're able to keep their code base compatible with gcc 2.95 and gcc 4 simultaneously. Once you get a taste of c99, it's hard to go back.
Posted May 3, 2011 21:13 UTC (Tue) by rahvin (subscriber, #16953)
[rant]Debian's configuration updater is a pain in the ass. They need to take a lesson from the Gentoo folks. The configuration resolver (etc-update) they have in Gentoo is brilliant, it diffs the configuration files with line numbers so you can see the differences (+ for new - for removed) just like the Debian version but it also lets you step through the differences line by line and decide which lines from which file you want to use. So if you uncommented a line you can simply pick that line from the old config file and the tool builds a merged config file. Yes you can do that yourself but the whole thing is automated and it just works. Having to save every config you modified then manually cut changes into the new config file is a pain in the ass. Gentoo has had this brilliant configuration tool for quite a long time now, I figured like the emerge system they got it from the BSD's I just don't understand why the other distro's aren't using something similar. It shouldn't be that hard to tell the system you want to keep certain changes but update the rest of the file. [/rant]
Posted May 3, 2011 21:38 UTC (Tue) by ABCD (subscriber, #53650)
Posted May 3, 2011 22:12 UTC (Tue) by Tobu (subscriber, #24111)
Yeah, I ask debconf to drop me to a shell where I use vimdiff. But debconf doesn't track the base version of conffiles, so it's a two-way merge instead of an easier to automate three-way merge. There are some tools like etckeeper but they are more useful for auditing than editing. And there's ucf for generated conffiles, which does have a three-way merge that does the right thing. Given that almost everything in /etc is a conffile, it would be nice to generalise that feature.
Good to know what other distros are up to, I'll look at etc-update.
Posted May 3, 2011 23:11 UTC (Tue) by nicooo (guest, #69134)
Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds