On Tue, Jun 10, 2008 at 10:55 AM, Ritesh Raj Sarraf &lt;<a href="mailto:rrs@researchut.com">rrs@researchut.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Luis and others..<br>
<br>
Thank you for the wonderful and informative wiki that you guys have maintained<br>
for splashy.<br>
<div class="Ih2E3d"><br>
On Monday 09 Jun 2008 20:09:52 Ritesh Raj Sarraf wrote:<br>
&gt; On Monday 09 Jun 2008 06:05:45 you wrote:<br>
&gt; &gt; I take from this that you are using Splashy from initramfs but init-top<br>
&gt; &gt; is not &quot;early&quot; enough for your installation of LUKS?<br>
&gt; &gt;<br>
&gt; &gt; Why don&#39;t you move the Splashy script where it make sense for your system<br>
&gt; &gt; and redo your initramfs?<br>
&gt; &gt;<br>
&gt; &gt; Splashy (or any other applications) won&#39;t be &quot;panacea&quot;. Meaning, there is<br>
&gt; &gt; no perfect solution for all systems world-wide. Different people have<br>
&gt; &gt; different needs.<br>
&gt;<br>
&gt; I think the problem is different.<br>
&gt;<br>
&gt; splashy works good to some extent with LUKS. The problem is that it doesn&#39;t<br>
&gt; give the user a prompt to decrypt the device (on which the root-filesystem<br>
&gt; is installed). So because of this problem, I&#39;ve disabled splashy in<br>
&gt; initramfs through /etc/default/splashy.<br>
&gt;<br>
&gt; # Set to &quot;1&quot; to allow Splashy to be put inside initramfs<br>
&gt; # Remember to run &quot;update-initramfs&quot; and read the README file carefully<br>
&gt; # default &quot;1&quot;<br>
&gt; ENABLE_INITRAMFS=0<br>
&gt;<br>
&gt;<br>
&gt; This allows me to have splashy NOT start from initramfs and thus I get a<br>
&gt; proper password prompt to decrypt my root device.<br>
&gt;<br>
<br>
</div>So I also tried your suggestion and moved splashy from init-top to<br>
local-bottom. While that serves the purpose (I get the password prompt<br>
properly), splashy for some reason keeps dying. Is the splashy log logged<br>
somewhere.<br>
<div class="Ih2E3d"><br>
&gt; When not using splashy from initramfs, as a user, my expectation is that it<br>
&gt; should start as soon as real root is available and init is started. But in<br>
&gt; the boot process I see it starting too late. That is the bug I suspect, for<br>
&gt; which this bug report is filed.<br>
&gt;<br>
&gt; I&#39;m using dependency boot init. If I look into /etc/rc2.d/, I don&#39;t see any<br>
&gt; listing of splashy there.<br>
&gt;<br>
&gt; In a non-initramfs scenario, shouldn&#39;t splashy be starting as soon as root<br>
&gt; dev is available?<br>
&gt;<br>
&gt; Same is the case during shutdown. splashy starts almost halfway.<br>
&gt;<br>
&gt; Ritesh<br>
<br>
</div>For the delayed startup/shutdown problem, it is an interesting case.<br>
splashy has:<br>
### BEGIN INIT INFO<br>
# Provides: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;splashy<br>
# Required-Start: &nbsp; &nbsp;mountkernfs<br>
# Required-Stop: &nbsp; &nbsp; $all<br>
# Default-Start: &nbsp; &nbsp; S<br>
# Default-Stop: &nbsp; &nbsp; &nbsp;0 6<br>
# Short-Description: A script to calculate the progress percentage for init<br>
scripts<br>
# Description: &nbsp; &nbsp; &nbsp; This calculates the progress percentage<br>
# &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for the scripts in /etc/rcS.d and<br>
# &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/rc$CURRENT_RUNLEVEL.d.<br>
### END INIT INFO<br>
<br>
But still it gets listed under /etc/rcS.d/ at S22splashy. That is too late.<br>
<br>
If I change that to S02splashy, I get exactly what I expect. I don&#39;t know why<br>
it is getting S22 given that it already has &quot;Required-Start: mountkernfs&quot;.<br>
I also tried using &quot;X-Start-Before&quot; but that too didn&#39;t help.<br>
<br>
So I think maybe the problem is with insserv.</blockquote><div><br>I&#39;d suggest that you dpkg -P splashy and reinstall. This is what the postinst script does:<br><br>update-rc.d splashy start 03 S . stop 01 6 0 . &gt;/dev/null<br>
<br>So, Splashy should be /etc/rcS.d/S03splashy. <br></div></div><br>This script does nothing if Splashy is running from initramfs.<br><br>-- <br>----)(----- <br>Luis Mondesi<br>Maestro Debiano<br><br>----- START ENCRYPTED BLOCK (Triple-ROT13) ------<br>
Gur Hohagh [Yvahk] qvfgevohgvba oevatf gur fcvevg bs Hohagh gb gur fbsgjner jbeyq.<br>----- END ENCRYPTED BLOCK (Triple-ROT13) ------