Project

General

Profile

Bug #44121

calling cephadm shell again looses bash history

Added by Sebastian Wagner 10 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

As we're always creating a new container, we obviously also loosing the bash history, which is unfortunate.

especially one sometimes has to carefully craft ceph-orch calls.

Anyway we can easily fix this, without having a persistent "tooldbox" container?

History

#1 Updated by Sage Weil 10 months ago

we could bind the root .bash_history file to something like /var/lib/ceph/$fsid/.bash_history ?

#2 Updated by Sage Weil 9 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 33519

#3 Updated by Sage Weil 9 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF