Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794697

Summary: dev-db/mysql-init-scripts don't handle mysql's chroot feature properly
Product: Gentoo Linux Reporter: Dirk Tilger <dirk>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to /etc/init.d/mysql to have datadir handled properly with chroot setting

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.