Slashdot Mirror


Debian To Replace SysVinit, Switch To Systemd Or Upstart

An anonymous reader writes "Debian has been one of the last holdouts using SysVinit over a modern init system, but now after much discussion amongst Debian developers, they are deciding whether to support systemd or Upstart as their default init system. The Debian technical committee has been asked to vote on which init system to use, which could swing in favor of using Upstart due to the Canonical bias present on the committee."

362 comments

  1. Canonical might suck... by GameboyRMH · · Score: 3, Interesting

    But that doesn't mean that Upstart does.

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
    1. Re:Canonical might suck... by Anonymous Coward · · Score: 3, Interesting

      Yea who doesn't want their DB servers kill -9'd if they take too long to shutdown. Hooray upstart.

    2. Re:Canonical might suck... by Anonymous Coward · · Score: 2, Interesting

      IMHO, it does (suck) when compared to Systemd.

      I've also found moving from System5 based init's easier with Systemd

    3. Re:Canonical might suck... by WarJolt · · Score: 0

      Upstart isnt bad, but Systemd is better. Upstart has a cooler name and is easier to support because packages don't have to be patched

    4. Re:Canonical might suck... by 0100010001010011 · · Score: 2, Interesting

      Should go with launchd.

    5. Re:Canonical might suck... by TheCarp · · Score: 3, Interesting

      Well my first thought on this was.....its a smart move for desktops, but I intend to continue using sysvinit on servers for a long long time to come.

      --
      "I opened my eyes, and everything went dark again"
    6. Re:Canonical might suck... by oneandoneis2 · · Score: 1

      Upstart sucks.

      Every time I've tried to make new software be controlled by it, I've wound up writing horrendous kludges or (where possible) rewriting the source code to make it more upstart-friendly.

      Upstart is to init systems what Unity is to desktops - mostly okay for some stuff, and utter **** for anything else.

      --
      So.. it has come to this
    7. Re: Canonical might suck... by Anonymous Coward · · Score: 0

      I'd better go wit Upstart than PÃtterKits

    8. Re: Canonical might suck... by Anonymous Coward · · Score: 0

      One *big *problem with systemd.

      Once you remove /run/systemd by accident. There is no proper way to reboot or shutdown the system. Only solution is hardreset or poweroff.

    9. Re:Canonical might suck... by heson · · Score: 4, Insightful

      Upstars solves some problems with sysv, but includes a whole array of new ones. Systemd solves almost all problems with few new ones, except for all the parts that is not implemented yet. Systemd is a mess for novices to use and understand, the helper tools are not as good as they should be.

    10. Re:Canonical might suck... by jones_supa · · Score: 4, Funny

      mostly okay for some stuff, and utter **** for anything else.

      So mostly okay for some stuff, and four stars out of five for anything else? Pretty good, pretty good.

    11. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      It's four stars for everything else? That sounds pretty good!

    12. Re: Canonical might suck... by jones_supa · · Score: 1

      I prefer PÃtterKits as my runlevel daemon.

    13. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      Yes it does. Mark is the Steve Jobs of the Linux-Universe. He does not give a shit about tech, users or anything else but hes own company, what he does with mir is just another chapter of attempting to fragment linux. Don't get in bed with this guy, debian, or you *will* regret it. I for one will drop debian if they start using ShuttleStart...

    14. Re: Canonical might suck... by tmpsantos · · Score: 1

      One *big *problem with systemd.

      Once you remove /run/systemd by accident. There is no proper way to reboot or shutdown the system. Only solution is hardreset or poweroff.

      You are being ironic, right?

    15. Re: Canonical might suck... by Anonymous Coward · · Score: 2, Informative

      No! Sadly this is the case. I had a script that deletes old entries in /run. By accident I removed /run/systemd and figured out that you can not shutdown or reboot anymore. Only hardreset or poweroff lets you bypass it. This is not and was never necessary with sysvinit.

    16. Re:Canonical might suck... by icebike · · Score: 4, Insightful

      This is very true.

      Like much in the linux world these days, systemd was rushed into production before it was half completed by too many distros.
      At least you have to give Debian the credit for waiting until most of it is working, and all the necessary patches have been identified.

      (The less charitable way of viewing it is that Debian sat back and let others do the heavy lifting).

      Probably the worst case would be for them to choose upstart when the rest of the industry decides on systemd. That kind of divergence
      makes for much more work patching everything that needs to be patched.

      --
      Sig Battery depleted. Reverting to safe mode.
    17. Re:Canonical might suck... by GuldKalle · · Score: 1

      What's wrong with
      kill timeout 64800

      --
      What?
    18. Re: Canonical might suck... by icebike · · Score: 1

      Yeah, well, don't do that. There is a reason its all owned by root.

      --
      Sig Battery depleted. Reverting to safe mode.
    19. Re:Canonical might suck... by fatphil · · Score: 3, Insightful

      Indeed, Canonical sucking *doesn't* mean that Upstart sucks.
      It's the fact that Upstart sucks which means that Upstart sucks.

      At least from an embedded perspective (which is the majority of linux systems) the system should start only that which is necessary rather than everything that is possible. It also suffers from the classic stampede mistake when it becomes possible to start a whole load of new services after a shared dependency is started.

      --
      Also FatPhil on SoylentNews, id 863
    20. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      Does Unix System 5.3 (or something like it) ring a bell?

      Nowt to do tihe MacOS. Yes it is old, so am I. I wrote my first Unix device driver in 1982 (Dec Ultrix)

    21. Re: Canonical might suck... by icebike · · Score: 1, Funny

      with my own owned stuff

      You own your own dick too, but there is no point in complaining you can't get it up once you cut it off.

      --
      Sig Battery depleted. Reverting to safe mode.
    22. Re: Canonical might suck... by Anonymous Coward · · Score: 0

      Don't ever delete /run/initctl then either....

    23. Re: Canonical might suck... by Zeromous · · Score: 1

      I am root you insensitive clod!!!

      No caps seriously /.

      --
      ---Up Up Down Down Left Right Left Right B A START
    24. Re:Canonical might suck... by Anonymous Coward · · Score: 0
    25. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      But it was _spelled_ System V, never System 5. Such as System V Release 3, or just SVR3. System IV and System III also existed, and were never spelled as System4 or System3, either.

      Mac OS, however, was always spelled System 4, System 5, etc.

    26. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      MacOS was never marketed as System 4 or System 5 --- the version number might have been listed somewhere, but it wasn't until System 7 when it came into widespread use. (After which System 6 was used retroactively.)

      Point being there was never any confusion with Unix System III or V.

    27. Re: Canonical might suck... by Anonymous Coward · · Score: 0

      No you can delete /run/initctl easily. Only leave /run/systemd. That's all you need to properly reboot or shutdown. But I like to know howto recover in case you removed tgat die by accident. Can I enter some magic to have the system shutdown cleanly even without /run/systemd ?

    28. Re:Canonical might suck... by Junta · · Score: 2

      Well, that and Lennart Poettering tends to not constructively respond to requests by users. He's done some very sophisticated work, but in many ways fails to understand the reality of most sysadmins. He wants all sysadmins to be able to handle the new capabilities rather than coddle them with plaintext log formats, even though over 95% of the audience doesn't *need* the stuff that is hard to do in a plaintext log format.

      MS has done the same thing, system registry, event log, etc all act very similarly to the way systemd thinks things should be done. I know windows events are even worse in terms of format, but journal is a lot closer to windows events than it is to /var/log/messages.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    29. Re:Canonical might suck... by Anonymous Coward · · Score: 1

      It wasn't marketed that way, no. Neither is Solaris 11, even though it's actually SunOS 5.11. But point is, System 5 is what people used. Why are you using your faded memory instead of actual facts. Go to Google Books and search for `Mac OS "System 5"', and adjust the results to the 20th century. On the first page are several hits.

      That said, I just also searched for `Unix "System 5"' and I now find myself eating a giant bird with black feathers.

    30. Re: Canonical might suck... by X0563511 · · Score: 1

      Go ahead and delete system32 while you're at it. It's your computer - pay no attention to those naysayers who try to talk you down from deleting it.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    31. Re: Canonical might suck... by Anonymous Coward · · Score: 0

      Bonehead.

      Log in as root on the console.

      # cd /
      # kill -9 -1
      # umount -a
      # swapoff
      # mount / -o remount,ro
      # sync
      # sync
      # sync
      # reboot -f

      (sync is three times as the time to type it exceeds the timeout)

    32. Re:Canonical might suck... by Anonymous Coward · · Score: 1

      Doesn't matter.
      The group which will decide this is composed all of curent canonical (and ex) people, they will chose upstart.

      The group has practically decided, one of the memebers is a known hater of systemd already....

    33. Re: Canonical might suck... by Anonymous Coward · · Score: 0

      System V Init has some kind of fallback allowing it to change level anyway, probably with signal handlers.

      Trust me, I've made the mistake.

    34. Re:Canonical might suck... by lgw · · Score: 1

      mostly okay for some stuff, and utter **** for anything else.

      This is /., there's no profanity filter here. You can say "utter crap shat out by a diuretic weasel" if you want to phase it mildly.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    35. Re:Canonical might suck... by Dcnjoe60 · · Score: 1

      Upstart isnt bad, but Systemd is better. Upstart has a cooler name and is easier to support because packages don't have to be patched

      Upstart needs to be patched if one intends to run Gnome 3 which, in later versions, has hooks into Systemd. Those hooks have to be added to Upstart to replicate the functionality. Now, that might not be an issue for Canonical which favors Unity (and patches the Gnome 3 libs to work with Unity), but Debian developers might take a different view on that.

    36. Re:Canonical might suck... by Dcnjoe60 · · Score: 1

      Upstars solves some problems with sysv, but includes a whole array of new ones. Systemd solves almost all problems with few new ones, except for all the parts that is not implemented yet. Systemd is a mess for novices to use and understand, the helper tools are not as good as they should be.

      That last part, about being a mess for novices, sounds like an opportunity for somebody looking to do tool development that would be well received, even by non-novices.

    37. Re: Canonical might suck... by F.Ultra · · Score: 1

      Could you elaborate on your problems? I have written Upstart files for all our software without any need for patches etc.

    38. Re:Canonical might suck... by jimicus · · Score: 1

      > (The less charitable way of viewing it is that Debian sat back and let others do the heavy lifting).

      Maybe. But doing the heavy lifting isn't really what Debian does. Frankly, they don't have the money.

    39. Re:Canonical might suck... by dshk · · Score: 3, Interesting

      Upstart was already in a good shape when SystemD started. So if you consider this fragmentisation because of this, then please note that in this case it is not Ubuntu who fragments Linux distros, quite the opposite... Personally I find writing Upstart configuration files trivial. On the other hand I have never been able to write a perfect System V script. I hadn't found comprehensive documentation about it (especially about the various helper scripts and config files frequently used in init scripts). On the other hand, if you read the Upstart doc, which is a single long HTML page, at most 1 hour to read, your will know everything about it, much more than what you will ever use. I have not tried SystemD, so I have no opinion on that.

    40. Re:Canonical might suck... by Anonymous Coward · · Score: 1

      Both upstart and systemd have been packaged in Debian since at least Squeeze. Possibly earlier (I haven't checked).

      They've just been optional until now. But they've been testing both and contributing patches for both.

    41. Re:Canonical might suck... by Anonymous Coward · · Score: 1

      dude, you can hook syslog into journald and get plain test logs, inclueding early boot that you never would hard gotten without systemd. In fact it's not a bad idea as you can make the best use of your existing scripts and the new functionality.

    42. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      An embedded system shouldn't be wasting valuable flash space on something it isn't going to run.

    43. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      I think everyone agrees we can do better than system V init. The opther option besides upstart or systemd is openRC, which can still use the system v scripts directly but add quite a bit of functionality with preserving compatibility with other UNIX operating systems. I think that reason alone is why there's a chance debian will use it as it should work just fine in thier kBSD branch.

    44. Re:Canonical might suck... by Junta · · Score: 4, Insightful

      So one prominent example is a push to discard syslog, but at the same time rejecting any suggestion that perhaps it might be nice if the same plain text that journalctl can produce be produced as a matter of course without syslog assistance.

      Yes, journalctl has more readily accessible nice filters and faster performance. The issue is that the vast majority of people didn't ever need them and made due with grep and friends. Yes it's not good stuff to build a high-end solution out of, but by the same token journalctl power is more complicated to use.

      Getting early boot messages would have been a straightforward thing to do in syslog land, it was just that no one bothered. It was a good thing to add, but generally either things work fine and you don't really care much about the early boot logs, or it fails to get root fs going in which case the logs from that time won't make it to the root fs hosted journal anyway.

      I don't like the linux distros of today because they are largely reimplementing much of what people ridiculed microsoft for in the 90s (binary configuration, binary logs, more complex messaging model). While it is true that generally the details of the implementation are defensibly better than microsoft did, the differences are largely academic to the vast majority of system administrators. Vast majority sees opaque binary blob that is useless without a very close match in distribution to provide tools to analyze. Even when things are humming along fine, things like dbus provide capability in a nearly impossible to explore manner. Even with all this complexity, my linux server experience is no more useful than it was 10 years ago from a managability standpoint, but I've had to jump through hoops to try to track the complexity as it emerged bit by bit without a lot of nice capability to come along for the ride.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    45. Re:Canonical might suck... by Junta · · Score: 2

      The problem is that some of the difficulties are by design. journalctl and systemctl are actually pretty straightforward to use. However, when things go off the rails, it's much harder to cope with than a system that retains plain text logs at the core. The argument that journalctl can give you plain text rings hollow when the tool is hard to get to (system had catastrophic failure and you are on the wrong end of a crappy connection but have a random system nearby that can peruse data. Lennart would call this a convoluted case, but it comes up surprisingly often. Meanwhile, having journal do plain text file alongside the binary file would neatly address a lot of the criticism without a whole lot of downside, but it's almost a religous objection to plain text logging rather than practical concerns keeping it soley the domain of syslog.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    46. Re:Canonical might suck... by Anonymous Coward · · Score: 1

      As a Gentoo user, I heartily recommend OpenRC for Linux, not just BSD!

    47. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      Upstart and systemd share the same amount of design issue, systemd on top of it has even different implementation issues making it hard to fix.

    48. Re:Canonical might suck... by WuphonsReach · · Score: 1

      Like much in the linux world these days, systemd was rushed into production before it was half completed by too many distros.

      Smart money is to either wait for it to hit Debian Stable or for it to be released by RHEL into an actual release of their server product (and not just has a "technology preview").

      At the earliest, I would guess RHEL 7. Since that is going to be based on Fedora Core 19, which included systemd, it's a pretty good guess.

      Of course, we have yet to see RHEL7 officially announced and RHEL6 is already 3-years old. It usually takes them about a year after announcing which FC they're basing the next release on, so I'm guessing Spring/Summer 2014 for RHEL7.

      --
      Wolde you bothe eate your cake, and have your cake?
    49. Re:Canonical might suck... by icebike · · Score: 1

      Probably a good guess.
      Opensuse is about to release it's second version with systemd, with the last vestiges of run level compatibility targets removed.
      Not sure when that hits SLES.

      --
      Sig Battery depleted. Reverting to safe mode.
    50. Re:Canonical might suck... by jandersen · · Score: 1

      For my part, I don't really care; what I would like to have in Linux is something like Solaris' Service Management Facility (smf). After all, what is the advantage of running system initialisation in parallel? That it starts up faster? But surely you don't reboot Linux so often that it is a major concern whether it takes 1 minutes or 10?

      On the other hand, a facility like smaf gives some real benefits, like better diagnostics, and if one is to believe the hype, "self-healing". Yeah, I don't quite believe that either, but you never know.

    51. Re: Canonical might suck... by Anonymous Coward · · Score: 0

      You do reboot quite often on a laptop

    52. Re:Canonical might suck... by ShawnX · · Score: 2

      You can still disable binary logging, as I will continue to do and as long as they don't remove this. Everyone can be somewhat more happy and get best of both including syslog redirection still.

      --
      Everyone wants a Tux in their life.
    53. Re: Canonical might suck... by Anonymous Coward · · Score: 0

      systemd is something like smf. A big part of the idea's in systemd orginated in smf

    54. Re: Canonical might suck... by Anonymous Coward · · Score: 0

      Both upstart and systemd can use init scripts. One good thing with systemd and upstart over openrc is, you don't need to. They both have better and more modern alternatives to the pain in the ads init scripts.

    55. Re:Canonical might suck... by Grishnakh · · Score: 3, Insightful

      Why not just make the journal in a standardized format, that can be read by any other system? If I need to look inside a .zip or .tar.gz file, I don't need tools on a specific computer to do that; I can copy those files to any computer and look at them with zip/unzip or tar/gzip. Why should it be any different with systemd logfiles? You shouldn't need to use the computer that generated those files to read the files, just the same tool on another computer. If that's a problem, then there's a serious failure in implementation.

    56. Re:Canonical might suck... by Grishnakh · · Score: 2

      But surely you don't reboot Linux so often that it is a major concern whether it takes 1 minutes or 10?

      On servers, no. Laptops, however, are a different animal. Yes, you can avoid some reboots just by using the normal suspend and hibernate modes (IF hibernate works on your laptop), but not all, particularly when there's a kernel update. People generally like to have laptops that can start up and shutdown quickly, particularly when Windows can do it so fast these days.

    57. Re:Canonical might suck... by Grishnakh · · Score: 1

      Comparing Mark to Steve Jobs is quite a stretch. For all his faults, Steve was really good at knowing what consumers would like, and what would sell. Mark doesn't seem to have this aptitude at all. He has all the control-freak characteristics of Steve, without the positive traits that made him so successful. Maybe he fancies himself as the Steve Jobs of Linuxland, but he's doing a piss-poor job of living up to that.

    58. Re:Canonical might suck... by fatphil · · Score: 1

      Do you not understand the difference between "not needed at early boot" and "not going to be run, ever"?

      Good. Now compare what I was talking about, and what you are talking about.

      Now say sorry, and promise to post non-anonymously in the future, so that you have some incentive not to post crap.

      --
      Also FatPhil on SoylentNews, id 863
    59. Re:Canonical might suck... by allo · · Score: 1

      systemd is hard to use. If a service fails, you get cryptic instructions (ie. use journalctl -xn, while its not described what -xn means, and its a log snippet in less, which is much less useful than just a /var/log/syslog), and the utilities do even try to provide a legacy /etc/init.d interface. systemctl vs. journalctl vs. systemd is not so clear, if you do not read a lot of docs, too. upstart on the other hand seems quite simple, and has very simple but flexible init"scripts".

    60. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      No, it wasn't. It still can't boot something like Apache natively because the process tracking was too naive. There's no Upstart job for that in Ubuntu. Canonical more or less stopped funding it once it was good enough to boot a graphical desktop.

      They've later restarted their efforts which is really kind of stupid now that systemd is around and actually works.

    61. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      my linux server experience is no more useful than it was 10 years ago from a managability standpoint

      That's not true. These days you can install a brand new server in less than 30 minutes, and most of the defaults are much more sane. The babysitting support in systemd will end up making your system more robust out of the box.

    62. Re:Canonical might suck... by Anonymous Coward · · Score: 0

      If you want your opinion to be taken seriously, at least spell systemd properly.

  2. Ugh by ArchieBunker · · Score: 4, Insightful

    I fucking hate this new system. Its a mess of scripts that call on more scripts. Its such a pain in the ass now if you want to have a program run when the system starts. Gone are the days of just adding a line to /etc/rc.local

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
    1. Re:Ugh by lasermike026 · · Score: 5, Interesting

      Yeah, SysVinit is not only fine but preferable. It's simple and effective. I see no reason to change.

    2. Re:Ugh by Anonymous Coward · · Score: 0

      rc.local still exists, as do the old init script directories.

    3. Re:Ugh by Anonymous Coward · · Score: 0

      Archie, you really should do something about those kids on your lawn.

    4. Re:Ugh by MightyMartian · · Score: 3, Funny

      I'm with this too. Fuck Canonical. They have become a real pain in the ass, and worst of all, they're a pack of fucking retarded assholes. I can't say it enough. Fuck Canonical. Fuck Canonical. Fuck Canonical.

      Debian is one of the best distros out there, let's not allow the fuckwaddery that is Canonical and their arrogance and intense stupidity ruin it. The current init system works just fine.

      Oh, and in case you didn't get it. Fuck Canonical. Fuck Canonical. Fuck Canonical.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    5. Re:Ugh by Arker · · Score: 4, Informative

      Slackware still uses sensible init scripts you know.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    6. Re:Ugh by Tanktalus · · Score: 5, Funny

      I really wish you'd get off the fence and pick a position on the issue.

    7. Re:Ugh by Anonymous Coward · · Score: 0

      Simple, effective, flexible
      Pick 2

      The trouble with the old init is not that they don't work well when hand-tuned to specific tasks.. It's that that is all they can do.

      Modern operating systems need to be manageable and configured in a programmatic fashion that's consistent across all installations. Yes, you do this now but you have to realize that you're essentially building a unique implementation every time.

      The days of building a server on bare metal, or even a server farm are gone. Today your infrastructure is any number of auto-configured VMs spun up and down on demand. Million of machines created, started, and shut down on demand without intervention by human hands.

    8. Re:Ugh by jedidiah · · Score: 1

      ...except that upstart doesn't meet that description.

      It's more complex, therefore more subtle, therefore less repeatable and more difficult to debug. If I had a large number of machines of ANY sort, upstart is the LAST thing I would want to have to deal with.

      Upstart is barely tolerable for desktop purposes.

      You throw around "million" like its going to impress anyone. Many of the people around here already manage a volume of machines large enough to boggle the average human numeracy.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    9. Re:Ugh by Anonymous Coward · · Score: 1

      Slackware still uses sensible init scripts you know.

      Slackware does a lot of sensible things. But you need a benevolent dictator who knows what he is doing.
      Debian is more democratic than Slackware, but as in real life when the system is corrupted from within you're fucked.
      To be honest Canonical developers should have NO SAY WHATSOEVER as to the direction of Debian.

    10. Re:Ugh by jythie · · Score: 2

      I am not really seeing how sysvinit fails in this regard. Simple things are easier to manipulate programmatically then complex ones, and complexity generally requires something to justify itself.

    11. Re:Ugh by icebike · · Score: 4, Insightful

      I fucking hate this new system. Its a mess of scripts that call on more scripts. Its such a pain in the ass now if you want to have a program run when the system starts. Gone are the days of just adding a line to /etc/rc.local

      Half of that is because either SystemD or upstart is really only about half implemented, and the half that is implemented is often trying to replicate sysv just to keep the conversion and learning task to something approaching manageable. Its kind of a mess right now in many distros.

      As more of the system targets are properly implemented, and users start to let go of the concept of run levels, and get used to dealing with target files and the concept of units, it will be every bit as tailor-able as run levels were, and a whole lot faster.

      I didn't find run levels and rc.d all that intuitive at first (many long years ago) and the scripts were more complex.

      --
      Sig Battery depleted. Reverting to safe mode.
    12. Re:Ugh by Anonymous Coward · · Score: 0

      HAHAHAHA i agree !!!

    13. Re:Ugh by thrift24 · · Score: 3, Informative

      It sounds like you are describing the current system, not the new system. And if you don't like the current system, you are going to hate the new system.

      What I would consider the old system would be something like SlackWare(RC scripts) where the system might have 8 or 9 different shell scripts called during the boot process, but it's essentially one giant autoexec.bat. Simple to make modifications to the boot process, but installing new services or upgrading the system may require manual merges and break your installation.

      The current system is more like RedHat/SuSE/debian(Tradtitional init), where there are tons of scripts that call other scripts and it gets pretty complicated, but for the most part everything is a script and can be easily traced. This is more difficult for the inexperienced to modify, but is reasonable for those familiar with scripting and is great for adding new services and upgrading the OS. Basically the scope of a change is smaller, so less stuff breaks.

      The new system is something like Fedora/Ubuntu(Systemd/Upstart). There are config files for everything from services, to devices, to sockets that are parsed by a binary that isn't very open to inspection. This leads to a very fast boot up and has neat features like the ability to view the logs of a service with the same command used to start it, but is also like sticking your dick in a box of razers, because when something goes wrong you can't just pull out vi and look at the logic being used to boot the machine. It also leads to somewhat unsettling things like a merged /usr and a /run.

      To be fair this might be somewhat unfair to Ubuntu, because I haven't invested much time into Upstart. If it was something worth looking at I'm sure the Fedora/SUSE devs would have dropped systemd for it though.

      What would be really nice is if Debian built a version of systemd that didn't have a big binary core, or at least split the thing into several different services. I like the speed and slickness of systemd, but if anything goes wrong with a system using it, I will have no idea how to fix the thing -- and that's after using systemd on my primary laptop/server for over a year.

    14. Re:Ugh by Wheely · · Score: 1

      Absolutely, 100% agree.

      It a complete distaster and addresses a problem that wasnt even there. rc.d or init.d were universally understood and even the dummest sys admin could get something in there. On Solaris for example, nobody ever remembers how to do it or how to check when something hasnt worked so you find people shoving re-start scripts in cron instead or using some config management tool.

      With a Unix system you used to be able to follow the boot process from start to login just by looking at inittab and following the trail. This was great for newbies and great for finding out why things were not happening as they should.

      systemd is the one of the worst thing Ive seen on Linux (apart from recent updates to su silently breaking any script that does su - username from root and then attempts to write to /dev/stdout) but it did get me back to my old friend Slackware after many years.

    15. Re:Ugh by Wheely · · Score: 1

      This makes no sense.

      Can you explain how SYS V stops you having an implementation that is consistant across all installation any more than say, systemd or svcs does?

      Roll out your base image and then your configuration management tool automatically builds all the other cruft on top of it. Cant see the difference

    16. Re:Ugh by Anonymous Coward · · Score: 0

      Debian is one of the best distros out there, let's not allow the fuckwaddery that is Canonical and their arrogance and intense stupidity ruin it.

      Regardless of what Debian does, Slackware is showing no signs of leaving sysVinit...

      ~~~~
      Ubuntu: An African word meaning "Slackware is too hard for me."

    17. Re:Ugh by mwvdlee · · Score: 1

      Fuck [...] pain in the ass [...] fucking retarded assholes [...] Fuck (6x)

      Perhaps you doctor has an ointment for that?

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    18. Re:Ugh by Anonymous Coward · · Score: 0

      Try slackware. 14.1 is coming out soon.

    19. Re:Ugh by Gothmolly · · Score: 1

      Oddly, many people found runlevels completely intuitive (although why XWindows is "5" starts to get a little hazy).

      Unix is about getting lots of rope, typing it in knots, and optionally hanging yourself.

      systemd, and Windows, and OSX is about poking a black box with a stick using only appropriate incantations for fear of going out of the One Correct Way to do things.

      --
      I want to delete my account but Slashdot doesn't allow it.
    20. Re:Ugh by Anonymous Coward · · Score: 0

      Really now? SysVinit is a terrible system. I can't take you seriously you must have never of written a script in your life if you think it's better then system.d or upstart.

    21. Re:Ugh by ale2011 · · Score: 1

      systemd is the one of the worst thing Ive seen on Linux but it did get me back to my old friend Slackware after many years.

      Would you consider Slackware a good alternative even if it weren't an old friend of yours? I mean, do you recommend it? Won't it switch to systemd in turn?

      Thus spoke Patrick Volkerding in a July 2012 interview:

      With udev being phased out in favor of systemd performing those tasks we'll have to make the decision at some point between whether we want to try to maintain udev ourselves, have systemd replace just udev's functions, or if we want the whole kit and caboodle.

    22. Re:Ugh by Wheely · · Score: 1

      Its good for me.

      I might recommend Slackware in a professional environment as its the only Linux distribution I am aware of that is truly knowable and stable. However, it needs a good architect to design and develop the systems and procedures in order to keep it in tip top condition. If you have those resources then yes, I would recommend it. It wont break stuff.

      With regards to Patricks Volkerdings conundrum, he has made good choices in the past and Slackware has the stated aim of being a real Unix :) However we will see I guess.

    23. Re:Ugh by Anonymous Coward · · Score: 0

      And you are about stupid reactionary opinions. The essence of UNIX isn't comically bad misdesign which encourages self-inflected bullet wounds. Also, UNIX is not an unchanging, perfect thing. Attempts to move past poor choices in UNIX evolution (like SysV init scripts) are not inherently anti-UNIX.

      OSX, for example, uses launchd to replace init, BSD rc scripts, and inetd, and you know what? It works damn well. No, it does not sap and impurify your precious bodily fluids, rendering you a fearful wreck terrified of venturing outside the box. If anything, it makes it easier for beginners to learn and understand how the system works so they can modify things themselves. Because, you see, it eschews bash scripting (Unix shell script is one of the worst programming languages, ever) in favor of simple config files which merely declare intent (I'd like this service to start when that happens), and launchd takes care of the rest.

      Ultimately this problem is a graph theory problem. If you have a dependency graph and you want to solve it, what do you do? You write one program to traverse it, find minimum paths, whatever. It makes sense to write that program once and then just make the config files be a description of the dependencies. It doesn't make a hell of a lot of sense to indirectly represent those dependencies in ad hoc shell script, and to reinvent this wheel for every service's script. The old way was dumb and a new way is a good thing.

      But hey, I get it. That threatens your inflated sense of self worth. No longer can you look down upon the pansies who can't or won't or don't like hacking SysV init scripts. Why, any damn fool can figure the system out now. How dare they! Don't they know that slashdot poster "Gothmolly" knows the only good way of doing anything?!

    24. Re:Ugh by badkarmadayaccount · · Score: 1

      Since when is systemd closed source?

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  3. Or it might go the other way... by Anonymous Coward · · Score: 1

    Because of the anti-Canonical/Ubunutu bias present on the committee.

  4. geek cage match by Anonymous Coward · · Score: 1

    now that would be awesome. fighting over minor syntax. the loser grabs a fork and goes on his merry way

    next up we tie their beards together and have them fight it out

  5. And it sucks... by Anonymous Coward · · Score: 0

    It sucks because of upgrade issues with /run/initctl and new dependencies on DBus, etc...Plus upstart is a running proc....

  6. Why keep making simple things complicated? by Arker · · Score: 4, Insightful

    Init would have been my pick, but I still hope this works out well for them.

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
    1. Re:Why keep making simple things complicated? by broknstrngz · · Score: 2

      Because it help useless techies employed. You really can't justifiy selling RHCE training and exams without this crap.

    2. Re:Why keep making simple things complicated? by broknstrngz · · Score: 1

      It also keeps OSS companies relevant.

    3. Re:Why keep making simple things complicated? by Anonymous Coward · · Score: 0

      Because the simple way makes it necessary to hardcode a lot of stuff, and that's just fundamentally incompatible with a general purpose distribution where things working out of the box is considered a plus - it has to work even if you install new stuff (hardware or software).

    4. Re:Why keep making simple things complicated? by evilviper · · Score: 1

      Because, daemontools.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  7. How about OpenRC? by Anonymous Coward · · Score: 4, Interesting

    Why not keep sysvinit and switch to OpenRC for managing the init scripts?

    1. Re:How about OpenRC? by Anonymous Coward · · Score: 0

      It's an option and probably a decent one for Debian as it's really the only newfangled init system that is currently being used on both BSD and linux distirbutions. It runs well, and is not a radical departure from system V while fixing its most obvious problems.

    2. Re:How about OpenRC? by Anonymous Coward · · Score: 0

      This would be best.

    3. Re:How about OpenRC? by Anonymous Coward · · Score: 0

      LIkely for the same reason that half the developers on Gentoo are moving away from OpenRC...

  8. Running Sid (Jesse) now... by Anonymous Coward · · Score: 1

    If they start replacing SysV init with Upstart I'll start looking for a new distro. I've run Debian since I got a VA Linux Debian Slink CD, but that would do it to get me running.

    If they have to switch away from sysV init then systemd is better supported by various upstreams and is not locked in with only Canonical developers (and copyright assignments to them etc.)

    Fuck Ubuntu.

    1. Re:Running Sid (Jesse) now... by shadowknot · · Score: 1

      We will gladly welcome you into the loving arms of Bob and the Slackware community!

  9. Re:Uh... by Chemisor · · Score: 5, Informative

    I fucking hate this new system. Its a mess of scripts that call on more scripts.

    Actually, that's how sysv init works. To get a program started by systemd you have to create a service file full of magic commands and put it in the magic systemd directory. Then you have to type systemctl --abracadabra enable yourservicename.service. Then you have to go and add an [install] section to your service file, because nobody actually remembers that you have to write one or how to do it. Then you do the systemctl again. Then you check the log files to see if the thing actually started, because nothing gets output to the console during boot (except the filesystem mount messages and the big fat warning that my root fs is readonly).

  10. sysvinit is dead; long live sysvinit!!! by helobugz · · Score: 3, Insightful

    Tell me I'm not the only one still clinging to sysvinit?

    The new "replacements" (alternatives) are ghey++ and will no doubt be replaced in due time.

    I dno't want to hear about a few seconds faster boot time. I want my *nix startup to be configurable, scripted, and simple. sysvinit takes the cake;.It's documented, and sysvinit is so simple it doesn't really require documentation, anyway.

    1. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 1

      Exactly. I only reboot if kernel was updated anyway and can live with a slower boot since I gain simplicity and configurability in exchange.

    2. Re:sysvinit is dead; long live sysvinit!!! by Vlad_the_Inhaler · · Score: 1

      Opensuse dropped sysvinit when the current level came out several months ago. Before that they had defaulted to systemd but allowed sysvinit.
      My considered opinion of systemd? I hate it. I don't have a server farm, I have a couple of desktop machines with Samba and nfs capability and sysvinit was ideal.

      --
      Mielipiteet omiani - Opinions personal, facts suspect.
    3. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 0

      This.

      Besides, how often do you reboot a 'nix box anyway? If you're doing it more than once every few months, you're doing it wrong.

    4. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 0

      I also really like sysVinit. Alternatives have been horrid at best.
      I cannot grasp why init needs to read "events" ?

    5. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 1

      You're not. I jumped from ubuntu to debian over upstart.

    6. Re:sysvinit is dead; long live sysvinit!!! by Zeromous · · Score: 2

      I still use SysV because solutions are portable. I work on every flavour of UNIX and some I shouldn't even be able to run anyway. I don't want to write solutions for multiple inits.

      SysV for as long as they'll let me. My systems will stay up longer, take less work to maintain and configurations be clearly apparent to actual sysadmins.

      Just my two cents.

      --
      ---Up Up Down Down Left Right Left Right B A START
    7. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 1

      Indeed. I don't care all that much--other than the stupidly complex systemd configuration--because every C service I write can manage daemonizing itself--the -d option argument to detach from the terminal, -p for specifying the PID file path, -w for a simple internal watchdog, and -e for redirecting stderr (so that redirection happens _after_ any startup errors, which you would want printed to the console and not a log file; also can take a pipe for e.g. piping to logger(1), which goes to syslog).

      This also makes development much easier. I don't ever need to be root to test and run my daemons. It's completely portable. I don't have to depend on hopelessly broken shell scripted daemon management. I'm still susceptible to the dreaded PID file race, but only if my application has a bug, because I only send a SIGKILL when the PID file is actually locked--unlocked means there's no process to kill. And with watchdog mode enabled, the race only matters if my very simple watchdog loop has a bug, which is unlikely at this point.

    8. Re:sysvinit is dead; long live sysvinit!!! by NoImNotNineVolt · · Score: 0

      ghey++

      <crying>waaaaaahhhh</crying>

      I'm surprised nobody else is shedding crocodile tears over your word choice.

      --
      Chuuch. Preach. Tabernacle.
    9. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 0

      WTF are you talking about? A systemd configuration file is 10 lines or so. If it's a complex one.

    10. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 0

      You aren't alone.

      I found sysVinit to be very nice - reliable, auditable, bug free, and easy to fix if something goes wrong.

      It can also be very fast.

    11. Re:sysvinit is dead; long live sysvinit!!! by Darinbob · · Score: 1

      Unless it's a personal computer, desktop or laptop. Turning off saves a lot of power.

    12. Re:sysvinit is dead; long live sysvinit!!! by evilviper · · Score: 1

      Tell me I'm not the only one still clinging to sysvinit? [...] I dno't want to hear about a few seconds faster boot time.

      Boot times aren't the point. SysV needs to be replaced because it's too simple to be able to respawn crashed services.

      Running some services out of daemontools, and others out of SysV, cranks up the complexity more than replacing SysV with something smarter.

      That said... If the popular replacement turns out anything PulseAudio, I'll be quitting my job, moving into a cave and start chiseling out stone tablets.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    13. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 0

      Why would you turn them off when you can hybernate/sleep ....

    14. Re:sysvinit is dead; long live sysvinit!!! by epyT-R · · Score: 1

      1. Security, especially with crypted filesystems
      2. sleep/hibernate doesn't always work
      3. Nothing like a fresh reboot to start the day, especially if your work involves programming that messes with OS internals..

    15. Re:sysvinit is dead; long live sysvinit!!! by epyT-R · · Score: 1

      daemontools seems a lot simpler than all the other complexities systemd and its zombified minions (udev) bring to the table.

    16. Re:sysvinit is dead; long live sysvinit!!! by evilviper · · Score: 1

      Daemontools is simple... Too simple, and quite end-user unfriendly. It can only replace part of SysV, so here we are with one starting the other, and half your services running from here, and half from over there...

      I'd like simple as much as anybody, but we need a bit more feature and complexity to fill the roles of both. That upstart and systemd went overboard is unfortunate, but they are long overdue.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    17. Re:sysvinit is dead; long live sysvinit!!! by Zeromous · · Score: 1

      It is not portable. Sysvinit, is portable and extremely procedural and easy to understand. It's also easy to kludge if you wish to do something very non-standard. I'm just not sure what systemd and others intend to fix?

      Maybe you can explain it AC.

      --
      ---Up Up Down Down Left Right Left Right B A START
    18. Re:sysvinit is dead; long live sysvinit!!! by ale2011 · · Score: 1

      SysV needs to be replaced because it's too simple to be able to respawn crashed services.

      Fixing the services which crash would seem to be a better option than busting SysV.

    19. Re:sysvinit is dead; long live sysvinit!!! by evilviper · · Score: 1

      Fixing the services which crash would seem to be a better option than busting SysV.

      ALL services crash, eventually, on long-running servers. Name the most stable service you can think of, and I guarantee many people have seen it crash.

      Besides that, fixing a service isn't always an option. It might be closed-source, or the bug can be intermittent and hugely complex to find and fix.

      Re-spawning crashed services is of critical importance on servers, and SysV is so poorly designed that it can't be made to do it.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    20. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 0

      A different AC here.

      It is not portable. Sysvinit, is portable and extremely procedural and easy to understand.

      What the fuck drugs are you on, man? SysV init scripts are precisely as portable as systemd config files: both will only work on a UNIX which uses that system for managing initialization. This is the dumbest objection to systemd I have ever seen, and considering that replacements for SysV init seem to bring out teh stoopid in droves, that's saying something.

      It's also easy to kludge if you wish to do something very non-standard.

      Name one valuable kludge you cannot do in a replacement for sysV init that you can do in sysV init.

      I'm just not sure what systemd and others intend to fix?

      The shitty design, the lack of dependency graph analysis so you can start services in parallel, demand-driven service startup, missing features, on and on.

      I mean, look. I'm not even a systemd user. I'm a launchd user, because I use Macs. We got launchd like six or seven years ago. You want to know something? The very first OS X release which shipped with launchd had noticeably faster boot times than the outgoing release, and it just kept getting better in every release afterwards as they converted the rest of the system (launchd supports legacy methods and Apple didn't convert everything in one step). And despite being an extremely technical user I have never even needed to learn how launchd works, because it Just Fucking Works, Man. Can't say the same for SysV init: I have actually had to hack on it while trying to accomplish things that are trivial in OS X. Why? Only because (as a pile of dozens of shell scripts inevitably must be) it's a house of cards.

      Hearing idiots like you rave and whine about superior systems take away your preciousss SysV init is amazing. I mean, it's the open source world so I'm sure one of or both launchd and upstart are screwed up in some way, but to act as if you are losing anything real by ditching SysV init, one of the most obviously shitty bits of legacy UNIX design? Wow.

    21. Re:sysvinit is dead; long live sysvinit!!! by ale2011 · · Score: 1

      I recall MySQL having a wrapper that used to take care of this. I agree respawning is critical, but so is debugging and fixing. There is a "respawn" option, which one can use in inittab. Normally, it is only used to fire up console terminals, as that affects the system accessibility itself. For other critical services, one can choose among wrappers, cron jobs, monitoring via syslog or SNMP, inter-process communication, and more. Do you argue we should stop using such techniques and go for a one-size-fits-all, infallible system? It sounds rather chimerical...

    22. Re:sysvinit is dead; long live sysvinit!!! by evilviper · · Score: 1

      I recall MySQL having a wrapper that used to take care of this

      Did they name it "daemontools"?

      There is a "respawn" option, which one can use in inittab.

      You would never use inittab to start services, and inittab doesn't even exist anymore.

      For other critical services, one can choose among wrappers, cron jobs, monitoring via syslog or SNMP, inter-process communication, and more. Do you argue we should stop using such techniques and go for a one-size-fits-all, infallible system?

      Writing a second cron-job to respawn your service is a laborious mess, with unnecessary overhead. SNMP or other monitoring is what we've been reduced to, but who the hell wants to pay for around-the-clock employees, or get paged in the middle of the night, just because a few services might need to be restarted? And let's not forget, CROND CRASHES, TOO. What's monitoring cron and keeping it running?

      Do you argue we should stop using such techniques and go for a one-size-fits-all, infallible system?

      Yes, we should stop using such *hacks*, and get an init replacement that will start services properly, and keep them running. It's not a complex concept. Windows NT has been doing that since inception, and Linux is seriously missing out. It won't eliminate the utility of SNMP, cron, etc., but they will see less abuse.

      If you'd like to start hacking on init... more power to you. Get it to monitor and respawn services in a sane way, and yours can be a competitor right up there with upstart and systemd.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    23. Re:sysvinit is dead; long live sysvinit!!! by ale2011 · · Score: 1

      I recall MySQL having a wrapper that used to take care of this

      Did they name it "daemontools"?

      It's called mysqld_safe. You may consider it a hack, but it has some features, such as checking for corrupted storage, that would be completely useless for, say, a read-only web server.

      There is a "respawn" option, which one can use in inittab.

      You would never use inittab to start services, and inittab doesn't even exist anymore.

      inittab is an integral part of SysV, AFAIK. I hope they'll both continue to exist.

      Writing a second cron-job to respawn your service is a laborious mess, with unnecessary overhead. SNMP or other monitoring is what we've been reduced to, but who the hell wants to pay for around-the-clock employees, or get paged in the middle of the night, just because a few services might need to be restarted? And let's not forget, CROND CRASHES, TOO. What's monitoring cron and keeping it running?

      Of course, one builds on the groundwork that has been laid before. Unless you're modifying crond itself, you have a pretty reliable, fully debugged daemon that you can depend upon. Reusing stuff that works well has proved to be a winning *nix philosophy.

      I admit that writing a daemon has its nuisances, such as becoming session leader, or detaching from terminal, which may sound esoteric. But they are just initialization trivia. By comparison, a Windows service needs a dedicated thread for the sole purpose of keeping a conversation with the service manager, so that the latter can pass the buck to the former for estimating how long is the service taking to start or stop. All that complication and additional failure points are not aimed at increasing the system reliability, but at providing a uniform graphical interface. Such interface can presumably fool unexperienced users into thinking that the system is overall more sound.

      As a matter of fact, Windows is more unstable and requires many more reboots than Linux. I don't think Debian should strive to resemble Windows NT more closely. The area where Windows definitely beats Linux is marketing, not software development. That is the reason why Windows boxes are many more than any other server or desktop system. If you really think Windows is technically better, you should use that instead of Linux until you are sure that your opinion was wrong.

    24. Re:sysvinit is dead; long live sysvinit!!! by Anonymous Coward · · Score: 0

      Did you really need to make your point with a homophobic slur?

    25. Re:sysvinit is dead; long live sysvinit!!! by evilviper · · Score: 1

      inittab is an integral part of SysV, AFAIK. I hope they'll both continue to exist.

      $ cat /etc/inittab
      # inittab is only used by upstart for the default runlevel.
      # ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
      id:5:initdefault:
      $ cat /etc/redhat-release
      CentOS release 6.4 (Final)
      $

      As a matter of fact, Windows is more unstable and requires many more reboots than Linux. I don't think Debian should strive to resemble Windows NT more closely.

      I didn't suggesting copying Windows NT wholesale, I'm merely pointing out that SysV was obsolete at least two DECADES ago. And this inferior system you're so quick to dismiss, has some extremely useful features, completely lacking in Linux, BSD, and it's all the fault of SysV.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  11. Really? by prefec2 · · Score: 3, Interesting

    This is your way of stating your opinion? Looks, like your parents forgot to teach you something particular important to be considered an adult and able to participate in a discussion. You could say that you disagree with Canonicals decision towards Wayland/Weston. You could say that the way they handled the issue and announced Mir sucks and was not a cooperative mode. In addition they made some bad blood. And that all would sound like someone really discussing the issue, but really you just sound like someone either too young to remember the vi vs. emacs wars or like someone exhumed from that day, just to behave like a troll.

    BTW: Get a life, normally that reduced these urges to hate someone just because you find his or her decision questionable.

    1. Re:Really? by jedidiah · · Score: 3, Interesting

      It's far too easy to shoot yourself in the foot with upstart. It is much more complicated. In it's efforts to solve a non-problem (namely making a machine boot faster) it tries to do things in parallel and creates a web of dependencies that can render your system unbootable.

      It adds extra complexity for dubious gain.

      It's the perfect example of why we shouldn't necessarily accept the advice of "helpful types" that think that things should be done the way that Microsoft does it or the way Apple does it.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    2. Re:Really? by sI4shd0rk · · Score: 0

      Looks, like your parents forgot to teach you something particular important to be considered an adult and able to participate in a discussion.

      Looks, like your parents forgot to teach you something particular important to be considered an adult and able to participate in a discussion. You said something in a way I don't like, so you're not a True Adult.

      --
      Ignorance is a choice
    3. Re:Really? by jones_supa · · Score: 1

      To me it seems the Slashdot hive mind is starting to teach everyone to robotically hate Canonical.

    4. Re:Really? by Anonymous Coward · · Score: 1

      so you're not a True Adult.

      One thing I learned growing up... There are no true adults! (Scotsmen either, for that matter..)

    5. Re:Really? by interval1066 · · Score: 2

      Say what you want, I didn't need any help hating Unity.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    6. Re:Really? by Dishevel · · Score: 0
      Fuck vi, Fuck vi, Fuck vi, Fuck vi, Fuck vi!

      Fuck emacs, Fuck emacs, Fuck emacs, Fuck emacs, Fuck emacs!

      Pico is the only way forward. :)

      --
      Why is it so hard to only have politicians for a few years, then have them go away?
    7. Re:Really? by epyT-R · · Score: 1

      fuck pico, nano is where it's at!

    8. Re:Really? by Bill,+Shooter+of+Bul · · Score: 1

      It *shouldn't* matter how long it takes your server to boot, but it really could be critical in the event of an outage. In any case systemD solves more problems than optimising boot times.

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    9. Re:Really? by Anonymous Coward · · Score: 1

      joe (Joe's Own Editor) has the ease of use of pico and nano, and the pedigree of vi and emacs.

    10. Re:Really? by rubycodez · · Score: 1

      phillistines. ms-dos edit and then dos2unix when done

    11. Re:Really? by msobkow · · Score: 1

      Funny.

      My system boots much faster under Debian than it did with Ubuntu 13.04.

      --
      I do not fail; I succeed at finding out what does not work.
    12. Re:Really? by Kjella · · Score: 1

      In it's efforts to solve a non-problem (namely making a machine boot faster)

      To many people it's a non-problem because they hardly ever reboot their machine or they expect a redundant fail-over cluster to take over. For a lot of people boot time matters, even if it doesn't for you.

      --
      Live today, because you never know what tomorrow brings
    13. Re: Really? by F.Ultra · · Score: 1

      Faster boot might be one of the advantages of Upstart but it's not the main reason for it's existence. The main idea behind Upstart is to monitor and respawn daemons that hangs/segfaults.

    14. Re: Really? by Anonymous Coward · · Score: 0

      Systemd, just like pulseaudio, solved non-problems. The biggest problem solved in my opinion was Potterings inability to understand how what we had worked so he reinvented the wheel and shaped it like an octagon... Similar ffrom a distance but with a lot of unnecessary bumpy bits.

    15. Re:Really? by MightyMartian · · Score: 1

      I'm through being polite about Canonical. Ubuntu had its place, but now it's been supplanted. Frankly, I wish they wouldn't have a voice on Debian at all. Let them fork and do their own thing.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    16. Re: Really? by HiThere · · Score: 1

      Yiii! You aren't serious are you? That's a truly abhorrent idea. If a daemon is segfaulting, I don't want to restart it, I want to hear about it. I'll probably decide to NEVER run it.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    17. Re:Really? by nightsky30 · · Score: 1

      fuck pico, nano is where it's at!

      nano FTW!!! :) I actually use vi on a somewhat regular basis when I don't have access to nano. I don't really have anything against the other editors, but nano just makes quick changes easier by a few key strokes.

    18. Re:Really? by Anonymous Coward · · Score: 0

      Must hate canonical... must hate canonical...

    19. Re:Really? by epyT-R · · Score: 1

      I use vi(m) regularly, but nano comes on most distros' install images, so I use that when no vi(m) is available.

    20. Re:Really? by swilly · · Score: 1

      EDIT.COM is bloated and inefficient. I'll stick with EDLINE thank you very much.

    21. Re:Really? by Anonymous Coward · · Score: 0

      phillistines. ms-dos edit and then dos2unix when done

      Have I ever told anyone the story about the dickhead PhD student who was given a Sun workstation to administer?
      When presented with the monumental task of adding a new user, he decided that rather than learn vi (too much for his brain to cope with man, way too much), he just copied the password file to a PC, edited it in Word, saved it back (in doc format, naturally) copied it back up to the Sun..
      I nearly literally pissed myself laughing when I discovered why no-one could log in to that particular machine (and it took them a couple of days to contact me about it, needless to say, it wasn't this wunderkind who got me to look at the problem).

    22. Re:Really? by goose-incarnated · · Score: 1

      EDLIN is for noobs who never learned to use the computer ... COPY CON FILENAME is where it's at, baby!!!

      --
      I'm a minority race. Save your vitriol for white people.
    23. Re:Really? by Anonymous Coward · · Score: 0

      ...In binary using only zeros.

    24. Re: Really? by Wheely · · Score: 1

      Never heard of init?

    25. Re: Really? by F.Ultra · · Score: 0

      Depends, there's quite a lot of things called init :-)

    26. Re: Really? by F.Ultra · · Score: 1

      So if say apache dies due to OOM or simply a segfault you would rather get a mail and have your site down until you can put it up manually? You can see no benefit of daemon respawning ever? And who said that you couldn't be notified?

    27. Re: Really? by F.Ultra · · Score: 1

      ok, that link went wrong for some reason... Anyways, It turns out that I was wrong. The _main_ reason for Upstart was to make the starting of daemons event-based:

      3.1.2.3 Upstart's Design: Why It Is Revolutionary

      It was necessary to outline the limitations of the SysV and dependency-based init systems to appreciate why Upstart is special...

      Upstart is revolutionary as it recognises and was designed specifically for a dynamic system. It handles asynchronicity by emitting events. This too is revolutionary.

      Upstart emits "events" which services can register an interest in. When an event -- or combination of events -- is emitted that satisfies some service's requirements, Upstart will automatically start or stop that service. If multiple jobs have the same "start on" condition, Upstart will start those jobs ''in parallel''. To be manifest: Upstart handles starting the "dependent" services itself - this is not handled by the service file itself as it is with dependency-based systems.

      Further, Upstart is being guided by the ultimate arbiter of hardware devices: the kernel.

      In essence, Upstart is an event engine: it creates events, handles the consequences of those events being emitted and starts and stops processes as required. Like the best Unix software, it does this job very well. It is efficient, fast, flexible and reliable. It makes use of "helper" daemons (such as the upstart-udev-bridge and the upstart-socket-bridge) to inject new types of events into the system and react to these events. This design is sensible and clean: the init system itself must not be compromised since if it fails, the kernel panics. Therefore, any functionality which is not considered "core" functionality is farmed out to other daemons.

    28. Re: Really? by undefinedreference · · Score: 1

      I actually like upstart for my simple daemons on embedded systems. Why? I'd need to craft my own init scripts anyway, so I might as well use something that handles this effectively without also loading/running DJB's daemontools.

    29. Re:Really? by undefinedreference · · Score: 1

      I prefer vi(m), but drop to nano when a machine doesn't have it (which is rare, but common enough to be annoying).

      Of course, if I have root and I'm working on more than a few small edits, you'd better believe there'll be vim on there before I log out.

    30. Re:Really? by undefinedreference · · Score: 1

      What replaced Ubuntu? It's still wildly popular.

  12. WWBD? by unixisc · · Score: 1

    What would the BSDs do? Actually, what do the BSDs use? And since Debian does kFreeBSD as well, will they use Upstart or Systemd here as well? What will they do for their HURD version? Same for all 3, or pick according to the OS?

    1. Re:WWBD? by Anonymous Coward · · Score: 0

      http://www.freebsd.org/cgi/man.cgi?query=init&apropos=0&sektion=0&manpath=FreeBSD+9.2-RELEASE&arch=default&format=html

    2. Re:WWBD? by Anonymous Coward · · Score: 1

      Nonono, you're saying it wrong. It's "GNU/Debian/kFreeBSD". And it's debians' very special contribution to the *BSD world, for it pairs their very special sauce with a FreeBSD kernel. Nevermind that all the *BSDs come with a userland, that has to be GNU, and nevermind their own packaging solutions, it has to be debian. So, given that you can't really separate *BSD kernel and userland, and debian does it anyway, what would you expect them to be using to initialise the system, hm?

      The *BSDs, by the by, have their own system, with startup scripts in /etc/rc.d (and /usr/local/etc/rc.d), that are governed by variables set in /etc/rc.conf. So, if you'd like sshd enabled, you add sshd_enable=YES in /etc/rc.conf; you can also find network configuration (say, ifconfig_fxp0="DHCP", or ifconfig_em0="192.168.1.2/24"; network interfaces happen to be named for their driver), and some other settings in there.

    3. Re:WWBD? by unixisc · · Score: 1

      Yeah, I never understood the whole idea of putting GNU on top of FBSD. It would have been useful had Debian ported things like Apt Get to FBSD, but here, they want the whole userland. Is the FBSD kernel that much better than Linux? Debian might have had a point had they done something like Debian GNU/Minix, where they put GNU userland on top of the Minix microkernel. A case where the userland doesn't exist, like in Linux. An even better project for Debian could have been a non-GNU userland for Linux.

      But thanks for explaining the /etc/rc.d solutions. So another reason to prefer BSD

    4. Re:WWBD? by userw014 · · Score: 1
      Why would FreeBSD change from their existing system?
      • "/etc/rc.conf" - to set enable/disable/config variables.
      • "/etc/defaults/rc.conf" - for defaults and documentation of base system services
      • "/etc/rc.d", "/usr/local/etc/rc.d", etc. for the scripts
        • "/bin/rc.order" that builds a dependency graph of services based on comments in the scripts.

        None of the nonsense of run levels and fixed numerical ordering as in the old SysVinit scheme.
        The init scripts can be simple or complex, use shared "sh" source files (or not.)
        Since the system already builds a dependency tree of services to start, it ought to be (relatively) possible to run init scripts in parallel - if the dependencies are laid out right.

    5. Re:WWBD? by Lemming+Mark · · Score: 2

      I've heard tempting-sounding things about Debian kFreeBSD, actually - aside from anything else, BSD has a port of ZFS. So if you want something with a familiar userland (GNU utilies, Debian package management, loads of packages available) it does look quite appealing. I'm not sure how common it is to use ZFS under FreeBSD so far, though.

      Also, there are Solaris distros out there, which is potentially another way to get the same effect. Nexenta started as one, though I remember them switching more to focus on server stuff since then...

    6. Re:WWBD? by Anonymous Coward · · Score: 0

      It was a test run for Debian/HURD. By using a kernel that actually exists and works, they know that anything that doesn't work is their fault.

    7. Re:WWBD? by mirix · · Score: 1

      In OpenBSD at least, editing /etc/rc.conf shouldn't happen (as it gets nuked on upgrades). /etc/rc.conf.local contains your overrides to rc.conf.

      Then things that aren't part of the system you want to start go in /etc/rc.local. The networking stuff is also split into separate files, one per interface, one for the gateway, etc.

      I have no experience this decade with other BSDs, so I don't know if any others do this too.

      --
      Sent from my PDP-11
  13. systemd - bad & getting worse by Anonymous Coward · · Score: 3, Interesting

    I used to not only use RedHat, but contributed fixes. Ubuntu is not, in many respects, my ideal, but systemd is enough reason all by itself for me to use Ubuntu.

  14. Go home Debian, you're obviously drunk by sl4shd0rk · · Score: 3, Interesting

    SysV init scripts just work. They are simple to create and easy to maintain. Debugging is a cinch when things go wrong -- and a lot of packages DO NOT get upstart init, nor SysV init correct. Upstart is only easier in theory. In practice it's made a complete mess of things and I have several Ubuntu systems to prove it.

    --
    Join the Slashcott! Feb 10 thru Feb 17!
    1. Re:Go home Debian, you're obviously drunk by Rich0 · · Score: 5, Interesting

      The problem with sysvinit is that 95% of daemons just need a common set of actions to start/stop them, and sysvinit tend to handle this by writing bash scripts starting from a skeleton.

      So maybe for one daemon you can set a config setting to make it use ionice, and for another you can't, simply because in one script a bit of extra functionality was written.

      For the most part systemd makes a config file into a config file, not an executable. Sure, you can run a script if you have to, but 99% of the time you don't need to.

      In fact, there is no reason you couldn't write a sysvinit script that takes in a systemd unit as a config file and starts/stops the corresponding service. That would be a great way to transition - switch your bash scripts to unit files gradually and then swap out the init system.

    2. Re:Go home Debian, you're obviously drunk by jedidiah · · Score: 1

      Anyone trying to tell you that Upstart is easier is simply lying to you.

      Upstart is more complex by design.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    3. Re:Go home Debian, you're obviously drunk by Anonymous Coward · · Score: 1

      The one and only problem that can't be solved with shell init scripts is that PID files are fundamentally broken. There's an irresolvable race condition between checking for a PID and shooting down an existing (or non-existent) process. This is problematic because the PID space is usually 15-bits wide, and so there's a significant chance of killing the wrong process, especially on beefy systems with lots of churn. There are ways to minimize this by using flock or lockf (which one you use is by preference, and you use them slightly differently), but the vast majority of engineers don't know how to do this properly, and they certainly can be implement as a shell script--if you argue otherwise than you have no idea what I'm talking about).

      But neither systemd nor upstart solve this. They simply move daemon management under their umbrella. But in the process they make it impossible for non-root users to run daemons. They're crappy solutions in that they're not generalizable system facilities.

      What needs to happen is that somebody needs to create an alternative to 15-bit PIDs. A simple, guaranteed safe way to obtain an identifier to a process, existent or deceased, that is a kernel service and that everybody can use, regardless of permissions. This facility needs to be simple enough and uncontroversial enough that all FOSS systems adopt it, including Linux, *BSDs, OS X, etc.

      It can be done.

    4. Re:Go home Debian, you're obviously drunk by Anonymous Coward · · Score: 0

      Certainly CANNOT be implemented by shell scripts, I meant! Only from C code.

      Also, the obvious solution of making pid_t long long is unworkable because I've never seen a piece of code that expected pid_t to be any wider than int. This is especially problematic in printf statements. OpenBSD and NetBSD were able to change the width of time_t recently (so that even 32-bit systems won't overflow in 2031), but changing pid_t would be exponentially more problematic.

    5. Re:Go home Debian, you're obviously drunk by whois · · Score: 4, Interesting

      Debian has a habit of not using things until they work. I expect they would fix most of the issues or they wouldn't ship it.

    6. Re:Go home Debian, you're obviously drunk by Anonymous Coward · · Score: 0

      SysV init scripts work because a lot of package maintainers for the various distros put in effort to make them work. In systemd the config can be written and maintained by the upstream project, that is a lot of package maintainer effort that can be put in to other things.

    7. Re:Go home Debian, you're obviously drunk by Wheely · · Score: 1

      Who in their right minds ever relies on a PID file? I never have in nearly thirty years.

    8. Re:Go home Debian, you're obviously drunk by Electricity+Likes+Me · · Score: 1

      The underlying complexity of upstart has no bearing on whether or not it's "easier".

      I love Upstart - SysVinit might "work" but that's for some definition of "work". Its very difficult to tune it, it's difficult to figure out how it's meant to function, and it is utterly obtuse at managing dependencies.

      Upstart solves that in an excellent way: I write upstart conf file, and set it's start conditions. Upstart does the rest automatically. It's not completely perfect yet (for example, I'd really like to see some system to add machine-specific modifiers to upstart "start on" stanzas to ease when you have a non-standard filesystem layout or the like) but it's a heck of an improvement that's very easy to comprehend. The "cruft" is the left over need to support SysV init.

    9. Re:Go home Debian, you're obviously drunk by Electricity+Likes+Me · · Score: 1

      Upstart has had support for user upstart conf files for a long time now - Ubuntu keeps it disabled by default at the moment.

    10. Re:Go home Debian, you're obviously drunk by Gothmolly · · Score: 1

      But for all that work, why switch, when the current setup works fine?

      --
      I want to delete my account but Slashdot doesn't allow it.
    11. Re:Go home Debian, you're obviously drunk by Anonymous Coward · · Score: 0

      But for all that work, why switch, when the current setup works fine?

      Define "works fine" and "scope of work" first. The reason for upstart and systemd is that given the *actual* scope, the current setup does *not* work fine.

    12. Re:Go home Debian, you're obviously drunk by ale2011 · · Score: 1

      Those SysV difficulties and obtusity are due to the fact that it does as it's told, without trying to interpret or guess. That's what makes it reliable.

      I agree that is not ideal for users who do not want to know how their system works under the hood. They need some sort of automated sysadmin that solves issues correctly most of the times, and will have to relay on a repair shop for the remaining cases. How came those two different things have been conflated and considered as alternatives to one another?

    13. Re:Go home Debian, you're obviously drunk by ale2011 · · Score: 1

      Debian has a habit of not using things until they work. I expect they would fix most of the issues or they wouldn't ship it.

      You mean they used to have such habit. IME, upgrading to wheezy broke so much stuff that it took weeks to recover (partially). Most failures originated because the dependencies implied by the renumbering of rc.d scripts were wrong. That renumbering is non-working, non-maintainable, non-adjustable, non-human. The time saved by parallel start, if any, is dwarfed by the time needed to figure out what went on during boot.

    14. Re:Go home Debian, you're obviously drunk by Electricity+Likes+Me · · Score: 1

      Reliable? If you're changing the system I would expect Upstart to do a lot better job with SysV init. Otherwise on a static system where you don't change the configuration, everything is reliable (except perhaps SystemD, which still seems to crash - never had it happen with Upstart).

      The world we live is one where we have to change things usually frequently - a system which adds a sensible way to ignore the specifics of other scripts in the boot process is a good one because at the end of the day the worst case scenario is no more difficult to comprehend then SysV-init to start with - Upstart's verbose output is quite comprehendable.

    15. Re:Go home Debian, you're obviously drunk by ale2011 · · Score: 1

      Hm... the key is defining such "sensible way to ignore the specifics of other scripts". Stated that way, it would seem that operators can choose what they want to ignore and what they want to deal with. Those who operate static systems are badly affected by the arbitrary changes that parallel start introduces in the order that init scripts are run, so not everything is reliable when incompatible changes come through. Couldn't it have been done smoothly?

  15. I've got OpenRC installed... by Anonymous Coward · · Score: 5, Interesting

    On a Gentoo box, and it should still be starting via sysvinit.

    My #1 reason for keeping it installed is standardization:
    All the BSDs use a similiar system, all the legacy UNIXes do as well, as do all my linux installs that are more than 2 years old.

    Additionally I have had *NO* problems with it in like 15 years that weren't caused by user error, or distro error. Systemd on the other hand rendered my system hung or inoperable on more than a few occasions when it first became popular, as has udev by itself. There's something to be said for 'windows-like' functionality, but all the subsystems that have been getting added to linux to provide it are proving messy, unmaintainable, and even more prone to 'unidirectional grading' (it used to be you could have both newer and older kernels, even across major versions running. Nowadays you're lucky if the minor versions don't break things over the span of two months. Anyone here remember having 1.2 installs running 2.0? Or 2.0 with a 2.2 kernel? Or 2.2/2.4? The only major issues you had were if you used ipchains/tables/ipfwadm and had to migrate your settings. And there was almost always legacy support for most or all of a major version change.)

    Honestly with the way linux is going nowadays, as well as the various *BSDs, I'm considering very strongly migrating to another platform. If you change what people are used to too much, there's far far FAR less incentive for them not to try something totally new rather than bungling themselves up with half remembered details about how their *FORMER* version of the system operates. Much like happened with WinXP/Vista/7/8.)

    Not that many people will agree with this assessment.

    1. Re:I've got OpenRC installed... by 0123456 · · Score: 1

      Not that many people will agree with this assessment.

      No, I've been thinking that too. The more they try to make Linux like Windows, the less reason there is not to consider other operating systems.

      It's certainly true that making startup work reliably with init scripts can be hard: service foo has to start after service bar, which can only start after the network is up, or whatever. But none of the alternatives seem appealing yet.

    2. Re:I've got OpenRC installed... by hson · · Score: 3, Informative

      IMHO NetBSD's rc-system works really well here (Used by FreeBSD nowadays too).
      Simple and effective - and no symlinks all over the place like in SysV. It automagically orders services. If foo needs bar bar is started before foo.
      And I see now that it is what OpenRC is... or atleast was.

    3. Re:I've got OpenRC installed... by HiThere · · Score: 1

      Well, *I* agree with it, though my alternatives are limited due to license issues. (I won't agree to either the MS or the Apple EULAs.) And you seem to be saying that *BSD is no solution.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    4. Re:I've got OpenRC installed... by unixisc · · Score: 1

      I guess one could try Minix

  16. Re:Uh... by duke_cheetah2003 · · Score: 1

    That sounds retarded. Why would anyone wanna change to that? It's all one command currently (in Debian, which I've used for years), update-rc.d with simple params and done?

  17. too much wheel reinvention by eneville · · Score: 0

    What is it with all these different ways of doing the same thing, it takes the TIMTODI idea and stretches it somewhat. Solaris has SMF, RH has systemd, Ubuntu has upstart, DOS has autoexec.bat, can't we just agree on one thing, init.d is a happy middle ground for me.

    1. Re:too much wheel reinvention by jythie · · Score: 2

      Reinventing the wheel is how you put your collective mark on things. Programmers like writing things, and there is a natural desire to write rather then use, and a warm fuzzy feeling when other people use what you have written.

      There is an old saying, "Standard is better then the best solution", but programmers and engineers have a natural desire to build better solutions, even when it is not such a good idea.

      That is not to say everything must remain static, and it is fair to say there are some functional shortcomings of the old system (esp in terms of dependencies), but I suspect that pragmatism aside, said desire to fix things is a pretty big factor here, esp for people working in niche domains with disproportionate representation or people in dominant domains who have trouble seeing past their own community's needs (the embedded community frequently ends up on the wrong side of that issue).

    2. Re:too much wheel reinvention by eneville · · Score: 1

      Reinventing the wheel is how you put your collective mark on things. Programmers like writing things, and there is a natural desire to write rather then use, and a warm fuzzy feeling when other people use what you have written.

      The whole unix way is to reuse, http://catb.org/esr/writings/unix-koans/ten-thousand.html comes to mind.

    3. Re:too much wheel reinvention by Anonymous Coward · · Score: 0

      Nice story.

      But neither systemd nor upstart are "better solutions".

      Having a single rc.init script that "just does it" is a better solution, that many embedded systems and my own desktop use.

      Having megabytes of source code to do something as simple as "run these programs in order", or even "run these programs in ordered groups of concurrency" is not better.

  18. Where to send hatemail? by duke_cheetah2003 · · Score: 2

    This sounds like a really awful idea, based on what I've read here. I like how Debian's init works now, its fine, there's nothing wrong with and it's simple.

    Where the heck do I send hatemail to perhaps encourage them not to do this?

  19. "the Canonical bias present on the committee" by shallot · · Score: 3, Insightful

    Citation needed, anonymous. When has the Debian Technical Committee last made a decision based on a political bias?

    1. Re:"the Canonical bias present on the committee" by Bacon+Bits · · Score: 1

      It's Debian. You know, the distro that prides itself and defines itself on not including any non-open source code in it's repositories. Debian is a political statement.

      --
      The road to tyranny has always been paved with claims of necessity.
    2. Re:"the Canonical bias present on the committee" by Bacon+Bits · · Score: 1

      For a specific example:

      IceWeasel.

      --
      The road to tyranny has always been paved with claims of necessity.
    3. Re:"the Canonical bias present on the committee" by Anonymous Coward · · Score: 0

      That's bullshit. Debian have non-free respositories. The user is allowed to choose whether they want pure OSS or a mixed bag.

    4. Re:"the Canonical bias present on the committee" by kthreadd · · Score: 3, Informative

      What do you mean by Iceweasel? That name change came because Mozilla actively asked Debian to do it, so they did.

    5. Re:"the Canonical bias present on the committee" by Anonymous Coward · · Score: 0

      Citation needed, anonymous.

      When has the Debian Technical Committee last made a decision based on a political bias?

      probably referring to this: http://www.phoronix.com/scan.php?page=news_item&px=MTQ5NzQ

      It explains why the group is biased. It has canonical people inside and one is already a known hater of systemd...

    6. Re:"the Canonical bias present on the committee" by kthreadd · · Score: 1

      In particular if they want a DFSG compliant system or not. Some "free" packages such as gcc-doc for example are in non-free because their license do not qualify for DFSG compliance.

    7. Re:"the Canonical bias present on the committee" by Anonymous Coward · · Score: 0

      If there is a Canonical bias on Debian technical committee, that's alarming news. Debian is the corner stone of GNU/Linux distros, they must make really, really sound decisions. Generally they do but I'm sure nobody can ever forget the scary and massive OpenSSL random number generator fuckup. This bit certainly is the news here, inits aside.

    8. Re:"the Canonical bias present on the committee" by Anonymous Coward · · Score: 0

      > I'm sure nobody can ever forget the scary and massive OpenSSL
      > random number generator fuckup.

      The debian maintainer asked the upstream OpenSSL authors about the change
      and the upstream authors said all was kosher. It turns out it wasn't. The
      debian project gets the blame for it, but I'm not sure what else you want
      from them, they sought advice and got it. Would you rather they didn't
      seek that advice or ignore the advice of the upstream authors who should
      (in theory) be in a better position to evaluate the patch?

      Where's the bad decision or process on Debian's behalf? In touching
      the upstream code at all? The debian package ecosystem pretty much requires
      that most packages will have to be 'debianized' to play well with each
      other, so cosmetic (not deep) patching is pretty standard and expected.

    9. Re:"the Canonical bias present on the committee" by HiThere · · Score: 1

      It's quite rare that a group of humans make a decision that isn't influenced by political bias. To claim that they will be unbiased is the position that needs to be defended by a citation.

      That said, I don' t know the composition of this particular committee, and I don't know WHAT political bias they would have. Perhaps the assertion that they are biased in favor of Ubuntu might need to be defended by a citation.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    10. Re:"the Canonical bias present on the committee" by Bacon+Bits · · Score: 1

      No, Debian was changing trademarked material in Thunderbird. Mozilla asked Debian to comply with Mozilla's trademark policies. Debian decided to just fork the package (and Firefox and SeaMonkey) instead, meaning they had to abandon everything covered by Mozilla's trademarks.

      --
      The road to tyranny has always been paved with claims of necessity.
  20. Finally! by cpicon92 · · Score: 4, Interesting

    It seems like I'm the only person on here who thinks this, but I really can't wait for the switch to happen. Upstart scripts are unbelievably easy to write when compared with init scripts. For one thing, they don't require massive amounts of boilerplate code. For another, they are relatively easy to manage and execute.

    Just the other day I was trying to set up a couple of machines running deluge as a daemon. The Ubuntu machines took me 10 minutes tops. The remaining debian one had me in init script hell for an hour or more...

    1. Re:Finally! by Anonymous Coward · · Score: 0

      Yea who would want flexibility? Pretty much every sysvinit system has tons of templating and macros to make it easy. They can be as complex or as simple as you want. Upstart shoe-horns you into some fairly bad practices.

    2. Re:Finally! by Anonymous Coward · · Score: 0

      ... reference needed?

      sysv init scripts aren't that complicated. they're only complicated if you want them to be complicated. Plenty of debian sysvinit scripts are complicated far beyond what they need to be.

      So, examples please.

    3. Re:Finally! by multipartmixed · · Score: 1

      Massive amounts of boilerplate code?

      I guess we've been using different SVR4 variants. I just use a case statement to test the first argument...

      My beef with upstart et al is that they disable, instead of deprecating, old init. That means now I have to maintain at least three sets of scripts instead of two (sysv, bsd) for software distribution.

      And what the hell was wrong with inittab? Let's see, it's succinct, works, and is fully debugged.

      --

      Do daemons dream of electric sleep()?
    4. Re:Finally! by cpicon92 · · Score: 1

      I suppose that's what I meant. The scripts that ship with debian by default are far more difficult to comprehend than upstart scripts. I suppose if all you do is check the first argument and then start the executable then sysvinit is just as easy. The problem is that usually the scripts are supposed to do way more than that, things that upstart takes care of.

    5. Re:Finally! by Cramer · · Score: 1

      Bullshit. If you have trouble writing an init script, you clearly don't know how to write a shell script.

      Templating aside, all the script has to handle is "start" and "stop" (and "restart" which is stop()&&start() ) All distros have their lame bloat bolted on to the init system -- the header comments to tell what it is, what it requires, etc. so the "makefile" BS can create an order and start things in parallel (the very definition of bloat.) In debian, it's simple to make an init script the tools will accept without bitching.

      What's next? The OpenSolaris windows-like registry system (which despite the marketing BS, still uses shell scripts. They aren't in /etc 'tho)

    6. Re:Finally! by Anonymous Coward · · Score: 1

      And what the hell was wrong with inittab? Let's see, it's succinct, works, and is fully debugged.

      While I agree with the thrust of your point, I can point to one weakness of inittab. One can have a device capable of running getty on a serial device. If you have dynamic serial devices (USB to serial converters) one might want to run getty when one of those is plugged it, unfortunately this requires you to modify inittab when the hardware changes. I'd be inclined to solve this particular case by allowing inittab to include other files into it, but that isn't possible at the moment.

    7. Re:Finally! by brantondaveperson · · Score: 1

      They can be as complex or as simple as you want

      Which, it seems to me, is a problem. Far better a system that cannot be any more complex than some threshold, and you work within it. We're only talking about launching processes and worrying about their dependant processes. How is that such a huge problem?

      (this is just to get someone to jump in here and explain, because I'd sure like to find out).

      Also, OSX uses Launchd, which seems like a great solution to me, and doesn't seem all that complex.

  21. reinventing the wheel by Anonymous Coward · · Score: 1

    sysvinit isn't a bad idea, but, IMO, it's too complicated. But obviously I'm biased, since I like the *BSD's rc system.

    The thing that gets me with linux is that narely a look is spared to what exists already. It obviously isn't good enough, for reinventions are calling out in dire need of getting reinvented. And so there are at least two, but possibly as much as half a dozen contenders, all different, none of them compatible with what was, what is, or what shall be. Because it's the linux way.

    Troll, me? Possibly. But what if it's true? Bring on the downvotes anyway. You know you want to.

    1. Re:reinventing the wheel by Cramer · · Score: 1

      I used to be in the same camp. But the ability to "/etc/init.d/foo start" and "/etc/init.d/foo stop" won me over quickly. However, today's SysVinit systems have been poked and twisted into huge, horrible, complex systems. Basically, people making problems to (not) solve.

      Today, I look at the "one script to start them all" BSD way as primative. Simple and effective, but very primative.

  22. Re:Uh... by Chemisor · · Score: 5, Interesting

    That sounds retarded. Why would anyone wanna change to that?

    We want to change to "that" because basic idea is a good one. The ability to start services in parallel, socket activation, and cgroups for process group management are all good things. The problem with systemd is not so much these ideas, but the implementation. To put it bluntly, the developers are all "superstar" jerks who wouldn't know usability if it hit them over the head.

    They designed an ugly interface with way too much automatic magic that no doubt is perfectly obvious and correct to them, but abstruse and incomprehensible to anybody outside their little circle. Then they wrote a couple of "howto" articles on complex sysadmin tasks that almost nobody has to do, and declared documentation complete. To do a simple task, like writing a service file, or God forbid, changing the getty program you want to use, requires a monumental effort of sifting through disconnected, unintuitively named man pages.

    systemd: good idea, horrible implementation.

  23. Upstart by intangible · · Score: 4, Insightful

    So upstart has some things that need to be fixed (mostly the clean shutdown thing)...
    Systemd is a monster that gets to infect more of you packages over time, plus you get the benefit of binary log files!

    I hope they choose upstart and just fix it up a bit.

    OpenRC has been proposed by some too, which seems like a nice sysvinit replacement, but event driven startup and shutdown of services (think laptops and hotswap stuff) is more important than just a fast startup time.

    1. Re:Upstart by gmueckl · · Score: 1

      I honestly wonder what the systemd developers were thinking when they turned it into a feature-creep laden mountain of mostly annoying features which slowly takes over the system from you. The way it seems to force itself into other things in the system (e.g. by way of systemd-specific modifications in daemons and such) just should have set off a lot of software engineering alarm bells. Why didn't that happen?

      --
      http://www.moonlight3d.eu/
    2. Re:Upstart by LordLimecat · · Score: 0

      plus you get the benefit of binary log files!

      I have little to add to this discussion (not really having a horse in this race) but this meme is remarkably stupid. I saw it with the whole "HTTP to go binary only" as well, and everyone panicked as if it meant that they would no longer be able to do a packet trace of HTTP.

      Log files are already "binary" in a particular encoding called ASCII, and there are plenty of parsers for it. I imagine that when a new log format is shipped, they will ship a utility to parse the new format. There are things you cannot do with ASCII that you can with "binary" formats, and AFAICT theres very little downside other than you cant use cat to read the logs (as if thats a criteria for goodness).

    3. Re: Upstart by HiThere · · Score: 1

      I doubt that it's huge, so the fallback could be to just have a backup copy in some other root directory, possibly /sbin, and give it an automatic failover.

      Of course, that could still be broken, but it's hard to recover from "rm -fr /[a--z]*"

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    4. Re:Upstart by Anonymous Coward · · Score: 0

      just should have set off a lot of software engineering alarm bells. Why didn't that happen?

      Those alarm bells have long been a'ringing in the Gentoo community.

    5. Re:Upstart by Anonymous Coward · · Score: 2, Informative

      OpenRC can start or stop services based on events...

  24. Re:Uh... by Anonymous Coward · · Score: 1

    That sounds retarded. Why would anyone wanna change to that?

    Nobody wanted systemd, other distros went along after they took over udev maintenance. Sane heads were left pointing at pulseaudio and screaming "keep this fool away from init".

    All's well that ends well though and I just love having "systemctl halt" break whenever I upgrade dbus. This kind of functionality takes a special kind of software engineering genius.

  25. Go the Solaris route? by Anonymous Coward · · Score: 1

    Get the SMF framework, and make everything XML driven !

    1. Re:Go the Solaris route? by Cramer · · Score: 1

      Good God, no! Don't forget the binary registry files. And the "we don't use shell scripts" lie -- except for all these shell scripts in this lib/svc dir you're not supposed to look at.

  26. None too soon! by redelm · · Score: 3, Interesting

    I cannot abide the SysV (AT&T) mess'o'symlinks multiple-indirect startup scripts. One reason I've stuck with Slackware for almost 20 years. It uses BSD-style inits that have far less indirection and need far fewer lookups. Frankly, some of the BusyBox startup look attractive too -- one script to rule them all :)

  27. Default versus monopoly - FREEdom software by Anonymous Coward · · Score: 2, Interesting

    Debian should stay true to its core principles. The user should be able - by installing a package - to choose the init system she wants.
    There is no one true mail server on Debian. You can choose to run zsh as a shell instead of bash. There should never be only one supported init system.
    Distributions don't choose, users do. Oh and technical committees are there to find solutions to make that work, not to complain about how difficult that is.

    1. Re:Default versus monopoly - FREEdom software by Anonymous Coward · · Score: 0

      You can choose to run zsh as a shell instead of bash.

      You can choose that as your user shell but you can't switch the entire system to a different shell because many of the system scripts are shell specific.

    2. Re:Default versus monopoly - FREEdom software by Anonymous Coward · · Score: 0

      You can choose that as your user shell but you can't switch the entire system to a different shell because many of the system scripts are shell specific.

      You are correct; people on /. know their stuff. But may I kindly point out there was an ongoing effort to make sure scripts are able to run under (d)ash? This is done so that hopefully they would function for any posix compliant shell and at least under ksh, zsh or bash.
      And to quote more tradition: there was no ban by the kernel developers against the patches to the kernel which helped it build under an alternative compiler.

  28. Re: Uh... by Anonymous Coward · · Score: 1

    Please tell me how to reboot or shutdown a systemd based distro if the /run/systemd directory got deleted by accident.

  29. Re:Uh... by Anonymous Coward · · Score: 1

    And systemd is a tentacle-monster which tries to suck in any other component of a linux-distro. Session-management, udev, cgroups, loging ...

  30. Hoping for systemd by devent · · Score: 5, Informative

    I hope for systemd; I know it from Fedora. And in my opinion upstart is some kind of mess; it's a mixture of bash script and their own added syntax. It kind of feels like Microsoft's extensions for C++. I'm also a fan of declarative configuration like systemd is. After 5 minutes reading the manual of systemd I could write my own service for pdnsd.

    [Unit]
    Description=PDNSD
    ConditionPathIsMountPoint=/mnt/read
    After=NetworkManager.service

    [Service]
    Type=forking
    ExecStart=/usr/local/sbin/pdnsd --daemon -p /var/run/pdnsd.pid
    PIDFile=/var/run/pdnsd.pid

    [Install]
    WantedBy=multi-user.target

    # systemctl status pdnsd
    pdnsd.service - PDNSD
          Loaded: loaded (/usr/lib/systemd/user/pdnsd.service)
          Active: active (running) since Mon 2013-10-28 18:46:23 CET; 1h 14min ago
        Process: 1585 ExecStart=/usr/local/sbin/pdnsd --daemon -p /var/run/pdnsd.pid (code=exited, status=0/SUCCESS)
      Main PID: 1587 (pdnsd)
          CGroup: name=systemd:/system/pdnsd.service
                          1587 /usr/local/sbin/pdnsd --daemon -p /var/run/pdnsd.pid

    Oct 28 18:46:23 vostrotitan.localdomain systemd[1]: Starting PDNSD...
    Oct 28 18:46:23 vostrotitan.localdomain pdnsd[1587]: pdnsd-1.2.9a-par starting.
    Oct 28 18:46:23 vostrotitan.localdomain systemd[1]: Started PDNSD.

    --
    http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    1. Re:Hoping for systemd by Anonymous Coward · · Score: 1

      I think you can delete the PID file section, unless you need that for something else. Systemd automatically contains your process.

    2. Re:Hoping for systemd by dshk · · Score: 3, Interesting
      Here is an Upstart script copied directly from the minecraft server of my 11-year-old son:

      start on runlevel [2345]
      stop on runlevel [^2345]

      setuid attila
      setgid mc
      env LANG=en_US.UTF-8
      chdir /home/attila/minecraft

      exec java -client -Xms2500M -Xmx2510M -jar spigot.jar > /dev/null
      respawn

      And then:
      # start minecraft

      I cannot see a single line which requires documentation in order to understand it.

    3. Re:Hoping for systemd by Anonymous Coward · · Score: 0

      That makes me want to poke my eyes out...

    4. Re:Hoping for systemd by devent · · Score: 1

      Interesting. It's sure an improvement over SysV-init.

      But the scripts are not really equivalent. How you do the conditions that the path is mounted, that the service have to start after network manager, and should be started at multi-user level?

      --
      http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    5. Re:Hoping for systemd by thegarbz · · Score: 1

      The idea about upstart is that it's the bare minimum and not a stable maximum. Your upstart script can be as long or even longer than a typical sysVinit script but in it's simplest case can be 4-5 lines. The full upstart cookbook is 180 pages or so.

      In the case above changing:

      start on runlevel [2345]

      to

      start on net-device-up and runlevel [2] and filesystem

      Or if you don't want to wait for mountall to finish you can set it to mounted and list the filesystem you're waiting on.

    6. Re:Hoping for systemd by devent · · Score: 1

      systemd is modular. All I needed to read is about systemd.unit and systemctl

      Yes there are more stuff for systemd, but it's optional. In my opinion, systemd is like git. Sure git brings 50 commands (or more) but all you need are the core commands: clone, commit, merge, branch, add, remove, push, pull.

      --
      http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    7. Re:Hoping for systemd by jez9999 · · Score: 1

      That "exec" line isn't obvious. What do the -Xms and -Xmx args do? I can't even seem to find a manpage on 'exec' apart from the C function one.

    8. Re:Hoping for systemd by thegarbz · · Score: 1

      I'm not comparing upstart to systemd (I haven''t used it), but rather to sysvinit, where doing something very simple involves writing one hell of an obtuse script.

      Just showing how you can do what you wanted.

    9. Re:Hoping for systemd by dshk · · Score: 1

      My mistake, I wrote "script", but it is not, it is a job configuration file. The exec line defines the executable and its arguments. The example is a Minecraft server, which is written in Java, so the executable is java in our case.

      The Upstart reference documentation is http://upstart.ubuntu.com/cookbook. If you want man, then man 5 init describes the job configuration format.

    10. Re:Hoping for systemd by lems1 · · Score: 1

      well said

      --
      This sig can be distributed under the LGPL license
    11. Re:Hoping for systemd by lems1 · · Score: 1

      I'm sorry but this is horrible .ini-style code. Poorly thought out and easy to make a big mess. What if you say "execStart" or "execstart" instead of the specific case you used here? I really dislike when we step backwards in time. This should be elegant and extremely simple. Upstart is that for now. I have no complaints with upstart.

      --
      This sig can be distributed under the LGPL license
    12. Re:Hoping for systemd by Anonymous Coward · · Score: 0

      Maybe you're just not looking carefully enough. "respawn"? And runlevels? Those are stupid magic numbers.

  31. Lennart Poettering explains why Upstartd is bad by Anonymous Coward · · Score: 2, Informative

    https://plus.google.com/115547683951727699051/posts/8RmiAQsW9qf

    1. Re:Lennart Poettering explains why Upstartd is bad by Aguazul2 · · Score: 3, Insightful

      Wow, with such a superior, arrogant and manipulative attitude, I think it is time for Debian to write their own, or continue with what they have. I would have nothing to do with someone who has so little respect for anyone else's efforts, using FUD against other projects, and who is so obviously trying to lure people into his self-serving spider-web trap. Perhaps his vision is that systemd will be the one process to rule them all, my precioussssss... and then finally Linux will be all his. Run away!!!

    2. Re:Lennart Poettering explains why Upstartd is bad by Anonymous Coward · · Score: 0

      Rememeber PulseAudio? It's the Poettering messy way or the highway.

  32. Re:Uh... by interval1066 · · Score: 1

    ...abstruse and incomprehensible to anybody outside their little circle.

    Its "obtuse", but your point is taken. But let's be honest, many, if not every, circle of technical wizards in charge of a popular project gets infected with elitism to some degree. I will say however, and without really understanding the exact technical reasons canonical seems to be taking the technical "high road" and laughing some of their userbase writhes in pain on the ground behind them.

    --
    Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
  33. Integrate Mozilla Circus with whatever. Move on! by Anonymous Coward · · Score: 1

    Mozilla Circus renders the system-level init mechanism almost moot. Besides, things like systemd and udev aggressively couple system-level facilities with the GUI user-space system (via DBUS messaging, etc.). These designs are about as anti-Linux/UNIX as it could possibly get. From hard experience, I can attest to the pain down the anti-Linux path ...

  34. Re: Uh... by drinkypoo · · Score: 1

    Please tell me how to reboot or shutdown a systemd based distro if the /run/systemd directory got deleted by accident.

    Wait, seriously? You don't know how to kill processes and umount filesystems? YMBNH

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  35. OpenRC by Anonymous Coward · · Score: 2

    Because:

    1. What sane organization wants to follow in Canonical's footsteps?
    2. Who, besides an utter fool, thinks systemd is a good idea?

    1. Re:OpenRC by Anonymous Coward · · Score: 0

      3. Choice between Windows Way and UNIX Way.

  36. Re:Uh... by 0racle · · Score: 4, Funny

    systemd: good idea, horrible implementation.

    No Solaris SMF was a good idea, systemd is what you get when someone looks at that idea and says "you know what, I can fuck that up."

    --
    "I use a Mac because I'm just better than you are."
  37. Re: Uh... by Anonymous Coward · · Score: 4, Funny

    To shutdown: yank the power cable.

    To reboot: yank the power cable, then plug it back in again. Then depress power button if necessary.

    Accompany either process by shouting the magic words "fuck it, it'll probably be fine".

  38. Slackware systemd is better by Sits · · Score: 1

    At a former university the Linux side of the desktops used Slackware with initscripts all the way up until 2011. These desktops were beefy machines with decent chunks of RAM and SATA disks but would take minutes to finish booting. The administrators there switched the start-up scripts to systemd over the holidays and things were so much better - no boot took more than 30 seconds to finish (most took less than 15 seconds) making the old system look laughable.

    SysV initscripts have had their day and it's time to move on.

    1. Re:Slackware systemd is better by Arker · · Score: 1

      I havent noticed any such slowness with slackware startup myself, so I suspect a misconfiguration, but nonetheless, even if that were the cost, having sensible human-readable startup scripts is well worth a couple extra minutes boot time to me anyway. Seriously, how often do you reboot a *nix box? No one really cares how long it takes to do that one-in-a-blue-moon reboot.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    2. Re:Slackware systemd is better by DiegoBravo · · Score: 1

      Ten minutes? something was wrong with the configuration.

      I have a 486 with redhat 6.2 and takes less than a minute to boot. The boot time AFIK is not the main driver for the changes. There are really good reasons, but boot time is not the main one.

      Of course, the Ubuntu team was in a curious rush to create some sort of 1-second-boot-time OS, and sysV scripts must be avoided for that goal.

    3. Re:Slackware systemd is better by Anonymous Coward · · Score: 0

      So you still work only on mainframes and never had a laptop?

      And please don't talk about sleep mode in Linux. It's worse than upstart.

    4. Re:Slackware systemd is better by ale2011 · · Score: 1

      SysV initscripts have had their day and it's time to move on.

      What is nice of SysV (I hope I shouldn't have said was) is its modularity. It can be minimal, and I like to type "startx" with my fingers, after the bootstrap has completed and I know all the important daemons are up and running.

      I don't see the need to break SysV by forcibly throwing in something else, which is less reliable. We could have wrapped any bunch of init scripts into some event-based, super-duper, concurrent daemon running on top of init. That would have left users a choice, making laptops boot faster while not disrupting servers.

    5. Re:Slackware systemd is better by Anonymous Coward · · Score: 0

      Everyday, I'm on a laptop

  39. Slackware systemd is better by Sits · · Score: 2

    At a former university the desktops used Slackware with initscripts all the way up until 2011. These desktops were beefy machines with decent chunks of RAM and SATA disks but would take minutes to finish booting. The administrators there switched the start-up scripts to systemd across a holiday and things became dramatically better - no boot took more than 30 seconds and most disk based boots were sub 15 seconds making the old system look laughable.

    I'm glad that Slackware gave the admins the choice because the old way of doing it has had its day. Not everything from the 90s was better...

  40. Debian did well to wait by coder111 · · Score: 4, Informative

    You need to remember that most of the time Debian is not about developing new stuff, it's primarily about PACKAGING and DISTRIBUTING existing stuff.

    From "package a bunch of software into an usable system" standpoint it is a smart decision to wait until the dust settles and things are tried and proven. Especially if you are producing system as stable as Debian Stable.

    --Coder

    1. Re:Debian did well to wait by Rich0 · · Score: 1

      You need to remember that most of the time Debian is not about developing new stuff, it's primarily about PACKAGING and DISTRIBUTING existing stuff.

      Tend to agree - Debian really isn't one of those cutting-edge distros. I can see a distro like Gentoo offering systemd as an option because it tends to offer lots of crazy options that most aren't interested in and many of which don't stick. Heck, you could run Gentoo+systemd on x32 most likely - you'd probably have the only box on the planet configured that way if you did.

      I think that's fine - Debian has the "just works" niche and they'd be silly to give it up. The world doesn't need just one linux distro - I'd rather see linux have an offering for anybody.

    2. Re:Debian did well to wait by aestrivex · · Score: 1

      This is comparison is not particularly germane because there are multiple types of cutting edge distros. Put simply, there is the gentoo type of cutting edge distro, where your system is hyperconfigured to run only what you want and nothing else and if systemd breaks you are expected to have some idea how to fix it, and there is the fedora type of cutting edge distro, where the objective is to hold the hands of novitiates users. Both distros were early adopters of systemd.

      Now, I agree that choice is good. It is great that there are options like fedora, for novices who want broken systems, and options like mint, for novices who want functional systems, and so on. It's actually good that the one for novices who want broken systems exists, so that these types of bugs can be identified and fixed in a more mainstream setting. But it is worth noting that the criticisms of systemd are considerably more of a pressing issue for the fedora type (and the debian type) than the gentoo type.

    3. Re:Debian did well to wait by Rich0 · · Score: 1

      Certainly agree on all points, though you'll find plenty of systemd controversy over at Gentoo all the same...

  41. Re:Uh... by Anonymous Coward · · Score: 0

    It's not needed now SSDs are common and cheap. My Debian boots in under 5 seconds, thank you very much.

  42. Startup times are important by coder111 · · Score: 3, Insightful

    I do agree bootup times don't matter if you run a server. For a laptop, a tablet, a mobile, even a desktop that gets turned off startup times are important. For tablets, laptops and mobiles, they are VERY important.

    I agree that complexity is evil. I have no experience with systemd nor with upstart, so I cannot comment on them. However, dependency graph and parallel execution should not be THAT difficult or complex :-/

    --Coder

    1. Re:Startup times are important by iroll · · Score: 0

      Are you my dad?

      Modern (read: post 2005) laptops, tablets, mobiles and desktops DO NOT NEED TO BE TURNED OFF. They can sleep with almost no power draw almost indefinitely. If you are really concerned about the fraction of a watt that they use while asleep, you should also be unplugging them completely when they are not in use. The pain in the ass of plugging in your desktop every time you want to use it cannot possibly be less frustrating than a 10 s boot time difference.

      --
      Repetition does not transform a lie into the truth. - FDR
    2. Re:Startup times are important by Anonymous Coward · · Score: 3, Interesting

      Yes, complexity is evil, the problem is that sysv is complex (read: bash is complex) and running bash's init code hundreds (thousands?) of times and seeking all over disk eats lots of time.

      The solution therefore, is not to introduce something even uglier and more complex like Upstart or systemd, which STILL runs bash init code hundreds of times, and seeks all over disk, but now also adds megabytes of source code that one either has to audit or put blind faith in, even though both systems are empirically unreliable.

      The solution (which I use) is to have a program which generates C code, which does all of what init does in a few kb of source and a few more kb of binary, and recompile that each time you want to change what runs at startup. The solution to seeking all over disk (which is by far the bigger time sink), is to put everything that runs at startup in an initramfs, so it is read sequentially from disk at boot (which I do), or to add precaching to the filesystem, so you can mark files needed at boot, and have them stored sequentially on disk, and read by the kernel into iocache at startup (which I have not done).

      Another problem is that lots of programs create files on filesystem at startup, such as pid files, log files, cache files, and distros put those directories where they live in the on-disk filesystem, even though they are small, and ephemeral, there is no point in keeping them after a reboot, and logs should be sent to another host, not stored on the local machine.

      I've basically solved all these problems, but not the iocache priming problem, as I use a tmpfs root and run my entire OS off ram*. There's not much point sharing my source code for my init generator, as it's too simple and my-use specific to be generally useful, and the idea behind it is what is worth sharing, which I have now done in this posting.

      * there's plenty of other good reasons to do this.

    3. Re:Startup times are important by bzipitidoo · · Score: 2

      Except that many desktops have bugs that make suspending and resuming dicey propositions. If that's not enough, the kernel has quite a few bugs in this area as well. Nice when your desktop takes over a minute to resume, and then fails to enable the networking hardware, forcing you to power cycle anyway. Would have been faster to just turn the computer off.

      --
      Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
    4. Re:Startup times are important by iroll · · Score: 1

      That's a great argument for fixing those problems, not a great argument for introducing new ones in order to fix the supposed-problem of long boot times.

      Because in the end, that's what it is: a supposed problem. Boot times aren't something you should see very often, and when you do, they really aren't that bad these days (at least on Debian). And if you're absolutely forced to deal with cold boots, a difference 10 (or even a few 10s) of seconds probably isn't going to mean the difference between using Debian and using Brand X.

      --
      Repetition does not transform a lie into the truth. - FDR
    5. Re:Startup times are important by Anonymous Coward · · Score: 0

      You don't have to unplug it. Just mount the power strip under the desk where you can still reach it and flip the power switch off. You now have two sitches to hit under the desk instead of one, but not a bit deal if you only fire up the PC once a week to check email and upload your you last batch of pictures from your camera.

    6. Re:Startup times are important by Anonymous Coward · · Score: 0

      Modern (read: post 2005) laptops, tablets, mobiles and desktops DO NOT NEED TO BE TURNED OFF. They can sleep with almost no power draw almost indefinitely.

      Irrelevant. All recent GUI's are such bug infested piles that doing a hard reboot at least daily to get it back to a semi-known state is essential to get even minimal reliability. And that's ignoring all the involuntary reboots. Most gui programmers wouldn't know what a race condition was if it jumped up and bit them.

      Fast boot is absolutely essential. The faster the better. I'm sick of waiting for my PC. Both server and desktop. They're supposed to serve me, not vice-versa.

    7. Re:Startup times are important by Clsid · · Score: 1

      This is the major reason why I always choose Mac laptops. I have been through three of their laptops, starting with the white iBook and they all worked flawlessly. It never ceases to amaze me to this day that only until recently is that I have found some Windows laptops that are able to behave like the Macs in this regard. Then again when you see the kind of crap Apple pulled with the video cards of the new MacBook Pros it becomes hard to recommend Apple nowadays.

    8. Re:Startup times are important by Anonymous Coward · · Score: 0

      Well, my Ubuntu desktop cold boots faster than it resumes from the hibernation. Also the resume from standby freezes USB input devices at least 1 out of ten tries, so it is mostly better to just power it down to conserve nerves and environment. On the laptop side many people are using SSD and have no swap partition, hence the hibernation is not an option.

    9. Re:Startup times are important by thegarbz · · Score: 1

      Except that in my experience a Linux machine recovering properly from sleep is rarer than arocking-horse turd.

      Seriously I have not seen one laptop with a single distro or even a desktop correctly recover from sleep and pick-up where it left off. I don't particularly blame linux for this either given that most of the specs were part of some microsoft / BIOS vendor conspiracy. Hell in some cases I'm happy enough of the linux machine can correctly tell a CPU to go to an IDLE state.

    10. Re:Startup times are important by Anonymous Coward · · Score: 0

      This! 10x this!

      The last time I tried to use sleep mode in Linux on a laptop it would work (at best) 50% of the time. The other times it would make the computer so slow that even rebooting it was a pain (due to the shutdown part being so slow). I wasn't gaining anything on using sleep mode, because one out of two or three times it would crash so "beautifully".

      And then you see your friends with Macs and their wonderful sleep mode. And you wonder why the hell are you wasting your time...

    11. Re:Startup times are important by slim · · Score: 1

      Quite.

      "Every day I find my bike tyre has gone flat, and my crappy pump takes 10 minutes to inflate it. So I'm getting a better pump."

    12. Re: Startup times are important by Anonymous Coward · · Score: 0

      yes systemd resulted in better working sleep and hibernating also.

    13. Re:Startup times are important by Grishnakh · · Score: 1

      The people who can make better bike pumps are not the same people who can make better bike tires. The person who's tired of his bike tires going flat might have resources and expertise in building a better pump, but no ability whatsoever to make better tires.

      Fixing problems in the kernel isn't really possible for people working at a distro on an init system. Fixing those problems requires access to hardware documentation, and examples of hardware to test on. They don't have either of those, which is why hardware bugs like that exist in Linux.

    14. Re:Startup times are important by Grishnakh · · Score: 2

      While don't dispute that many machines do have problems, since Linux can give you a horribly different experience depending not only on the distro you've chosen but also the hardware you're using, my laptop works almost perfectly in recovering from sleep, in fact I do this all the time, many times a day. I'm using a Dell Latitude E6400 with Mint KDE.

      In my experience and observation, the business laptops tend to be MUCH better supported in Linux than the consumer ones. So if you're not already using one, get a Thinkpad or Latitude, and skip the rest. It also helps to get a slightly older model, as more of the bugs will be worked out. My laptop is probably at least 5 years old now (got it used on Ebay), and for most uses it's more than adequate. It's not like hardware is advancing much in performance these days anyway, and the screens on laptops are actually inferior now to what was typical 5+ years ago.

    15. Re:Startup times are important by Grishnakh · · Score: 1

      Another problem is that lots of programs create files on filesystem at startup, such as pid files, log files, cache files, and distros put those directories where they live in the on-disk filesystem, even though they are small, and ephemeral, there is no point in keeping them after a reboot, and logs should be sent to another host, not stored on the local machine.

      Part of the reason to switch to better init systems is start-up speed, which on mobile devices is really important (and totally unimportant on servers). However, no one is going to be able to set up their laptop or tablet or whatever to reliably send logs to another host. We're talking consumer gear here, not stuff used by IT pros. Being able to redirect/copy logs to another host is a great feature of course, for server admins or other people who desire to set that up for better administration of their mobile devices, but expecting that of normal users is lunacy.

    16. Re:Startup times are important by Anonymous Coward · · Score: 1

      There's practically no point in keeping log files on consumer gear at all, because the user is not going to know how look at them. I keep log files in memory on my notebook to avoid pointlessly spinning up the HDD. For boot problems, the log is printed to the screen. For most other things the logs from a previous boot are useless to me. Even if non-volatile logging is necessary and off-host logging is not possible, if your only IO is log writing at startup and you limit syncing, it will make a huge difference to your startup time, much more than switching from init to some other heavy init system.

      What is really needed is a filesystem feature called priming:

      You mark files on disk as needed during boot "prime files", and the filesystem stores them in a contiguous region that is read at mount. Each time the files are modified, the prime region is marked dirty, and a background task regenerates the prime region by adding the modified prime file to the prime region. If the system boots when the prime is dirty, it must read the files from their regular storage locations, otherwise it primes the iocache with every file in the prime region, so that all the reads come from cache and there is only a single fast contiguous read at startup. All that is left is to ensure that the boot process syncs infrequently and you have a killer fast startup without having to resort to ram rootfs.

      You heard it from me first.

      -puddingpimp

    17. Re:Startup times are important by Anonymous Coward · · Score: 0

      Then again when you see the kind of crap Apple pulled with the video cards of the new MacBook Pros it becomes hard to recommend Apple nowadays.

      Let me guess, you're getting whiny about how low end and midrange versions of the 15" retina MBP won't play games quite as fast as last year's model? This is not a new phenomenon. Apple prioritizes battery life and portability above raw GPU performance. They were willing to live with a slight performance regression a few years back when they switched the MacBook Air from NVIDIA graphics to Intel integrated to save power. This is just another iteration of the same, although this time they've kept high performance graphics as a high end option (so if you're willing to pay you can get something which is cleanly faster across the board in every way).

      Just like with the Air, this year's version might have a small graphics performance regression but the next refresh won't. And it has already gained on other parameters which Apple thinks are more important to their average user than game benchmark boasting.

    18. Re:Startup times are important by Anonymous Coward · · Score: 0

      Irrelevant. All recent GUI's are such bug infested piles that doing a hard reboot at least daily to get it back to a semi-known state is essential to get even minimal reliability.

      Whaaaat? I often go months between rebooting my Mac. Usually I only have to reboot it for a minor OS version or security update.

      Fast boot is absolutely essential. The faster the better. I'm sick of waiting for my PC. Both server and desktop. They're supposed to serve me, not vice-versa.

      Agreed. So come to the dark side and buy a Mac. Thanks to launchd, the original "inspired" systemd and upstart, they boot fast. Very fast -- about 10 seconds for many of the recent SSD-equipped machines, out of the box. And the GUI doesn't crash if you look at it funny. And sleep/hibernate actually works, reliably.

      Don't get me wrong, there are bugs and I have hit them. But it really does work so much better than Linux.

  43. Re: Uh... by Anonymous Coward · · Score: 0

    Killing process isn't the point. Just try it for your own.

  44. King Missile joke by Anonymous Coward · · Score: 0

    [detached]

  45. Conflict of Interest by ender- · · Score: 2

    FTS: The Debian technical committee has been asked to vote on which init system to use, which could swing in favor of using Upstart due to the Canonical bias present on the committee."

    So what are the chances of getting the Canonical-associated board members to recuse themselves from the vote, given the obvious conflict of interest there?

    1. Re:Conflict of Interest by Anonymous Coward · · Score: 0

      Why people keep calling the real-world in-depth experience a "bias"?

      If people who have experience with upstart would be excluded from the vote, that's would effectively exclude the only people with tech expertise in the area from the vote. For the same result, one can go out on street and poll random strangers for their favorite init system.

      P.S. And who knows, if upstart has some inherit problem, even Canonical people might decide to vote against it, to help bring the systemd into Ubuntu.

    2. Re:Conflict of Interest by Anonymous Coward · · Score: 0

      And why it is "conflict of interests"?

      Porting Debian to systemd is a new thing which has to be done from ground up. And systemd's upsrteam has already proven to be a rather quirky personality.

      Porting Debian to upstart is... hey! just copy over the scripts from Ubuntu! And we have already maintainers for them! And upstream developers! What's more they are already DDs!

    3. Re:Conflict of Interest by Anonymous Coward · · Score: 0

      And why it is "conflict of interests"?

      Porting Debian to systemd is a new thing which has to be done from ground up. And systemd's upsrteam has already proven to be a rather quirky personality.

      Porting Debian to upstart is... hey! just copy over the scripts from Ubuntu! And we have already maintainers for them! And upstream developers! What's more they are already DDs!

      Exactly! Upstart is the easiest solution. Maybe not the best solution, but the easiest one to be implemented.

  46. Re:Uh... by Darinbob · · Score: 1

    There are reasons to do more than that, but they all add complexity. Some developers are more interested in new features than in reducing complexity.

    Ie, if you want graphical control over "services" then the current method of dropping any old random script in a directory is not too helpful. Also all the SysV style scripts are assumed to run sequentially and are ordered via priority in the file name, which makes it more difficult to start a lot of things in parallel (not a big deal for a server but some people want fast boot ups). Other things like that.

    Personally, I'm in the keep-it-simple-stupid camp but I can understand why some people want it changed.

  47. Re:Uh... by normaldotcom · · Score: 4, Informative

    systemd service files are quite straightforward---I'm not sure what kind of monumental effort you are referring to when creating service files. For a simple service, starting/stopping/restarting the service is handled automatically, leaving a very minimal service file.

    For example:

    [Unit]
    Description=AutonNav

    [Service]
    ExecStart=/usr/sbin/autonnav
    Type=forking

    [Install]
    WantedBy=multi-user.target

  48. systemd only supports Linux by waffle+zero · · Score: 2

    And that is a good thing for Linux because it can use a lot of good technology from the kernel. The major issue is that systemd requires cgroups and that means no support for kFreeBSD. Even if the ex-Canonical people recused themselves, systemd was always going to have an uphill battle.

    There is a Debian derivative that has decided to use systemd, but it's -- the still incubating -- Tanglu.

  49. I'm Torn by Foresto · · Score: 4, Interesting

    After having repeatedly run into the limitations of SysV init, I'm all for replacing it with something smarter, but I'm torn between these two.

    I've used Upstart on Ubuntu, both as an admin and as a developer. I like that the commands and configuration files are clean and pretty easy to understand. A few things bother me, though:

    • The model of starting all dependent services when their dependencies start is backwards. I don't necessarily want init to launch every daemon under the sun the moment I mount their data filesystem. I'd rather have it mount the required filesystem when I ask for a particular daemon to start.
    • As of a year or so ago, the documentation was mainly an incomplete bunch of blog posts. Once I found them, it was pretty easy to configure daemons that behaved like the venerable ones that are often used as examples, but it was difficult to learn how to match Upstart's features (some of which are undocumented) and events (also largely undocumented) with an unusual service's behavior
    • Debugging was difficult, mainly because so few events are well documented and it's not always clear which of Upstart's features are implemented in in any given version. (I hear the latest release offers some event tracing tools that would improve this.)

    I haven't used Systemd at all, but the common points that come up again and again in every writeup I encounter have me forming me some opinions already. I really like the idea of the load-as-needed dependency model. A few things have me quite worried about the implementation, though:

    • Configuration is reportedly difficult to understand. That always leads to frustrating, time-wasting, messy problems.
    • The code is reportly rather complex. That usually leads to chronically buggy software, which is not what I want in a process as important as init. It also tends to hamper portability, which could make Systemd a poor candidate for replacing init on other unixes, which would relegate it to being yet another OS-specific hassle for coders and admins all over the world. I'd prefer something that could reasonably be adopted everywhere, or at least by most of the operating systems I have to administer, even if a few features weren't available on every platform
    • I recently learned that the guy behind Systemd is the same guy who brought us PulseAudio. I don't want to get off topic here, but this gives me little hope that Systemd will ever work well outside the lead developers' development machines. (Pulse is around 10 years old now, and every time I give it another chance, it proves itself intolerable.)
    1. Re:I'm Torn by Anonymous Coward · · Score: 0

      I'm running systemd, and the configuration is pretty simple. The documentation used to be bad because it all evolved so fast, but these days most kinks are worked out.

      Your point about chronically buggy software is just FUD. Please do not spread misinformation. It all works pretty well, better than Upstart even if Upstart is much older.

      Your point about systemd being an OS-specific hassle is pretty short-sighted. There's no real sysvinit standard at the moment. Each Linux distribution has its own init scripts for the packages they carry. And the systemd conf files are actually pretty short, so wouldn't really be a burden for anyone.

      It's funny that people point to Lennart and claim he's an ass because he doesn't want to engage in a multi-year hackery session to try and make systemd portable. The reality is that the *BSDs probably wouldn't ever touch a ported systemd with a ten-foot pole (just like they don't want to touch Upstart). They're much too conservative. So it's pure bullshit, really.

    2. Re:I'm Torn by dshk · · Score: 1

      The Upstart documentation was indeed poor a few years ago, but now it is complete and easy to read.

    3. Re:I'm Torn by Foresto · · Score: 1

      Replies like yours make me wish the reply button was disabled until you actually read and understood the comment to which you were replying. You obviously did not.

    4. Re:I'm Torn by Anonymous Coward · · Score: 1

      Replies like yours make me wish the reply button was disabled until you actually read and understood the comment to which you were replying. You obviously did not.

      Absolutely. Also, Lennart is an ass, This proves that conclusively.

    5. Re:I'm Torn by Anonymous Coward · · Score: 0

      Please.

      The entire world uses Pulse now and it is rock solid. Initial problems were due to distributions adopting it too early and incorrectly, as well as due to problems exposed in ALSA drivers which had not been tested in that exact way before.

      And don't mind or repeat hearsay about code quality in systemd. Many distros use it as a default and it has proven solid. If you are going to have objections, please have real ones.

    6. Re:I'm Torn by Anonymous Coward · · Score: 0

      entire world uses Pulse now and it is rock solid.

      First, the entire world doesn't. I have four boxes that have never touched pulse. Second, it's still shit, just prettier shit. It's still got latency issues, and barfs if anything uses OSS. It just makes the mixing more difficult than it has to be. It should die in a fire.

  50. I don't like systemd but fuck Canonical by Anonymous Coward · · Score: 0

    I'm still not sure why we, or I, need to change from SysVinit.

  51. Re:Canonical might suck... but systemd is worse. by Anonymous Coward · · Score: 1

    You can't control systemd... without rewriting all the given startup files to force a serialization... and then you are defeating systemd.

    You can't debug problems with systemd as it hides most of the evidence you need to fix problems.

    It still can't shutdown a system reliably - it hangs, sometimes.

    It still can't boot a system reliably - again it hangs sometimes - though at least with a boot hang you know It hung.

    It does work in simple environments... but not very well in complex ones. The interactions between processes is too complex and when errors occur it is nearly impossible to identify what caused it.

  52. Re:Uh... by Anonymous Coward · · Score: 2, Informative

    Its "obtuse", but your point is taken

    Actually, it is "abstruse".
    abstruse
    adj. Difficult to understand; esoteric; recondite.

  53. Re:Uh... by Anonymous Coward · · Score: 0

    And when it hangs you have no choice but to crash the machine again...

    And finding out what hung the shutdown is rather difficult...

    And it really doesn't boot faster than any properly set up sysVinit system.

  54. It's a shame by Anonymous Coward · · Score: 0

    systemd is a solution in search of a problem. Let's see what they are trying to do:

    1. Speed up the boot process? The reason SysvInit is slow is because most distros have 3500 or so kernel modules in their build. They want one set of modules for everybody. My system has exactly one (proprietary) module and boots in about 8 seconds on a system I bought in 2005.

    2. Use cgroups to contol processes? For 99% of systems in use, this is unneeded. Perhaps we are going back to the 1990's where one large system provided direct accounts for hundreds of users, but that is the exception. A server has a few system accounts and maybe a couple of developers. A workstation generally has one account. Yes, a supercomputer may have a lot of accounts for submitting to a queue, but outside of that, cgroups are really unneeded. The beauty of Linux is that we don't need a one-size fits-all approach.

    3. Binary logs? Enough said.

    4. Simplicity? Not hardly. systemd has about 150K LOC. My sysvinit system has about 2K of bash scripts -- about 75% of which are comments. I once complained about the complexity of systemd and was told that there were over 100 pages of documentation. My response was that the problem with systemd was that it *needed* 100 pages of documentation.

    I am afraid that Linux is being driven away from the philosophy of creating simple programs and allowing the users to do things in their own way. Complexity is being forced upon us, even if we don't need it.

    1. Re:It's a shame by Anonymous Coward · · Score: 0

      1. Sys V init is slow because it does one thing at a time and each tast is blocking. What exactly is your system. Booting with a static IP, and minimal seriveces to a shell isn't that impressive.

      2, Cgroups are benificial to the the CFS schedualer in the kernel to increase responsiveness and performance in a desktop enviroment. They can also let you write more sensible and robust SELinux or apparmor profiles. And multiseat would not be a far fetched configuration in places like schools were one decent computer is cheaper than two or three cheap ones.

      3. Journald fowards any messages it recieves to any syslog deamon running, including early boot messages that would otherwise be inaccessible.

      4... Systemd ends saves you lines of codes because it replaces init, cron, syslog, Consolekit, D-bus, udev etc. Oh, and you don't need to load bash (though you can load any script (bash, python, ruby, php ...) up as a service if you want to. . And the lenght of the bash man page is huge as well, what's the point?

      5. There's overn 90 modules, only 13 or 14 of which are mandatory.

  55. Re:Uh... by Anonymous Coward · · Score: 0

    Just FYI, "abstruse" is a real word that means difficult to understand.

  56. Re: Uh... by Anonymous Coward · · Score: 0

    You're retarded.

    If you delete /run/systemd/ you need to reboot your brain with a .45.

  57. Re:Uh... by Wheely · · Score: 1

    Nothing is stopping you running your init scripts in parallel if you need it.

  58. Yea FreeBSD by Anonymous Coward · · Score: 0

    This bullshit is one of the best reasons to move off of linux and onto FreeBSD stack.
    I have used linux since 1995 and all this change because "I can" has forced me off linux and onto *BSD.
    I wanted something that just works.
    If I didn't want a *NIX environment I would just use MS Windows.

    Hell even windows is better than linux these days.

  59. Troll much? by Anonymous Coward · · Score: 2, Insightful

    It's a well thought out post.
    Control groups of course are at the center of what a modern server needs to do. Resource management of services is one of the major parts (if not the biggest) of service management, and if you want to stay relevant on the server you must have something in this area.

    -systemd apparently does this?
    -upstart does not.

    For me, this is exactly the right direction, but I'm biased to server applications. ...The kernel folks want userspace to have a single arbitrator component for cgroups...
    -systemd has this
    -upstart apparently does not. He has grave doubts about upstart being able to do it.

    ....The other thing is kdbus.
    I don't understand what he wrote.

    ether you take the path where you use the stuff that the folks doing most of the Linux core OS development work on (regardless if they work at Red Hat, Intel, Suse, Samsung or wherever else) or you use the stuff Canonical is working on (which in case it isn't obvious is well... "limited").

    It's an accurate assessment. How is that FUD?

    1. Re:Troll much? by Anonymous Coward · · Score: 0

      -systemd apparently does this?
      -upstart does not.

      The bigger question people are asking: has systemd (or init replacement in general) do it? Wouldn't it be better to use extra dedicate service? instead of cramming everything into single one?

      It's an accurate assessment. How is that FUD?

      Accurate? Really?? Yes, that is not a FUD, but a biased and misguided statement. Mostly because system developers (to whom I personally belong) are very marginal minority compared to application developers or admins or end user. And it also disregards that lots and lots and lots of stuff is based off the Ubuntu.

    2. Re:Troll much? by allo · · Score: 1

      He is telling us features of systemd, and if upstart supports them, too. He omits some strenghts of upstart, as he just wants to show his software is superior.

  60. Re:Startup times are important, but NOT for Debian by rduke15 · · Score: 1

    I do agree bootup times don't matter if you run a server.

    Indeed.

    And isn't Debian mostly used on servers?

    I know it's what I use on all my servers, while using Ubuntu these days for my notebook. If my notebook can boot faster when I need to restart it, I'm interested. But for my servers, no thanks. What is wrong with the simple and reliable SysV init scripts used by Debian now?

  61. Noticing boot speed depends on the scenario by Sits · · Score: 1

    These were good admins, there were a lot of NFS3/4 shares and it was part of a Kerberos domain but maybe your setup is better tuned. I don't think it was misconfiguration and seeing how things sped up so dramatically after the change... But if it's that hard to get it right with initscripts that's another nail in their coffin in my book.

    Human readable initscripts can be far more complicated than systemd units but it depends massively on the task at hand. Some initscripts can be horrific - the Debian Apache initscript is not simple (but it does a lot so...).

    How often do I reboot *nix boxes? Varies massively from "only when glibc and kernel changes are released" (so a few times a month tops) to a few times a day. In my previous example many of the machines were in computer labs so they would shut themselves down every day. When you are watching these machines boot up at start of the day you really notice these things. 40 machines just sitting there with text sporadically appearing just to get to a greeter which Windows 7 reached in less than half the time until the systemd switch wasting students tuition fees in practicals - bleh. I even notice boot times on my VM's at work these days - when I spin up 10 Linux VMs from scratch it's nice seeing them all ready in under 40 seconds. Even on my creaky EeePC it's nice being able to get to the desktop from cold in less than 20 seconds.

    I'm happy work has been put into improving boot speed over the years - it really has become much better than it was back in 2001 even though more is being done. Stuff like systemd is even solving some long standing problems which used to require hacks like portreserve so it's not just speed.

    1. Re:Noticing boot speed depends on the scenario by samjam · · Score: 1

      The latency of network access is higher than disk access; so doing more things at once as systemd permits will make a bigger difference than if you were just using local disks and /etc/passwd

    2. Re:Noticing boot speed depends on the scenario by Anonymous Coward · · Score: 0

      My eeepc boots vanilla slackware in about 20 seconds, so I don't know what point you are trying to make here.

  62. Re: Uh... by drinkypoo · · Score: 2

    Killing process isn't the point. Just try it for your own.

    I have. If you can get all the appropriate daemons terminated and your filesystems unmounted or read-only, you're done. What were you hoping to accomplish, having the machine turn itself off? Who cares?

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  63. systemd tries to do too much by markhahn · · Score: 2

    systemd falls into the same trap as "desktop environments". It starts with appealing goals (basically, make startup a graph that is traversed parallel-breadthfirst), but it winds up sucking. Consider what happens when systemd dies. This happened to me recently (fedora19, upon resume) - there's not much you can do except reboot. Yes, this could have happened with sysvinit, but who among us ever had a crash of init? I certainly haven't, and I'm a certified greybeard.

    AFAIKT, the problem is that it's trying to borg a whole bunch of subsystems that do a great job by themselves. For instance, systemd tries to replace syslog for the most part. It's easy to see why it would want to do this, since daemon/server IO is a useful part of managment. But trying to do so, the system becomes more fragile and *narrower* in its applicability - more specific to how one guy (Lennart) thinks every system should behave.

    I suspect what will happen is that systemd will get shaved down a bit with some of the excess functionality removed, and in the process will become reasonably robust (ie, NEVER crash).

  64. The BIAS against systemd is Debian/kFreeBSD by Anonymous Coward · · Score: 1

    There is a BIAS against systemd in Debian, yes. But it is caused mostly by the lack of FreeBSD support and the general instance of systemd upstream of trying to take on the whole core plumbing in a way that would make *any* proper system engineer rather nervous.

    Now, systemd doesn't have a track record that helps one to sleep at night *even after porting it to FreeBSD*, either, because it is certain to embrace something idiotic just because (e.g. user namespaces, because someone will have the brilliant idea that systemd also needs to be a light-container manager). AND its chief architects DO have a track record that is very detrimental (pushing half-baked experimental non-designs).

    Now, maybe kFreeBSD doesn't look interesting, but both Debian and Gentoo believe it to be a good idea to have a escape route from Linux for their users should a corporate war make it not a viable option somewhere in the world.

  65. Re:Integrate Mozilla Circus with whatever. Move on by Anonymous Coward · · Score: 0

    Mod parent up, simply for the "anti-Unix" pappp.net article link.

  66. Re:Uh... by Bill,+Shooter+of+Bul · · Score: 2

    Its daemon management, It by its nature touches a lot of stuff to do its job well. Now the relivant question is, could it do everything it needs to do in a cleaner fashion with well established interfaces allowing other programs to do the same thing, while also limiting systemd to just do a subset of it. Leinart seems think that's a silly goal, to have a daemon manager that isn't as good as it could be.

    --
    Well.. maybe. Or Maybe not. But Definitely not sort of.
  67. code size by t482 · · Score: 2

    Size and complexity
    Upstart (1.5): 285 files, ~185k lines, ~97k C
    Debian: sysvinit + 120 files, 5.8k lines
    systemd (v44+): dbus + glib + 900 files, 224k lines, 125k C
    sysvinit: 560kB, 75 files, ~15k lines

    Debian startup is smallest, it's only shell with sysvinit (C) as dependency
    Upstart is about 10 times bigger in terms of lines of code/text. Most of the extra complexity size comes from C.
    systemd is about 10 times bigger, like upstart. But with the mandatory deps it blows up to about one hundred times the code footprint! Most of the extra code is in mandatory dependencies, but the systemd core is also bigger than anything else.

    http://wiki.gentoo.org/wiki/Talk:Comparison_of_init_systems

    1. Re:code size by thegarbz · · Score: 1

      What has code size got to do with functionality?

      I don't think there's any argument that a system starting with the small sysvinit will be the slowest of them all to boot. The only issue you may be raising is the presence of bugs due to large code size, but that doesn't change the fact that a program which does something useful needs code to instruct it to do said useful thing.

      Hello-World programs are much smaller than sysvinit.

    2. Re:code size by t482 · · Score: 1

      the question is more around maintenance and ease of understanding... which may be more important in the server space than boot times.

    3. Re:code size by thegarbz · · Score: 1

      This can be solved by great documentation. Unfortunately I think all would agree that neither Upstart nor Systemd have good documentation both internally and externally.

  68. Reinventing the wheel? by funkboy · · Score: 1

    What was wrong with launchd or rc.d?

  69. Portability? by Anonymous Coward · · Score: 0

    sysvinit works great, because it's almost trivial to copy some random init script for $application made for say FreeBSD, and use it on Debian. In many cases you can simply copy away and it works fine, in others some small modifications to a shell script are needed. Easy.

    Init scripts are also great in that they can do *anything* you want them to. Need to purge some old tmp files before startup? Add a single line of code to your shell script. Need to do other complex hackery to get around OS-specific bugs? No problem. Just have some ghetto script you want run on boot? Add it's path to rc.local and done/done. No fucking around.

    While systemd sounds interesting in an ideal world, you just have to look at how Windows is an absolutely inscrutable mess on startup to see how this is going to go. Good luck actually debugging shit when something random fails. Trying to replace syslog? wtf. Have any of these devs actually administered hundreds of machines?

  70. Re: Uh... by geminidomino · · Score: 1

    Anyone working on a machine in a remote datacenter, for starters. Which is where Debian machines are far more likely to be found, by the way.

  71. Re:Uh... by Anonymous Coward · · Score: 0

    Hmmm. I do believe he was quite correct and did say what he meant to say. If it were not abstruse and incomprehensible then only an obtuse individual would have difficulty with it.

  72. Re: Uh... by drinkypoo · · Score: 1

    Anyone working on a machine in a remote datacenter, for starters. Which is where Debian machines are far more likely to be found, by the way.

    Wait, you're telling me that you don't have some remote power functionality? How rinky-dink is this data center? And why aren't the machines virtualized?

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  73. A Request to Debian Distro's by LifesABeach · · Score: 1

    Multi USB to VGA support? Please?

  74. Where did I say ten minutes? by Sits · · Score: 1

    I think I've only ever seen a boot that took ten minutes (or longer) in the case that fsck had to run to check a disk and I'm not counting that. I'm also not including time spent in the BIOS. I guess I should have said "a few minutes" to be clearer though.

  75. Re:Startup times are important, but NOT for Debian by coder111 · · Score: 1

    Well, I've been running Debian Sid on my desktop (and now laptop) for last 10 years. Works well enough for me...

    I know Debian doesn't spend that much time polishing the desktop experience, but installing vanilla XFCE and tweaking it a bit is all I need. And having all the power of Debian at the fingertips is very nice.

    --Coder

  76. Re: Uh... by geminidomino · · Score: 1

    There are more things in heaven and earth, than are dreamt of in your philosophy, drinkypoo. There are, in fact, use cases for which virtualization is not particularly appropriate.

    As for the remote power... it was determined that it was needed rarely enough that the per-incident "pay the NOC monkey to push the reset button" fee was more cost effective than a dozen remote-controlled power units.

    I'd rather that frequency didn't change because someone said "I've made basic sound support a complete clusterfuck, now lets see how I can screw up the boot process."

  77. When they pry SystemV off my cold, dead keyboard by whitroth · · Score: 1

    I've had some dealings with systemd on Fedora. Oh, it's *so* much easier to find the magical names of services (as opposed to, say, ls /etc/init.d/), and start and stop them. Oh, it's all so much easier. And configurable? Just like grub2....

                      mark

    --
    grub2 must DIE!

  78. Re: Uh... by Dextrously · · Score: 1

    Restore the directory from backups, proceed to `shutdown -h now`. Let me guess though, you don't have backups?

    If the configuration is gone, and you have no backups, I could see a few paths to take from there:
    1.) Reinstall systemd for starters, then figure out what is running on the system, download each of their packages (if necessary), extract only the systemd scripts into the systemd directory.
    2.) Backup what information and configuration you need and perform a full reinstall.
    3.) Write your own script to safely bring down your processes, unmount your filesystems and send a signal to the machine hardware to power down. :p

    Deleting important files sucks, but hopefully you have learned your lesson. You can blame others for this issue if you like, but it doesn't help solve your problem at all.

  79. edlin by shani · · Score: 1

    phillistines. ms-dos edit and then dos2unix when done

    I remember learning the edlin command set pretty well. My roommate mocked me, but I defended this use of time by saying "every computer will always have edlin on it".

    I can still feel the scorn of his laughter when MS-DOS 5.0 replaced my trusty edlin with that monstrous "edit" bloatware. :'(

    https://en.wikipedia.org/wiki/Edlin

    I'm happy to see that the FreeDOS project includes a GPL-licensed version of my beloved edlin...

    "edit" indeed!

    1. Re:edlin by rubycodez · · Score: 1

      good news, you can call your roomate up and have the last laugh. edlin is still in 32 bit windows 7 and Vista, but not the 64 bit version (they don't have the 16 bit emulation libraries)

  80. Re:Uh... by steg0 · · Score: 1

    Nothing is stopping you running your init scripts in parallel if you need it.

    Quite true, actually I think in Debian this is already supported for the system boot sequence at least since Squeeze.

    Together with dash being the default /bin/sh now, it already boots pretty fast, I don't see the startup time being a major factor in this decision.

    It's probably more because of the fact that systemd now reaches into areas beyond pure service control that forces Debian to either follow that move or switch to another alternative that has enough manpower behind it.

  81. Are any of the replacement deterministic? by phoenix_rizzen · · Score: 2

    I don't care what they replace it with, so long as there's a flag/switch/option somewhere to make the boot deterministic and identical across systems and across boots.

    We run ~5000 diskless clients using Debian, booting via PXE/TFTP and mounting all filesystems via NFS.

    With Debian 5, everything ran perfectly. With Debian 7, the boot is now very racy and too many things depend on the speed of the network (some services start before their dependencies are ready). We actually had to turn on verbose boot messages in order to slow things down enough for everything to boot correctly. We're testing the "don't run in parallel" flag now to see if that fixes things.

    It's virtually impossible to debug a concurrent/parallel boot system, as every boot is just slightly different from the last. With the original sysvinit system, where things ran in series, one after another, it was very easy to find problems and fix things.

    We don't care if the computer takes an extra 15-30 seconds to boot; we boot everything in the morning via WoL before classes start, and they are rarely booted during the day. What we do care about is being able to debug problems and make things work the same, time after time after time.

    Upstart doesn't sound like it helps much in this area. Don't know about SystemD.

    1. Re:Are any of the replacement deterministic? by Anonymous Coward · · Score: 0

      Upstart (mountall actually) has had lots of trouble mounting NFS at boot. Don't expect it to even work. I don't know about systemd.

    2. Re:Are any of the replacement deterministic? by Anonymous Coward · · Score: 0

      This is EXACTLY the kind of thing systemd is intended to fix.

  82. That's supported by Sits · · Score: 2

    Both upstart and systemd will support unmodified initscripts. It can make your boot slower but it preserves backwards compatibility so your wish has been already been granted (albeit in reverse)!

    You can still use startx even under systemd and upstart (e.g. if you boot to runlevel 3 (which is also emulated)) assuming your setup has provided it.

  83. Re:When they pry SystemV off my cold, dead keyboar by Anonymous Coward · · Score: 0

    GRUB 2 is very configurable. It's also far more convenient to get from a broken state (low-res boot console and missing drives) to OS, since I can load GPT and LVM drivers from its console. It's especially handy to have when stupid retarded motherboard vendors (ASRock 990FX Extreme9, "BIOS" versions 1.30, 1.40, and 1.50) include a fucking broken "built-in EFI shell" that hangs after showing a list of devices 100% of the time. and provide no built-in support for booting a shellx64.efi from the ESP. Also, a broken nvram that consistently deletes every other entry every time you add one is annoying. (U)EFI GRUB2 on a USB drive is a life saver.

  84. Re: using your own startup? good luck by lpq · · Score: 2

    Good luck w/that.

    I hope you don't expect to update any SW on your system for a while.

    opensuse has gone out of their way to make their systems NOT be systemV compat... including moving to a requirement for booting from a ramdisk image (because systemd doesn't handle PATH, it uses fixed paths for it's binaries), integrating the power, device, udev and logging subsystems into systemd, with logging going to a binary MS-like format that is, by default, not saved.

    Also put all the var/run files on ram disk, so progs that were used to their own directory for run /var/run/dir/xxx so they could run as non-root, need to have it recreated each boot....

    it can be real hairy trying to get around all those problems and opensuse's official position is that any other config (including booting directly from your hard disk) is not supported.

  85. Re: using your own startup? good luck by TheCarp · · Score: 1

    I would be surprised to find these issues with Debian, they tend to be very good about avoiding breaking compatibility with different options.

    --
    "I opened my eyes, and everything went dark again"
  86. Though choice by Anonymous Coward · · Score: 0

    Lennart or Canonical (i.e. S.J.R.)
    Both suck in some way but systemd sucks less..and has more clever features, is more cared about. Obviously Upstart was forgotten for a while, I think the lead developer left it untouched for a while. So let systemd win, except - for kFreeBSD. That is a real problem. Debian folks should reimplement configuration file API on top of *BSDs, with whatever they get in their kernel. or just let it die as it probably deserves. Or keep old scripts which is a burden (especially when the system doesn't start).
    Linux ftw but unfortunately hurried up by Lennart et al.

  87. Yeah, maybe; so was suse b4 sold by lpq · · Score: 1

    They were bought out by "attachmate" -- a maker of appliance like office support stuff. Suse was a desktop & server company, now they are focusing on a closed & secure boot for supporting user-tamper proof appliances -- not that it won't be usable for laptops and such, but makes user control and configuration much more difficult.

    They claim that they are following in the steps of redhat on many of these issues who's also going to have a secureboot offering (booting w/binaries signed by MS-certs.

    *shiver*.

  88. Re:Uh... by IllusionalForce · · Score: 0

    It's only straightforward if it's documented somewhere in a sane, complete and concise manner. Is it in a manpage? If not, is it installed by default at least?

  89. Re:Please. by Foresto · · Score: 1

    If you believe Pulse is rock solid or used by the entire world, I can only imagine that you don't get out much. The rest of your comment seems to be responding to something that I didn't write, so I guess I'll ignore it.