Re: .bash_history in F15/16 randomly truncated/incomplete/damaged

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



suvayu ali wrote:
> Hi Frantisek,
> 
> On Sat, Mar 24, 2012 at 15:15, Frantisek Hanzlik <franta@xxxxxxxxxxx> wrote:
>>
>> Now occurred to me that i can watch several (mainly roots) history files
>> by incrond and start some script which log some events on it. Maybe it
>> helps.
> 
> I recalled your post and did a check before I rebooted my laptop today
> (after 7 days). I think you were correct and my claim that its a
> ridiculous idea was wrong.
> 
> This is what I did:
> 
> 1. I closed all running apps except for a terminal.
> 2. Executed these commands
>    $ echo "1 test"
>    $ echo "2 test"
>    $ echo "3 test"
>    $ sudo shutdown -P now
> 3. On turning on the laptop again, I could not find either of the three
>    commands with history | grep -E "echo.+test"
> 
> In addition to $HISTFILE, I log all my history to a separate file. That
> file _did_ have all the test and the shutdown commands. So we can
> conclude bash was doing the right thing and systemctl is to blame.
> 
> At the moment I am very busy, so I would urge you to file a bug report.
> If you post the bug id back to the list, I'll try to add more comments
> if I find anything with regards to this.

Hello Suvayu,

I now had a bit time for some testing, and hopefuly was able induce
situation when history is always (strictly speaking, 6x in 6 tests)
lost. Please see bugreport:

https://bugzilla.redhat.com/show_bug.cgi?id=811046

On machines whereon i'm now working I not succeeded to simulate it,
but i did only few experiments.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux