Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17203 - MySQL upgrade script assumes that 'mysql' user exists

Attached to Project: Arch Linux
Opened by Marti (intgr) - Thursday, 19 November 2009, 15:44 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 19 November 2009, 17:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: MySQL upgrade script assumes that the 'mysql' user exists.

Installing the 'mysql' package itself does not create a user called 'mysql' -- that user is created later when AND IF you start /etc/rc.d/mysqld

If you never run that initscript, you will see the following errors at MySQL upgrades:

( 3/17) upgrading mysql [#####################] 100%
chown: invalid user: `mysql:mysql'
error: command failed to execute correctly

Additional info:
* config and/or log files etc.
[2009-10-03 00:37] installed mysql (5.1.38-1)
[2009-11-19 17:38] upgraded mysql (5.1.39-1 -> 5.1.41-1)


Steps to reproduce:
1. Create a clean install of some older Arch Linux version
2. Install an older version of the mysql package
3. Upgrade mysql to the latest
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Thursday, 19 November 2009, 17:24 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#17199 
Comment by Marti (intgr) - Thursday, 19 November 2009, 15:45 GMT
Sorry, that log was missing one line:
[2009-10-12 11:32] upgraded mysql (5.1.38-1 -> 5.1.39-1)

Loading...