Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463680 - dev-db/mysql: /var/run -> /run is now tmpfs, breaking emerge --config and the init script
Summary: dev-db/mysql: /var/run -> /run is now tmpfs, breaking emerge --config and the...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-29 07:37 UTC by Fabio Erculiani (RETIRED)
Modified: 2013-03-29 16:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.