<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Interesting. CentOS 7.1 includes a default rc.local that has this
comment in it:<br>
<br>
# In contrast to previous versions due to parallel execution during
boot<br>
# this script will NOT be run after all other services.<br>
<br>
Lost in my thoughts,<br>
--LnxGnome<br>
<br>
<br>
<div class="moz-cite-prefix">On 9/7/15 3:50 PM, Jim Kinney wrote:<br>
</div>
<blockquote
cite="mid:CAEo=5PwZEBRUKtTipG1z9efHVMQctnxtz-90A3CTJe1Pc_y4yw@mail.gmail.com"
type="cite">
<p dir="ltr">Rc.local does run last even on systemd.</p>
<p dir="ltr">Write a script that does pre-networking stuff, call
it prenet. Put its systwmd file in local systemd area,
etc/systemd/(something - on my phone and can't recall) and copy
network.service there as well. Change network.service to
network2.service and make it dependent on prenet. Make a postnet
and have depend on network2. That will force the ordering.
Disable real network.service and enable all three new ones.
Reboot.</p>
<div class="gmail_quote">On Sep 7, 2015 3:08 PM, "Chris Fowler"
<<a moz-do-not-send="true"
href="mailto:cfowler@outpostsentinel.com">cfowler@outpostsentinel.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div
style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000">
<div>I guess too late now to come to that meeting.</div>
<div><br>
</div>
<div>I only have two questions.</div>
<div><br>
</div>
<div>1. Does /etc/rc.local truly run after everything
else? </div>
<div><br>
</div>
<div>2. How can I run a script BEFORE Networking and run
another one AFTER networking? I want to make sure the
BEFORE is truly finished before networking is started.
I want to make sure the later is done after interfaces
are up.</div>
<div><br>
</div>
<div>The latter is because I had a need to write
/etc/network/interfaces during boot up. I gave up,
ignorance, and replaced /etc/network/interfaces and then
restarted the device. </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<hr>
<div>
<blockquote style="border-left:2px solid
#1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From:
</b>"Steve Litt" <<a moz-do-not-send="true"
href="mailto:slitt@troubleshooters.com"
target="_blank">slitt@troubleshooters.com</a>><br>
<b>To: </b><a moz-do-not-send="true"
href="mailto:ale@ale.org" target="_blank">ale@ale.org</a><br>
<b>Sent: </b>Monday, September 7, 2015 1:40:54 PM<br>
<b>Subject: </b>Re: [ale] systemd talk from July has
slide deck online now<br>
</blockquote>
</div>
<div>
<blockquote style="border-left:2px solid
#1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt">On
Mon, 07 Sep 2015 11:21:24 -0400<br>
Jim Kinney <<a moz-do-not-send="true"
href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>>
wrote:<br>
<br>
> <a moz-do-not-send="true"
href="http://ale.org/?p=632" target="_blank">http://ale.org/?p=632</a><br>
> <br>
> The slides are now added to the bottom of the
announcement page.<br>
<br>
Hi Jim,<br>
<br>
I think for your next presentation, you should either
get rid of all<br>
comparisons to sysvinit and Upstart, or include
comparisons to runit,<br>
OpenRC, Epoch, Suckless Init plus s6 plus LittKit,
Suckless Init plus<br>
daemontools-encore plus LittKit, and the soon to be
published s6-rc.<br>
<br>
If your presentation is simply "how to use systemd",
you need no<br>
comparisons. If your presentation includes "why
systemd is better", it<br>
would be misleading not to include the many excellent
init systems<br>
available.<br>
<br>
SteveT<br>
<br>
Steve Litt <br>
August 2015 featured book: Troubleshooting: Just the
Facts<br>
<a moz-do-not-send="true"
href="http://www.troubleshooters.com/tjust"
target="_blank">http://www.troubleshooters.com/tjust</a><br>
_______________________________________________<br>
Ale mailing list<br>
<a moz-do-not-send="true" href="mailto:Ale@ale.org"
target="_blank">Ale@ale.org</a><br>
<a moz-do-not-send="true"
href="http://mail.ale.org/mailman/listinfo/ale"
target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a moz-do-not-send="true"
href="http://mail.ale.org/mailman/listinfo"
target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a moz-do-not-send="true" href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a moz-do-not-send="true"
href="http://mail.ale.org/mailman/listinfo/ale"
rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a moz-do-not-send="true"
href="http://mail.ale.org/mailman/listinfo" rel="noreferrer"
target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ale mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<br>
</body>
</html>