Poettering: systemd for Administrators, Part XVIII (controllers)
Posted Oct 24, 2012 19:18 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)
Posted Oct 24, 2012 22:04 UTC (Wed) by rgmoore (✭ supporter ✭, #75)
So you prefer it when developers just dump a bunch of code out there and don't bother to document it? I actually like it when a developer bothers to explain what their code does and how to use it.
Posted Oct 24, 2012 22:35 UTC (Wed) by rahulsundaram (subscriber, #21946)
Posted Oct 24, 2012 22:57 UTC (Wed) by dlang (subscriber, #313)
Posted Oct 24, 2012 23:30 UTC (Wed) by cry_regarder (subscriber, #50545)
Posted Oct 24, 2012 23:46 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)
Should we stop doing all this unix-y crap and return to clean and pure world of AUTOEXEC.BAT and config.sys?
Posted Oct 25, 2012 11:21 UTC (Thu) by k8to (subscriber, #15413)
Posted Oct 25, 2012 12:15 UTC (Thu) by rahulsundaram (subscriber, #21946)
Posted Oct 25, 2012 15:59 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
SysV scripts were never simple. They are almost always brittle and unreliable pieces of crap. Especially cross-distribution scripts (LSB? Ha!).
Posted Oct 25, 2012 18:26 UTC (Thu) by akeane (guest, #85436)
Well spoken Mr Lang!
To be fair though, I do like the Roman numerals, it gives a nice classical feel to the whole proceedings!
akeane@superfrog-dev: man XVIII systemd
No manual entry for XVIII
No manual entry for systemd
akeane@superfrog-dev: Ah, man; echo $?
I pity the fool who uses systemd, and keep your new fangled Init "systems" AWAY from MR T's van and BINS!
Posted Oct 26, 2012 21:39 UTC (Fri) by jond (subscriber, #37669)
Posted Oct 25, 2012 18:09 UTC (Thu) by akeane (guest, #85436)
No, just writing "too much" code.
Where "too much" is #defined as any...
Posted Oct 25, 2012 0:16 UTC (Thu) by nix (subscriber, #2304)
Posted Oct 25, 2012 15:39 UTC (Thu) by Kit (guest, #55925)
Posted Oct 26, 2012 9:20 UTC (Fri) by jezuch (subscriber, #52988)
"Install. It works."
I'd also like every CPU to have a DWIM instruction.
Posted Oct 26, 2012 21:10 UTC (Fri) by intgr (subscriber, #39733)
I believe systemd actually comes the closest of all init systems. Many upstream packages already ship systemd units -- just "make install" and possibly "systemctl enable foo" required. Compared to SysV where your distro's package maintainer duplicated a shell script for each package, and assigned a "priority number" on an arbitrary scale to order service startup.
It also replaces several other pieces that had to be manually configured before. As the article mentiones, systemd services share CPU time equally by default, not depending on the number of processes they have like before.
And many more I can think of: Most systemd users probably don't even realize that it includes a readahead tool for speeding up system startup. It works without any hacks and configuration within LXC/namespace containers. If you want a serial console, you only need to configure it in one place (on the kernel command line). Instead of distros supplying acpid and a maintainer-written script for power button events, systemd has a simple built-in default policy -- so shutting down VMs from the host works out of the box. And many more that I can't remember right now.
So, many things that seem like duct-taped together in other systems (usually by distro package maintainers), or things that required unnecessary amounts of fiddling and configuration -- now systemd does The Right Thing using a sensible built-in policy and provides straightforward configuration options.
Posted Nov 2, 2012 14:53 UTC (Fri) by knobunc (subscriber, #4678)
I have an external SATA drive that I use for backups. Occasionally I have need to do:
> umount /backup
> e2fsck /dev/sde1
However, the fsck fails because systemd has locked the device.
I have tried systemd stop of various unit names, but have never found the right one to make systemd not hold a lock on the device.
Posted Nov 2, 2012 15:22 UTC (Fri) by raven667 (subscriber, #5198)
Posted Nov 2, 2012 15:45 UTC (Fri) by knobunc (subscriber, #4678)
Posted Nov 2, 2012 16:45 UTC (Fri) by rahulsundaram (subscriber, #21946)
Posted Oct 28, 2012 16:19 UTC (Sun) by nix (subscriber, #2304)
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds