mysql_install_db run without --user in postinst
Bug #591875 reported by
Klas Lindfors
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
release: 9.10
version: 5.1.37-1ubuntu5.4
When doing an upgrade of a mysql-server with binlogs enabled running mysql_install_db without --user=mysql will result in new binlogs created with root as owner thus resulting in failed upgrade and mysqld not starting.
So adding --user=mysql to mysql_install_db in mysql-server postinst should probably be harmless and fix this problem.
Related branches
lp:~clint-fewbar/ubuntu/maverick/mysql-5.1/maverick-beta-papercuts
Rejected
for merging
into
lp:ubuntu/maverick/mysql-5.1
- Thierry Carrez (community): Disapprove
- Ubuntu branches: Pending requested
-
Diff: 124 lines (+18/-31)4 files modifieddebian/additions/my.cnf (+1/-1)
debian/apparmor-profile (+2/-1)
debian/changelog (+14/-29)
debian/mysql-server-5.1.mysql.upstart (+1/-0)
To post a comment you must log in.
Could you outline from which release you tried to upgrade from? And which release to tried to upgrade to?