<p dir="ltr">About 1, I would disagree. An rc file can have any scripting language the author can rely on to be on the system (zhs, bash, sh, perl, etc.), there's no standardized options. Does init script x fork the exact same way as y? They could be in written very differently. When systemd services are looked at, either at the file or with systemctl show, the options are all listed.</p>
<p dir="ltr">Also, while looking at a shell script may be second nature to users like us, to newer or less experienced users, and not importantly machines, systemd services are vastly easier to parse. Certain things can't be achieved through the options systemd gives you, but then at that point you can just use an initscript in systemd, if need be.</p>
<p dir="ltr">Bill Giokas<br>
<a href="http://kaictl.net/">http://kaictl.net/</a></p>
<div class="gmail_quote">On Nov 10, 2015 1:15 PM, "Derek Pressnall" <<a href="mailto:derekp@needcaffeine.net">derekp@needcaffeine.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I really like systemd in general, but there are a few things that gets me:<br>
1) It isn't as transparent as rc files<br>
When there is a problem, you can't just turn on -xv in the bash<br>
scripts to see what all is going on.  And with the parallel startup<br>
nature, it is hard to figure out which messages are related to a given<br>
hang condition on startup.  Of course, there are systemd-specific<br>
commands that can be use to diagnose issues, but that is an additional<br>
learning curve (traditionally, there was an easy transition from<br>
normal Unix admin skills to Linux).<br>
<br>
Here's a real-world example that I ran into recently: the system<br>
(Fedora 22 I believe) hung up in the middle of shutdown, giving me no<br>
option other than a hard power off.  Apparently, I mounted a Windows<br>
SMB file share manually, and systemd decided to cut the network off<br>
before unmounting the share.  So the shutdown hung.  Now maybe I<br>
should have added a line in /etc/fstab indicating this was a _netdev,<br>
but I still should be able to temporarily mount a filesystem from the<br>
command line.<br>
<br>
2) Could systemd still do its magic if it wasn't PID 1?  That is, keep<br>
a very simple traditional init, which then launches systemd that would<br>
then own the bulk of the other services.  This would allow peace an<br>
harmony between the old and new way of doing things.  But then again,<br>
I imagine that systemd wouldn't be as useful if there were other<br>
processes running outside of it.<br>
<br>
Now, something I'd like to see added (if it can be done with the<br>
existing systemd framework):  Could systemd intercept a console key<br>
combination that brings up a (password-protected) rescue environment?<br>
That way if there is a problem on startup or shutdown, this can be<br>
used to at least help diagnose the issue.  The environment could be a<br>
command shell with all the busybox commands pre-linked into it (so<br>
that it wouldn't even require a mounted root image).<br>
<br>
On Mon, Nov 9, 2015 at 9:01 AM, sten <<a href="mailto:me@sud0.com">me@sud0.com</a>> wrote:<br>
> Hey,<br>
><br>
> So I'm trying to put together a presentation about systemd for people who<br>
> have decided they have some sort of problem with systemd. I'd love for it to<br>
> be conversational styled - me and someone (or someones) who wants to talk in<br>
> front of people in favor of sysvinit or a different alternative.<br>
><br>
> I talked to a couple folks 2 meetings ago, but I may have been overly<br>
> confrontational about it, and I really want to hear what objections still<br>
> remain.<br>
><br>
> Drop me a note on- or off-list, let's see if we can come up with something<br>
> together.<br>
><br>
> -sten<br>
><br>
><br>
> _______________________________________________<br>
> discuss mailing list<br>
> <a href="mailto:discuss@lists.chicagolug.org">discuss@lists.chicagolug.org</a><br>
> <a href="https://lists.chicagolug.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.chicagolug.org/mailman/listinfo/discuss</a><br>
><br>
<br>
_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@lists.chicagolug.org">discuss@lists.chicagolug.org</a><br>
<a href="https://lists.chicagolug.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.chicagolug.org/mailman/listinfo/discuss</a><br>
</blockquote></div>