[Bugs] [Bug 1181051] cmd log history should not be a hidden file

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 12 03:04:33 UTC 2015


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

SATHEESARAN <sasundar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |ASSIGNED
   Fixed In Version|glusterfs-3.6.0.44-1        |



--- Comment #3 from SATHEESARAN <sasundar at redhat.com> ---
The file /var/log/glusterfs/.cmd_log_history was no longer a hidden file as I
tested with glusterfs-3.4.0.44-1.el6rhs
Now the new file with the name - /var/log/glusterfs/cmd_history.log -  was
created.

The system that was being upgraded from RHS 3.0.3 to RHS 3.0.4 is having 2
files now. one is /var/log/glusterfs/.cmd_log-history other is
/var/log/glusterfs/cmd_history.log

In such a case continuity of logs will be lost. 

So avoid this scenario, post install script should do the following :

if (new-installation of Red Hat Gluster Storage Server ):
    no-action-required
if( upgrade-to-3.0.4 or higher )
    rename /var/log/glusterfs/.cmd_log_history
/var/log/glusterfs/cmd_history.log


It was decided in the sync-up meeting to track this change with this bug
Moving the state of bug to assigned.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=sDvMusEpEz&a=cc_unsubscribe


More information about the Bugs mailing list