Re: .bash_history deleted

2007-07-31 Thread Peter Jordan
Eduard Bloch, 07/08/07 16:40:

 Hi Anna.

 Anna Machens, 08.07.2007 15:48:
 That’s really odd; I experienced the same thing yesterday. Suddenly
 there was no
 history anymore but since then, the file has been growing normally like
 before.
 
 I have seen this several times in the past, still having no idea how this 
 happens. For a while I suspected bash_completion but I think I saw this also 
 without bash_completion. Finally I am suspecting the filesystem journaling 
 doing weird things, since it it mostly happened after crashes with JFS and 
 XFS, but (almost? not sure) never with Ext3.
 
 

I have seen this today too, with my normal user account under X (debian
lenny | kernel 2.6.22.1). I use a crypted ext3 file system.

I worked in Eterm, and suddenly my history of the Eterm session was cut
off (only the last 500 commands | LIMIT of the bash_history is 50.000)
I think that Eterm has overwrite the old history with the cut one,

Sorry my bad English, i hope you understood me.

PJ


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



.bash_history deleted

2007-07-08 Thread Anna Machens


 hey,
 (i'm using debian unstable )
 i am totally confused. suddenly, my .bash_history file for root did not
 exist
 anymore. now, i've been checking for rootkits, sniffers, listening ports and
 all that, and did not find anything suspicious. is it possible, that the
 file
 could have been deleted by some upgrade or other kind of weird error? i am
 quite sure that i did not erase it myself.
 thanks for your help
 anna


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: .bash_history deleted

2007-07-08 Thread Mathias Brodala
Hi Anna.

Anna Machens, 08.07.2007 15:48:
  (i'm using debian unstable )
  i am totally confused. suddenly, my .bash_history file for root did not
  exist
  anymore.

That’s really odd; I experienced the same thing yesterday. Suddenly there was no
history anymore but since then, the file has been growing normally like before.

 now, i've been checking for rootkits, sniffers, listening
 ports and
  all that, and did not find anything suspicious.

Same here.

 is it possible, that the
  file
  could have been deleted by some upgrade or other kind of weird error? i am
  quite sure that i did not erase it myself.

I’m curious too now. I wouldn’t have looked farther into that if you hadn’t
raised the question.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: .bash_history deleted

2007-07-08 Thread Eduard Bloch

 Hi Anna.
 
 Anna Machens, 08.07.2007 15:48:
   (i'm using debian unstable )
   i am totally confused. suddenly, my .bash_history file for root did not
   exist
   anymore.
 
 That’s really odd; I experienced the same thing yesterday. Suddenly
 there was no
 history anymore but since then, the file has been growing normally like
 before.

I have seen this several times in the past, still having no idea how this 
happens. For a while I suspected bash_completion but I think I saw this also 
without bash_completion. Finally I am suspecting the filesystem journaling 
doing weird things, since it it mostly happened after crashes with JFS and XFS, 
but (almost? not sure) never with Ext3.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: .bash_history deleted

2007-07-08 Thread steef

Eduard Bloch wrote:

Hi Anna.

Anna Machens, 08.07.2007 15:48:


 (i'm using debian unstable )
 i am totally confused. suddenly, my .bash_history file for root did not
 exist
 anymore.
  

That’s really odd; I experienced the same thing yesterday. Suddenly
there was no
history anymore but since then, the file has been growing normally like
before.



I have seen this several times in the past, still having no idea how this happens. 
  


so did i, but i did not worry when .bash_history built up normally 
again. never had this kind of phenomenon when using ext3 or reiserfs


steef


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: .bash_history deleted

2007-07-08 Thread michael

Quoting Eduard Bloch [EMAIL PROTECTED]:





I have seen this several times in the past, still having no idea how  
 this happens. For a while I suspected bash_completion but I think I  
 saw this also without bash_completion. Finally I am suspecting the   
filesystem journaling doing weird things, since it it mostly   
happened after crashes with JFS and XFS, but (almost? not sure)   
never with Ext3.




This is normal behaviour for journaled filesystems like XFS and JFS,  
because they only journal the metadata. However, this shouldn't delete  
the file, only fill it with garbage or zeros.


Cheers,


This message was sent using IMP, the Internet Messaging Program.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]