package: create /var/lib/cloudstack/management directory#11723
package: create /var/lib/cloudstack/management directory#11723shwstppr wants to merge 1 commit intoapache:mainfrom
Conversation
Fixes apache#11593 Ensure that the RPM package creates the /var/lib/cloudstack/management directory during installation. This provides a consistent location for management server state and runtime data, avoiding the need for manual directory creation. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11723 +/- ##
============================================
+ Coverage 17.36% 17.42% +0.06%
- Complexity 15245 15338 +93
============================================
Files 5888 5892 +4
Lines 525831 526521 +690
Branches 64183 64293 +110
============================================
+ Hits 91298 91770 +472
- Misses 424227 424398 +171
- Partials 10306 10353 +47
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@shwstppr rocky ubuntu I wonder if we should use the home directory of cloud user |
|
Thanks @weizhouapache for checking. I guess @abh1sar can comment better on it. |
@shwstppr I like Wei's suggestion of using the user.home with documentation update. |
|
Thanks @weizhouapache and @abh1sar . I'm closing this PR based on your suggestion |
@abh1sar |
These are temporary files used only once after creation. I don't think we would need to move them on upgrade. |
good, thanks for the confirmation @abh1sar |
Description
Fixes #11593
Ensure that the RPM package creates the /var/lib/cloudstack/management directory during installation. This provides a consistent location for management server state and runtime data, avoiding the need for manual directory creation.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?