News for hackers. Stuff that matters.
Re:Debian 9.4 released by hyper_reality on Saturday March 10, 2018 @09:35AM (#16558602)
The fact that the vast majority of these bugfixes and CVEs are minor is a testament to the continuing stability and quality of Debian and its ecosystem. I've run Debian on several machines for years and have upgraded confidently without a hitch. A big thank you to the maintainers and developers for making this possible.
Re:Debian 9.4 released by krutzger on Saturday March 10, 2018 @10:27AM (#16558797)
Debian is like Arch but the opposite
Re:Debian 9.4 released by stinkytaco on Saturday March 10, 2018 @12:12PM (#16559257)
If only Debian had the documentation that Arch does. I know there's man and help, but the Debian wiki seems sparse and out of date, where the Arch wiki is incredibly thorough. Sometimes I find myself at the Arch wiki to do things in Debian, but that doesn't always work. So I generally stick to Fedora, which at least sticks close to upstream.
Re:Debian 9.4 released by dguaraglia on Saturday March 10, 2018 @06:22PM (#16560678)
This used to be a thing! I remember the first time I installed Debian (back in the 2.0 days, I think) and it came with the "HOWTO" packages, which were essentially precursors to the semi free-format Arch wiki. That's how I learned how to configure kernel modules, what the difference between installing Linux using UMSDOS vs. a real partition, and even how ReiserFS worked.

I really feel like easy internet access has taken good documentation away from us. It's too easy to Google for something, find some crappy blog with barely enough instructions to fix the problem. We've become reactive, rather than pro-actively educating ourselves.

Re:Debian 9.4 released by passthejoe on Saturday March 10, 2018 @02:14PM (#16559724)
Everybody on every Linux that isn't Arch either uses the Arch Wiki already, or should.
Re:Debian 9.4 released by thomastjeffery on Saturday March 10, 2018 @04:52PM (#16560360)
No matter what distro I use, I end up falling back on the Arch wiki and Gentoo wiki.

I find the Gentoo wiki has the clearest information about specific things, and the Arch wiki has the clearest information on how to put them together.

Re:Debian 9.4 released by 0x0 on Saturday March 10, 2018 @12:34PM (#16559333)
Most packages have pretty good documentation about anything Debian-specific installed in /usr/share/doc/<packagename>/README.Debian[.gz] and /usr/share/doc/<packagename>/NEWS.Debian[.gz].
Re:Debian 9.4 released by dmix on Saturday March 10, 2018 @03:39PM (#16560053)
Arch is very stable when using mainline packages, which are the default packages...

This is "Arch is unstable" thing is very much a myth pushed forward by people who only dabbled with Arch once or twice then had it break, then completely dismissed it as unstable. Without first learning how to use it even at an intermediate level - not even expert.

I too had Arch break when I was a newbie but I learned quickly how not to and it's been incredibly stable ever since. Not worse than Debian and more so than Fedora in my experience.

In retrospect my actions which had broke it originally had little to do with ArchLinux itself but a general inexperience with Linux and over-eagerness when using beta software (which you have to opt in to, it's not default with Arch).

The end result is that I've come out of it a far better Linux user with skills highly applicable to Debian and other distros. It's a far easy place to learn Linux/Unix properly and become familiarized with the OS/dir structure/config than any other distro.

Re:Debian 9.4 released by vertex-four on Saturday March 10, 2018 @04:34PM (#16560273)
My experience as an experienced user of e.g. NixOS is that if you leave an Arch system alone for a couple of months and then try to update it, something will break horribly, because something will have changed in a non-backwards-compatible way and so I have to go and try to figure out what the new configuration should be, without good error messages. At least with NixOS, it’ll probably fail during the rebuild stage, rather than once you’ve restarted some random service or decided to reboot. I don’t really want to be doing that - I don’t have a love for system administration, I want a system which gets out of my way for me to do my work.

I don’t have to be careful about opting in to beta software or anything else with NixOS. If I want to try something, I can do so, and roll right back if it doesn’t work out. The destructive nature of Arch package installs and updates is its biggest flaw.

Re:Debian 9.4 released by RandomBK on Saturday March 10, 2018 @04:17PM (#16560197)
It is very much a matter of perspective. Arch is more than stable enough for personal use, but is highly unstable in the context of enterprise servers, especially compared with the likes of Debian and RHEL.
Re:Debian 9.4 released by dmix on Saturday March 10, 2018 @04:41PM (#16560309)
Fair enough, I was speaking from the perspective of desktop and small business use.
Re:Debian 9.4 released by mindslight on Saturday March 10, 2018 @09:38PM (#16561440)
Meh. Debian user of at least 15 years here. I found Arch quite refreshing, in that the setup felt like a modern Slackware (eg Wicd back when NetworkMangler was super-opaque). But the updates still made me queasy.
Re:Debian 9.4 released by anonacct37 on Saturday March 10, 2018 @06:11PM (#16560638)
> This is "Arch is unstable" thing is very much a myth pushed forward by people who only dabbled with Arch once or twice then had it break, then completely dismissed it as unstable.

This accurately describes my experience. I stopped using Arch around the time git broke when I updated. I'm not clear what mistake I made. What level of Arch intermediate or expert level Arch knowledge is required to keep git working?

Re:Debian 9.4 released by pentagonpapers on Saturday March 10, 2018 @09:31PM (#16561413)
Not really. Arch has a strict upstream rule, they avoid patching or maintiain dead shit. So when the hellish time when KDE4.0 came out, they released it immediately. Anyone upgrading on a 3.5 system was severely disadvantages
Re:Debian 9.4 released by dmix on Saturday March 10, 2018 @08:57PM (#16561286)
Well, how did git "break" exactly?
Re:Debian 9.4 released by krutzger on Sunday March 11, 2018 @06:44PM (#16565134)
Edit: I've been told this meme is pretty accurate https://i.redd.it/jo3ylah5yti01.png
Re:Debian 9.4 released by KozmoNau7 on Saturday March 10, 2018 @08:26PM (#16561172)
I used Arch for years and years, and it would just break sometimes on regular package updates. Nothing that couldn't be fixed with a live CD, but still annoying.
Re:Debian 9.4 released by Accacin on Saturday March 10, 2018 @12:15PM (#16559268)
Old and tired meme.

I've been running Arch for about three years now and I've had one very minor problem when I didn't read the notes properly.

Re:Debian 9.4 released by rvense on Saturday March 10, 2018 @11:48AM (#16559150)
Not enough data points to really count, but I have had a lot of bad experiences with Debian updates failing or suddenly deciding that vim conflicts with something so it has to remove half my packages... Arch, however, has always been dependable in the five-odd years I've run it full time. Including machines that don't get upgraded for many months at a time. I don't know if I'd put in on a "server" that I ran for other people, but personally I have yet to see problems arising from the rolling release model.
Re:Debian 9.4 released by nicolaslem on Saturday March 10, 2018 @03:26PM (#16559983)
I trust so much its stability that on the Debian servers I maintain I turn on unattended upgraded with automatic reboot.

The maintainers never seem to push anything not security related, most of the changes being backports of fixes from upstream.

Obliviously the price of stability is that the system runs slightly old software versions, but together with containers this is not a problem anymore. Stable OS running cutting edge containers is a combo that works well for me.

Re:Debian 9.4 released by user5994461 on Saturday March 10, 2018 @03:55PM (#16560117)
>>> The maintainers never seem to push anything not security related...

The policy for debian stable is to only push security fixes.

The corollary is that they don't push new version for bug fixes or features.

Re:Debian 9.4 released by digi_owl on Saturday March 10, 2018 @11:26AM (#16559047)
And then they get yelled at by upstream for not including the latest and "greatest"...
Re:Debian 9.4 released by scrollaway on Saturday March 10, 2018 @12:36PM (#16559345)
Yeah, well, rightfully so. I used to love Debian and I've grown more and more disillusioned by it. Their main problem is two fold: 1) They mess with the packages they distribute. Like, a lot, rather than trust upstream. And 2) they don't update things that seriously need to get updated.

Example 1: Using System Python on Debian is a notoriously terrible experience for example, because they split up the venv module from Python itself and distribute it separately. I've had so many issues because of that and there's no good reason to do it. It's part of the stdlib, it doesn't need a separate package.

Example 2: Debian Jessie shipped with the ancient pip 1.5.6 (https://packages.debian.org/jessie/python-pip - upstream is at 9.0.1 since 2016) which never got updated, just stayed stuck there, wtf? Such old versions of pip are lacking support for a bunch of things that python packages today use on setup, so it would install things in a weird way and then packages would be broken, users wouldn't understand why. One of the many cases of not giving users access to a more recent version of a package, causing the user's experience to be severely impacted (and of course, they won't know to blame debian or the pip version in this case).

Edit: Incidentally, that last bit is why I always, always do `pip install --upgrade pip wheel setuptools` whenever I create a new virtual environment to make sure I don't get issues installing packages.

Re:Debian 9.4 released by ris on Saturday March 10, 2018 @01:54PM (#16559658)
> 1) They mess with the packages they distribute. Like, a lot, rather than trust upstream

Having had quite a lot of experience of both, what I call, maintained packages and wild west packages (e.g. pypi), I would trust the former over the latter any day of the week. Developers generally do not make tremendously good maintainers. They tend to to only really care about the latest versions of anything, don't take particular care to make sure their package works well with other packages, rarely backport security fixes, and frequently do everything in a unilateral way. (I've seen it all, subtly different tarballs uploaded under the same version number, old releases deleted, breaking changes released under minor version bumps, addition of user-hostile "features", downloading & installing unexpected random binaries from the internet in attempt to make everything "just work", and of course they're forever bundling odd versions of other packages which they then don't maintain...)

Maintainers working on a "distribution" have a responsibility to make the whole distribution of software work well & stably together, and they generally do so quite well with the odd slip up (I'm looking in the direction of the debian-openssl screwup).

These days I tend to use a debian base system with Nix on top of it for when I need specific, repeatable or more recent versions of something.

Re:Debian 9.4 released by willtim on Saturday March 10, 2018 @05:29PM (#16560509)
Having package maintainers touch any code, even to backport security fixes, is far from ideal.

In 2006, a big security flaw was introduced into Debian's OpenSSL by the maintainer, because he changed code that he did not fully understand. The flaw wasn't discovered until 2008:

https://www.schneier.com/blog/archives/2008/05/random_number...

Re:Debian 9.4 released by ris on Sunday March 11, 2018 @04:53PM (#16564722)
...as I indeed mentioned.

But we've got to remember that attitudes to security and understanding of subtleties around crypto code were very different a decade ago, the output from automated checking tools was trusted significantly more, and we're talking about OpenSSL, a project whose source is generally acknowledged to be full of Weird And Inadvisable Shit anyway. The example you're leaning on was basically a perfect storm that resulted in the worst possible scenario.

On the other hand, package maintainers fix security issues on versions of packages the developers have stopped caring about every day of the week, and of course these never hit the headlines.

And of course I'd never suggest that any package maintainer could ever know better than you. Though unfortunately such superior and unilateral attitudes are one of the things that maintainers are needed to protect against.

Re:Debian 9.4 released by ris on Sunday March 11, 2018 @08:01PM (#16565399)
^ I didn't mean the parent comment to sound so personal at the end. Apologies.
Re:Debian 9.4 released by jancsika on Saturday March 10, 2018 @04:18PM (#16560199)
> Maintainers working on a "distribution" have a responsibility to make the whole distribution of software work well & stably together, and they generally do so quite well with the odd slip up (I'm looking in the direction of the debian-openssl screwup).

Is there a policy that requires Debian package maintainers to seek mentorship of upstream when patching core packages?

I understand your point about maintained packages. But it's only a significant advantage if the maintainer's decisions must be filtered through the lens of the software maintainers. Otherwise one must trade the narrow expertise of the software maintainer for the wider expertise of the package maintainer.

That doesn't seem like a wise tradeoff IMO, and I don't see how a future openssl debacle could be prevented otherwise.

Re:Debian 9.4 released by tetraodonpuffer on Saturday March 10, 2018 @01:33PM (#16559564)
I honestly think it is a good idea, no matter which distribution or OS you are on, to never ever depend on system python/pip (or perl for that matter), just install pyenv / pipenv / pipsi (or perlbrew) so you have complete control.

From a distribution perspective I sometimes wonder if it wouldn't be a better idea to call the system python/perl something like system-python/system-perl to make it more obvious they are not meant for use, and have a /usr/bin/python that tells you to install pyenv...

Re:Debian 9.4 released by vbernat on Saturday March 10, 2018 @12:47PM (#16559381)
I don't know the story behind the separate venv package (and can't imagine why this is a separate package).

pip relies on bundled libraries and tries hard to fight any unbundling (by using slightly patched versions of the dependencies if I remember correctly). This makes it difficult to package. You can see as an additional proof of Debian messing with packages while on the Debian side, this is just the application of a distro-wide policy. If every piece of software should get an exception to the rule, we don't have a distribution anymore.

Re:Debian 9.4 released by digi_owl on Saturday March 10, 2018 @04:42PM (#16560316)
> If every piece of software should get an exception to the rule, we don't have a distribution anymore.

And from what i can tell, quite a bit of upstream would see that as a good thing. They just want to stuff their thing into a container and call it a day, distros be damned.

To me that is like going back to the DOS days of software, or even close to the present day of Windows software, where everything is dangling off in their own sub-dir with all their snowflake variants of dependencies.

Damn it, go back a few years and Microsoft go burned by this when they discovered that there was a vulnerability in the VC++ redistributable dlls. All they could do was issue updates for their own software, a tool for scanning the drive for vulnerable copies of the dlls, and a wish that customers would badger their software providers for updated versions of affected software.

Re:Debian 9.4 released by jlarocco on Saturday March 10, 2018 @02:19PM (#16559747)
I don't mind that Debian will patch upstream packages to make them fit better with the overall Debian system. If I wanted a no frills system, with minimal integration, that strictly followed upstream for everything, then I'd move back to Slackware.

Their policy on language specific package management is also pretty reasonable. There's no point duplicating effort packaging things in both Pip and the Debian repos when those package managers work fine under Debian. It lets Python devs use the same tools as every other Python developer on other systems, and avoids Debian specific instructions for package installation. It also completely side steps the problem of following upstream for all of those packages.

The advice I've always followed is to always use the language specific package management unless I'm specifically building a package for Debian.

Re:Debian 9.4 released by bharrison on Saturday March 10, 2018 @09:09PM (#16561328)
>X2...

The author of xscreensaver became so upset by similar circumstances that he threw down a gauntlet; ship the ancient package with an updated splash screen warning users of how old it is, or stop shipping it.

https://www.jwz.org/blog/2016/04/i-would-like-debian-to-stop...

Re:Debian 9.4 released by digi_owl on Sunday March 11, 2018 @09:18AM (#16562850)
The real problem there was that Debian left the splash screen in place, complete with the email of the author. Thus people would contact him directly rather than Debian when an issue was noticed.

Then again JWZ is quite the character...