Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed: init.sh & obdiag_backup.sh #649

Merged
merged 11 commits into from
Dec 23, 2024
Merged

Conversation

Teingi
Copy link
Contributor

@Teingi Teingi commented Dec 23, 2024

Summary

问题1: init.sh 脚本在处理rca历史文件的时候find ${OBDIAG_HOME}/rca -maxdepth 1 -name "*_scene.py" -type f -exec rm -f {} 当第一次安装的时候没有rca文件会导致find报错;

问题2: sudo 方式安装的时候执行obdiag_backup.sh脚本会将用户切到root导致备份的信息在/root/.obdiag/backup下,不符合预期

Solution Description

fixed: init.sh & obdiag_backup.sh

Copy link
Contributor

@wayyoungboy wayyoungboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wayyoungboy wayyoungboy merged commit 5f8cc82 into oceanbase:master Dec 23, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants