<div dir="ltr">I rebooted a VM running Atomic and lost bash history, but I was unaware that reboots were supposed to *preserve* bash history! I thought that was expected behavior - a violent end to a process wouldn&#39;t necessarily allow its buffers to be flushed.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 24, 2014 at 11:36 PM, Kushal Das <span dir="ltr">&lt;<a href="mailto:kushaldas@gmail.com" target="_blank">kushaldas@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Nov 23, 2014 at 8:32 PM, Dusty Mabe &lt;<a href="mailto:dusty@dustymabe.com">dusty@dustymabe.com</a>&gt; wrote:<br>
&gt;<br>
&gt; The other day during the Atomic Test Day jzb and I noticed that we<br>
&gt; were losing bash history (seemingly randomly). Today I dug into it a<br>
&gt; bit more. If you reboot a machine from a bash session then you will<br>
&gt; lose all of your history for that session. Note the following is from<br>
&gt; the F21 Cloud image:<br>
&gt;<br>
&gt; [root@f21 ~]# cat .bash_history | wc -l<br>
&gt; 2<br>
&gt; [root@f21 ~]# history | wc -l<br>
&gt; 123<br>
&gt; [root@f21 ~]# reboot<br>
&gt; Connection to 172.24.4.228 closed by remote host.<br>
&gt; Connection to 172.24.4.228 closed.<br>
&gt; [root@localhost ~(keystone_admin)]#<br>
&gt; [root@localhost ~(keystone_admin)]# ssh -i key1.pem<br>
&gt; <a href="mailto:fedora@172.24.4.228">fedora@172.24.4.228</a><br>
&gt; Last login: Thu Nov 20 18:54:48 2014 from 172.24.4.225<br>
&gt; [fedora@f21 ~]$<br>
&gt; [fedora@f21 ~]$ sudo su -<br>
&gt; [root@f21 ~]# history | wc -l<br>
&gt; 3<br>
&gt;<br>
&gt; Has anyone else seen this? Is there an existing bug report?<br>
&gt;<br>
</span>I can not reproduce this in a few images I tried.<br>
<span class="HOEnZb"><font color="#888888"><br>
Kushal<br>
--<br>
Fedora Cloud Engineer<br>
CPython Core Developer<br>
Director Python Software Foundation<br>
<a href="http://kushaldas.in" target="_blank">http://kushaldas.in</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
cloud mailing list<br>
<a href="mailto:cloud@lists.fedoraproject.org">cloud@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/cloud" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/cloud</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-of-conduct</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Twitter: <a href="http://twitter.com/znmeb" target="_blank">http://twitter.com/znmeb</a>; Computational Journalism on a Stick <a href="http://j.mp/CompJournoStickOverview" target="_blank">http://j.mp/CompJournoStickOverview</a><br><br>Remember, if you&#39;re traveling to Bactria, Hump Day is Tuesday and Thursday.</div>
</div>