<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><h3 class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-iw" style="overflow:hidden;white-space:nowrap;max-width:92%;font-size:0.75rem;margin:inherit;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><br class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-Apple-interchange-newline"><table cellpadding="0" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-cf m_-7964894552879111292gmail-m_-4953740663498580345gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block;color:rgb(34,34,34);font-weight:400;white-space:normal"><tbody style="display:block"><tr class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-acZ" style="height:auto;display:flex"><td class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gF m_-7964894552879111292gmail-m_-4953740663498580345gmail-gK" style="white-space:nowrap;padding:0px;vertical-align:top;width:768.672px;line-height:20px;display:block;max-height:20px"><table cellpadding="0" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-cf m_-7964894552879111292gmail-m_-4953740663498580345gmail-ix" style="border-collapse:collapse;table-layout:fixed;width:768px"></table></td></tr></tbody></table></h3><h3 class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-iw" style="overflow:hidden;white-space:nowrap;max-width:92%;font-size:0.75rem;margin:inherit;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Ian Jackson" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal"></span></span></h3><h3 class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-iw" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;white-space:nowrap;overflow:hidden;max-width:92%;font-size:0.75rem;margin:inherit;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Mark Hindley" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal">Mark Hindley:</span></span></h3><div><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Mark Hindley" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal"><span style="color:rgb(34,34,34);font-size:small;letter-spacing:normal">>I wonder why runit is not allowing the running daemon</span><br style="color:rgb(34,34,34);font-size:small;letter-spacing:normal"><span style="color:rgb(34,34,34);font-size:small;letter-spacing:normal">>to be detected?</span><br></span></span></div><div><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Mark Hindley" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal"><span style="color:rgb(34,34,34);font-size:small;letter-spacing:normal">It can detect if is managed by another runsv, but can't if the process is out there running in the wild</span></span></span></div><div><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Mark Hindley" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal"><span style="color:rgb(34,34,34);font-size:small;letter-spacing:normal"><br></span></span></span></div><div><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Mark Hindley" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal"><span style="color:rgb(34,34,34);font-size:small;letter-spacing:normal">>My inclination here is to persist with an initscript and disable the Dbus</span><br style="color:rgb(34,34,34);font-size:small;letter-spacing:normal"><span style="color:rgb(34,34,34);font-size:small;letter-spacing:normal">>activation (with /bin/true).</span><span style="color:rgb(34,34,34);font-size:small;letter-spacing:normal"><br></span></span></span></div><div><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Mark Hindley" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal"><span style="color:rgb(34,34,34);font-size:small;letter-spacing:normal">I like that, far better than Dbus activation.</span></span></span></div><div><br></div><div><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Mark Hindley" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="display:inline;vertical-align:top;line-height:20px;font-size:13.125px;letter-spacing:0.2px"><h3 class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-iw" style="overflow:hidden;white-space:nowrap;max-width:92%;margin:inherit;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;line-height:20px"><table cellpadding="0" class="m_-7964894552879111292gmail-cf m_-7964894552879111292gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block"><tbody style="display:block"><tr style="display:flex"><td class="m_-7964894552879111292gmail-gF m_-7964894552879111292gmail-gK" style="padding:0px;vertical-align:top;width:auto;line-height:20px;display:block;max-height:20px;color:rgb(119,119,119);letter-spacing:0.2px"><br></td><td class="m_-7964894552879111292gmail-gF m_-7964894552879111292gmail-gK" style="padding:0px;vertical-align:top;width:auto;line-height:20px;display:block;max-height:20px;color:rgb(119,119,119);letter-spacing:0.2px"><br></td><td class="m_-7964894552879111292gmail-gF m_-7964894552879111292gmail-gK" style="padding:0px;vertical-align:top;width:auto;line-height:20px;display:block;max-height:20px;color:rgb(119,119,119);letter-spacing:0.2px"><table cellpadding="0" class="m_-7964894552879111292gmail-cf m_-7964894552879111292gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block;white-space:normal"><tbody style="display:block"><tr style="display:flex"><td class="m_-7964894552879111292gmail-gF m_-7964894552879111292gmail-gK" style="white-space:nowrap;padding:0px;vertical-align:top;width:auto;line-height:20px;display:block;max-height:20px"><span name="Jonathan de Boyne Pollard" class="m_-7964894552879111292gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;outline:none;letter-spacing:0.2px;line-height:20px;font-weight:normal">Jonathan de Boyne Pollard:</span></td></tr></tbody></table><br class="m_-7964894552879111292gmail-Apple-interchange-newline"><br class="m_-7964894552879111292gmail-Apple-interchange-newline"><table cellpadding="0" class="m_-7964894552879111292gmail-cf m_-7964894552879111292gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block"><tbody style="display:block"><tr style="display:flex"><td class="m_-7964894552879111292gmail-gF m_-7964894552879111292gmail-gK" style="padding:0px;vertical-align:top;width:auto;line-height:20px;display:block;max-height:20px;font-weight:400;letter-spacing:0.2px"><span name="Jonathan de Boyne Pollard" class="m_-7964894552879111292gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px">Jonathan de Boyne Pollard</span></td></tr></tbody></table></td></tr></tbody></table></h3></span></span></div><h3 class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-iw" style="overflow:hidden;white-space:nowrap;max-width:92%;font-size:0.75rem;margin:inherit;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Ian Jackson" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal">>Better that Debian's /sbin/shutdown shim be extended to have "poweroff" <br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;letter-spacing:normal;white-space:normal"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;letter-spacing:normal;white-space:normal">>as a further alternative name.</span><br></span></span></h3><div><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Ian Jackson" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;letter-spacing:normal;white-space:normal">You are rigth, I will try with a symlink or a sh script that exec shutdown</span></span></span></div><div><br></div><h3 class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-iw" style="overflow:hidden;white-space:nowrap;max-width:92%;font-size:0.75rem;margin:inherit;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Ian Jackson" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal">Ian Jackson:</span></span></h3><div><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Ian Jackson" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal">></span></span>elogind works on FreeBSD, right ? Where there are no cgroups. So how</div>>are we still depending on cgroups ?<h3 class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-iw" style="overflow:hidden;white-space:nowrap;max-width:92%;font-size:0.75rem;margin:inherit;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><table cellpadding="0" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-cf m_-7964894552879111292gmail-m_-4953740663498580345gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block;color:rgb(34,34,34);font-weight:400;white-space:normal"><tbody style="display:block"><tr class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-acZ" style="height:auto;display:flex"><td class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gF m_-7964894552879111292gmail-m_-4953740663498580345gmail-gK" style="white-space:nowrap;padding:0px;vertical-align:top;width:768.672px;line-height:20px;display:block;max-height:20px"><table cellpadding="0" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-cf m_-7964894552879111292gmail-m_-4953740663498580345gmail-ix" style="border-collapse:collapse;table-layout:fixed;width:768px"><tbody><tr><td class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-c2" style="display:flex"></td></tr></tbody></table></td></tr></tbody></table></h3></div><div>Always thought that you need Consolekit2 on FreeBSD, since it can disable cgroup.. but I never tried to </div><div>build Elogind on KfreeBSD so I can't really tell.</div><div><br></div><div><br class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-Apple-interchange-newline"><table cellpadding="0" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-cf m_-7964894552879111292gmail-m_-4953740663498580345gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:0.875rem;letter-spacing:0.2px;display:block"><tbody style="display:block"><tr class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-acZ" style="height:auto;display:flex"><td class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gF m_-7964894552879111292gmail-m_-4953740663498580345gmail-gK" style="white-space:nowrap;padding:0px;vertical-align:top;width:768.672px;line-height:20px;display:block;max-height:20px"><table cellpadding="0" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-cf m_-7964894552879111292gmail-m_-4953740663498580345gmail-ix" style="border-collapse:collapse;table-layout:fixed;width:768px"><tbody><tr><td class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-c2" style="display:flex"><h3 class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-iw" style="overflow:hidden;max-width:92%;font-size:0.75rem;margin:inherit;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-qu" style="outline:none"><span name="Mark Hindley" class="m_-7964894552879111292gmail-m_-4953740663498580345gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px;font-weight:normal">Mark Hindley:</span></span></h3></td></tr></tbody></table></td></tr></tbody></table></div><div>> I didn't have to make any changes to polkit-1 and it works for me.<br></div><div>I have just downgraded polkit and dbus to Debian official version, and it's not working for me</div><div>$loginctl reboot</div><div><div>Reboot action called.</div><div>Failed to reboot system via elogind: Interactive authentication required.</div></div><div>and i get</div><div>' string "challenge" ' with dbus-send ...</div><div><br></div><div>But I have a system that is non-standard in several ways, and I can't think of all the changes that i have made in the last 4 years and</div><div>figure out if there is a reason why it's not working, only for me, in a reasonably short time.</div><div>I suggest to go forward and push Elognd into Unstable assuming that standard polkit works fine, and than</div><div>rely on bug reports.</div><div><br></div><div>Thanks,</div><div>Lorenzo</div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
</blockquote></div></div></div>