Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794697 - dev-db/mysql-init-scripts don't handle mysql's chroot feature properly
Summary: dev-db/mysql-init-scripts don't handle mysql's chroot feature properly
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-07 08:52 UTC by Dirk Tilger
Modified: 2021-06-07 17:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to /etc/init.d/mysql to have datadir handled properly with chroot setting (mysql-chroot-datadir.patch,1.05 KB, patch)
2021-06-07 08:52 UTC, Dirk Tilger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Tilger 2021-06-07 08:52:17 UTC
Created attachment 714120 [details, diff]
Patch to /etc/init.d/mysql to have datadir handled properly with chroot setting

/etc/init.d/mysql doesn't start with chroot setting enabled, due to the init script checking for datadir in the wrong place.