<div dir="ltr"><div>Thanks for the reply and the help.</div><div><br></div>The reason I did 
<span style="font-weight:bold;font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">/lib/systemd/systemd-sysv-inst</span><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><b><wbr>all enable lirc </b>was because when I did 

<span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><b>sudo systemctl disable lirc </b></span></span><div><span style="font-size:12.8px">it was  redirected to 

<b><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">/lib/systemd/systemd-sysv-inst</span></b><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><b><wbr>all disable lirc</b> and I figured if I disabled something the best way to reverse it was to enable it.</span></span></div><div><span style="font-size:12.8px"><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div><div><span style="font-size:12.8px">It is working now so I would ask what query can I make that will show that what I did is a problem?  I have become gun shy on making changes now that it is working.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Using a slightly different option, <b>ps aux | grep lirc</b> I see<b> l</b></span><b style="font-size:12.8px">ircd -H udp -d 5000</b><span style="font-size:12.8px">, which is what I want.</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Allen</span></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 21, 2018 at 8:48 PM, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, 21 Aug 2018 11:05:43 -0700, you wrote:<br>
<br>
>Sometimes going for a long walk is a good thing.  I did and then issued<br>
>this command:<br>
><br>
>sudo /lib/systemd/systemd-sysv-inst<wbr>all enable lirc<br>
><br>
>Now my remote is back and I am happy to leave the kludge in.<br>
><br>
>Allen<br>
<br>
</span>It looks like lirc in 16.04 is still using the old SysV init system -<br>
it has its control file in /etc/init.d/lirc, rather than<br>
/lib/systemd/system/lirc.servi<wbr>ce.  Since 16.04 uses systemd, things<br>
like lirc that still use init.d are supported by systemd through a<br>
kludge that does some of what the init.d used to do.  So when you run<br>
"systemctl start lirc", systemd will, through the kludge, eventually<br>
run "/etc/init.d/lirc start".  The kludge does not work very well, so<br>
systemd often does not know what things it runs that way are actually<br>
doing.  If they stop, it does not seem to detect that and fails to<br>
restart them.  That may be what happened to you.<br>
<br>
When I do "systemctl disable lirc" and "systemctl start lirc" on my<br>
16.04 system, it works - I can do "ps -e | grep lirc" and see that<br>
lircd is running.  So there must be something different about your<br>
16.04 that is not making that work.<br>
<br>
Anyway, the correct way to reverse a "systemctl disable lirc" command<br>
is actually to do "systemctl enable lirc".  Using<br>
"/lib/systemd/systemd-sysv-ins<wbr>tall" directly is a bad idea - it is an<br>
internal part of systemd not intended to be used directly.  In your<br>
case, it looks like it has worked, but I would recommend doing this:<br>
<br>
sudo /lib/systemd/systemd-sysv-inst<wbr>all disable lirc<br>
sudo systemctl enable lirc<br>
sudo systemctl restart lirc<br>
<br>
That should get you back to where you were.<br>
<br>
Now that you are running 16.04, I think it would be a good idea for<br>
you to start learning about systemd.  It is very different from what<br>
you are used to in older versions of Ubuntu, which used to run SysV<br>
init.d at first, and more recently Upstart, which had its control<br>
files in /etc/init (note: no .d on the end of that).  Upstart was very<br>
compatible with SysV init.d and things like lirc that still used<br>
init.d worked well, so you may not have noticed that change.  Systemd<br>
is not so compatible, and in 18.04 most things that used to use init.d<br>
have been migrated to directly use systemd.<br>
<div class="m_9149042004715350355HOEnZb"><div class="m_9149042004715350355h5">______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailma<wbr>n/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing<wbr>_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div><br></div></div>