FS#18800 - [mysql] command failed to execute correctly when install
Attached to Project:
Arch Linux
Opened by Andrew (drandre) - Tuesday, 23 March 2010, 10:12 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 23 March 2010, 17:38 GMT
Opened by Andrew (drandre) - Tuesday, 23 March 2010, 10:12 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 23 March 2010, 17:38 GMT
|
Details
Description:
See description on forum thread http://bbs.archlinux.org/viewtopic.php?pid=730051#p730051 Seems to be a problem with the post install script: chown -R mysql:mysql var/lib/mysql &> /dev/null seems to be missing a leading slash in the path. Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: sudo pacman -S mysql ... error: command failed to execute correctly |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Tuesday, 23 March 2010, 17:38 GMT
Reason for closing: Fixed
Additional comments about closing: on trunk
Tuesday, 23 March 2010, 17:38 GMT
Reason for closing: Fixed
Additional comments about closing: on trunk
/var/lib/mysql is created with: "usr/bin/mysql_install_db --datadir=/var/lib/mysql --user=mysql" in post_install.
From what I know, makepkg overrides groups and users rights and set root rights to everyfile. Tell me if I am wrong.
@Andrew
Please, try to remove and re-install mysql.