QuicksearchDisclaimerThe individual owning this blog works for Oracle in Germany. The opinions expressed here are his own, are not necessarily reviewed in advance by anyone but the individual author, and neither Oracle nor any other party necessarily agrees with them.
|
Damned axe ...Sunday, October 30. 2011Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Wait what? Debian has a start script for sudo?
And then its the whole (apparently Linux-wide) approach of storing important information within commented lines in start scripts. A comment is a comment is a comment.
It's some kind of clean-up they do at boot to ensure that there are no surviving privileges after boot
Forget sudo, I'm trying to use debian for a 586 EPIA board as its the only mainstream distro that still 'works' on it (so much for linux runs on old/modest hardware). Debian just does not work. Works on fresh power on boot, boot reboot won't work. Utter garbage.
Thankfully systemd gets rid of linear order of services startups and dependencies.
Honestly i consider systems as an even worse idea than init.d . However it shows one problem: Is linux a desktop os, a mobile os or a server os. When looking to systemd it looks more like directed into desktop/mobile ...
However that leads me to one my hypthesises about Linux: Linux as a group of relatively similar operating systems will disappear, however Linux as an ABI will stay. Underneath that ABI we will see vastly different products.
This same dependency crap is the reason I hate the Solaris SMF so much.. a large part of the logic behind it is just broken by design.
For example one thing that I see every time I hit 'reboot' on our clustered server a few seconds too early.. SMF stops user services, SMF unplumbs the network interfaces, SMF unmounts the file systems - oh look here, we've got a QFS mounted that we've just cut off from its metadata owner. Shared server not responding.. Shared server not responding. Shared server not responding. Mount options? onerror=panic.. and there goes the system down the coredump drain...
I'm not sure why you think SMF is broken. Virtually any finite automata are vulnerable to orders of operation.
SMF by itself is probably okay, but the rather stupid default configuration to first remove network interfaces and then unmount filesystems is the real problem. As Sun/Oracle sells their own cluster filesystems (QFS, Lustre, ...) they should have thought about the people actually using them.
Add to that the fact that even with the latest QFS 5.x release there is still no SMF manifest included with reasonable dependency settings, it still installs legacy init scripts.
Blocking boot with a prompt on the local console asking for a password is just plain bad. You could hack up an apache init script that's smarter about this (starting at a sane time and running in its own tmux session or something) but any system that even allows this to happen to begin with is obviously flawed.
It's not much of an excuse but it's worth considering that Debian's attempt to wedge dependencies into sysv goes back a long way; this predates SMF to the best of my knowledge. I think it's commonly accepted that something better needs to exist, and of course now various distributions (and unixes) have chosen various competing techniques (upstart, smf, launchd, systemd, BSD rc.d, ..................) Despite my own general acceptance of the utility of newfangled init systems as "better" I still kind of like the stupid old BSD style approach that's still used by Arch Linux. It's totally braindead, but it's also trivial to understand and manipulate, which is something you cannot say for most of the newfangled init replacements. |
+1The LKSF bookThe book with the consolidated Less known Solaris Tutorials is available for download here
Web 2.0Contact
Networking xing.com My photos Buttons![]() This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Germany License
![]() ![]() ![]() Blog AdministrationDonateOkay, okay ... as several people have asked for it ... but you know my opinion.
|