They did a good job
They did a good job
Posted Sep 17, 2015 2:11 UTC (Thu) by dskoll (subscriber, #1630)Parent article: How Debian managed the systemd transition
I've upgraded a number of systems from Wheezy to Jessie and it really was quite painless. The only real difference I've noticed is that the systemd-enabled Jessie machines boot a whole lot faster than they did when they were Wheezy.
Posted Sep 17, 2015 5:48 UTC (Thu)
by alison (subscriber, #63752)
[Link] (2 responses)
Posted Sep 17, 2015 9:12 UTC (Thu)
by salimma (subscriber, #34460)
[Link] (1 responses)
Posted Sep 17, 2015 22:54 UTC (Thu)
by zlynx (guest, #2285)
[Link]
I've been using btrfs on my Fedora laptop and a small home file, backup and email server since F20. No problems.
Posted Sep 17, 2015 15:46 UTC (Thu)
by deater (subscriber, #11746)
[Link] (21 responses)
For example, on my headless network gateway, the drive with the /home partition failed ( / was fine).
Instead of just booting with the /home drive removed, it instead sat there on the console with a fancy and colorful display letting me know that a partition was missing, counting down for a few minutes before in the end just totally giving up and dropping to single-user mode. Without bothering to start packet forwarding first. This was a headless machine, so my network was down until I could drag a monitor and keyboard over to figure out what was going on.
I've had a few other surprises like this. And I guess that's par for the course when transitioning such a big system component over, but I find myself spending a lot of time fighting against systemd in cases where things used to "just work".
Posted Sep 17, 2015 16:30 UTC (Thu)
by MarcB (guest, #101804)
[Link] (18 responses)
Before Systemd the "nofail" flag was the default (more or less - errors were reported on the console but they did not block anything). Now, users have to explicitly set the flag if they think that it is OK if a specific automatic mount fails.
I *very* strongly prefer the new behaviour.
The old behaviour could lead to undefined system behaviour, especially when combined with the fact that folders do not need to be empty when mounting something into them.
We once had long deprecated software versions running on a system when a network mount failed silently. Fortunately, the input format had changed in the meantime, so that the old software failed completely - and complained loudly - instead of just producing formally correct but logically wrong output. The latter could have gone unnoticed for months and would have cost a lot of money. (Of course, it was a mistake to just mount a network filesystem over the previously local installation in the first place, but stuff like that happens.)
Posted Sep 17, 2015 21:15 UTC (Thu)
by deater (subscriber, #11746)
[Link]
Documented in the basement behind a sign saying "beware of leopard"?
I still think it's a fairly major and surprising change, though I can grudgingly see why an upgrade to systemd wouldn't want to update the fstab file to make all mounts nofail for backward compatability reasons.
Posted Sep 18, 2015 1:11 UTC (Fri)
by mchapman (subscriber, #66589)
[Link] (11 responses)
To add to this, it could be argued that the default hasn't changed, and that the old behaviour was just plain wrong. The mount(8) manpage documents a "nofail" option, but there is no corresponding "fail" option. This seems to imply that "fail on error" was always intended to be the default behaviour, and that the old pre-systemd initscripts had simply got it wrong.
I don't actually agree with this view -- if the old behaviour is what distros used then the documentation should have been written to say that -- but I can certainly see the logic in it. I do prefer systemd's stricter handling of mount points during boot though.
Posted Sep 18, 2015 2:15 UTC (Fri)
by dlang (guest, #313)
[Link] (10 responses)
it's worth going and reading his full post.
This attitude of "well, if we broke it, it was wrong anyway" is part of the reason people distrust the systemd folks so much.
Posted Sep 18, 2015 4:17 UTC (Fri)
by mchapman (subscriber, #66589)
[Link]
I said it was "logical", not that it was right. :-)
Posted Sep 18, 2015 10:41 UTC (Fri)
by MarcB (guest, #101804)
[Link]
There explicitly is no stability guarantee in the latter case (as evidenced by every major distribution's release notes). If you do a major upgrade - if your distribution supports that at all - you have to read the release notes, understand them and perform any extra steps that apply to your system. This has always been the deal.
Of course, individual users might have gotten away without doing that in the past. They were lucky.
Just to make this clear: Had Debian made such a change within the life-cycle of a distribution, I would have been really annoyed.
Posted Sep 18, 2015 14:01 UTC (Fri)
by deater (subscriber, #11746)
[Link]
I thought that qotw was posted ironically due to the number of times his projects have broken various ABIs.
Posted Sep 18, 2015 19:08 UTC (Fri)
by davidstrauss (guest, #85867)
[Link] (6 responses)
systemd may have a default and an opinion, but it was Debian's prior, unusual default that created this divergence. If you're Saab -- with a long history of having the ignition in the center console -- and switch to stock parts, it is not the fault of the stock steering column manufacturer that ignition is now in a different place than you had put it before.
Also, Debian could have chosen to configure the post-upgrade system to carry over "nofail," but they didn't. It's not like systemd forces you to have mounts fail hard. Complain to the Debian maintainers if you don't like the way they're choosing to configure systemd.
Posted Sep 26, 2015 10:22 UTC (Sat)
by rleigh (guest, #14622)
[Link] (5 responses)
Posted Sep 26, 2015 11:16 UTC (Sat)
by zdzichu (subscriber, #17118)
[Link] (4 responses)
Posted Oct 9, 2015 22:49 UTC (Fri)
by nix (subscriber, #2304)
[Link] (3 responses)
This is a very legalistic (read, unhelpful) way to make a system. It's a way to make a system that, to be blunt, doesn't work very well.
Posted Oct 10, 2015 9:24 UTC (Sat)
by zdzichu (subscriber, #17118)
[Link] (2 responses)
Posted Oct 10, 2015 9:49 UTC (Sat)
by cebewee (guest, #94775)
[Link] (1 responses)
> you should read Ingo's comments from the kernel qotw http://lwn.net/Articles/657428/
Now, there are of course cases where breaking changes are justified (and I won't judge whether this was the case here), but you cannot blame people for being upset when said changes break their system.
Posted Oct 11, 2015 0:15 UTC (Sun)
by mathstuf (subscriber, #69389)
[Link]
Posted Sep 19, 2015 14:21 UTC (Sat)
by cortana (subscriber, #24596)
[Link] (4 responses)
Posted Sep 19, 2015 15:16 UTC (Sat)
by mathstuf (subscriber, #69389)
[Link] (3 responses)
Posted Sep 19, 2015 18:36 UTC (Sat)
by cortana (subscriber, #24596)
[Link] (2 responses)
Posted Sep 19, 2015 21:52 UTC (Sat)
by mathstuf (subscriber, #69389)
[Link]
Posted Sep 19, 2015 22:04 UTC (Sat)
by mathstuf (subscriber, #69389)
[Link]
> Lack of security support for the ecosystem around libv8 and Node.js
I wonder how many will ignore this :( .
Posted Sep 18, 2015 14:00 UTC (Fri)
by drag (guest, #31333)
[Link] (1 responses)
How is this different then what was life was like before systemd?
This sort of crap is why 'enterprise' machines have things like ILOM and iDrac and before that serial terminal servers.
Posted Sep 19, 2015 0:55 UTC (Sat)
by deater (subscriber, #11746)
[Link]
For the previous 20 years I've run Linux/UNIX, if /home was unable to mount, the system would continue anyway and just do without. You could still log in, but obviously your files wouldn't be there and ssh and login might complain loudly. Then you could remotely do whatever was needed to get /home fixed/restored.
The new behavior unhelpfully just dumps you to a prompt, which is bad if you are headless and depending on being able to ssh in (or even worse, the machine is your network gateway so all of your other systems drop off the net because packet forwarding never gets started).
The machine doesn't have iLOM. A serial console would have helped in this situation but I have a lot of machines and it would be a wiring nightmare for all of them to have serial consoles.
So anyway yes, this is a distribution issue not necessarily an init issue. It's just hard when your 20-year old mental model of how a Linux server behaves is majorly changed without much warning. I'm used to other major OSes playing this game but I've been spoiled by Debian being a bit more sane over the years.
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
Oh, I found it, section 5.6.1 of this document: https://www.debian.org/releases/stable/i386/release-notes... which I apparently missed at the time.
They did a good job
They did a good job
They did a good job
They did a good job
(And not only that, you also have to read the changelog of every major library you use out of the distribution's repo, or have very good testing in place - that is the real effort.)
But during a major upgrade I expect things like that. And for me, this particular change is more than welcome. Aborting the boot on errors is the only sane thing to do. The init system cannot know and understand the filesystems and simply ignoring the errors can lead to anything, while erroring out always leads to the same thing: A very clear and very visible error that should be caught by even the most simple monitoring.
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
They did a good job
"Don't use Debian's packages for deploying node.js-based services."
They did a good job
They did a good job