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

Fix owner after smdba execution in the DB migration script (bsc#1214746) #7590

Merged
merged 2 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion susemanager/bin/pg-migrate-x-to-y.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ fi

cp /var/lib/pgsql/data-pg$OLD_VERSION/pg_hba.conf /var/lib/pgsql/data
cp /var/lib/pgsql/data-pg${OLD_VERSION}/postgresql.conf /var/lib/pgsql/data/
chown postgres:postgres /var/lib/pgsql/data/*

echo "$(timestamp) Tune new postgresql configuration..."
smdba system-check autotuning
if [ $? -eq 0 ]; then
chown postgres:postgres /var/lib/pgsql/data/*
echo "$(timestamp) Successfully tuned new postgresql configuration."
else
echo "$(timestamp) Tuning of new postgresql configuration failed!"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix possible permission issues with database migration script (bsc#1214746)
Loading