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

Bug 463680

Summary: dev-db/mysql: /var/run -> /run is now tmpfs, breaking emerge --config and the init script
Product: Gentoo Linux Reporter: Fabio Erculiani (RETIRED) <lxnay>
Component: New packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabio Erculiani (RETIRED) gentoo-dev 2013-03-29 07:37:11 UTC
/var/run is now a symlink to /run. /run is tmpfs.
/var/run/mysqld gets removed on every /run umount.

This broke both emerge --config dev-db/mysql and /etc/init.d/mysql.
The init script should create the directory on every start while the config script should either use another dir or create the same.

Reproducible: Always
Comment 1 Brian Evans (RETIRED) gentoo-dev 2013-03-29 15:26:45 UTC
(In reply to comment #0)
> /var/run is now a symlink to /run. /run is tmpfs.
> /var/run/mysqld gets removed on every /run umount.
> 
> This broke both emerge --config dev-db/mysql and /etc/init.d/mysql.
> The init script should create the directory on every start while the config
> script should either use another dir or create the same.

dev-db/mysql-init-script-2.0_pre1-r3 does exactly this for init scripts (using checkconfig). 

The build should create /var/run/mysqld upon install such that emerge --config is run successfully.
Comment 2 Fabio Erculiani (RETIRED) gentoo-dev 2013-03-29 16:07:51 UTC
Yes, you're perfectly right. Killing the bug.