Hi Frantisek,

On Sat, Mar 24, 2012 at 15:15, Frantisek Hanzlik <fra...@hanzlici.cz> 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.

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
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

Reply via email to