mysql-server-5.0 does not prompt for conffile update on upgrades

Bug #203710 reported by Jamie Strandboge
2
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.0 (Ubuntu)
Invalid
High
Unassigned

Bug Description

mysql-server-5.0 (at least) does not prompt the user to update its conffiles, even though they are listed in /var/lib/dpkg/status.

1. dpkg --purge mysql-server-5.0
2. apt-get install mysql-server-5.0=<last-version>
3. update /etc/mysql/debian-start with anything (eg 'echo foo')
4. apt-get update ; apt-get upgrade

mysql-server-5.0 upgrades without updating the file with no confirmation, even though the md5sum is different for /etc/mysql/debian-start than what is in /var/lib/dpkg/status.

One ramification of this is that dapper-hardy upgrades will likely be hugely broken as the conffiles won't get upgraded.

Changed in mysql-dfsg-5.0:
importance: Undecided → High
description: updated
Changed in mysql-dfsg-5.0:
assignee: nobody → nvalcarcel
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

It seems to work fine here. Steps i take:

1) pbuilder-gutsy login
2) apt-get install mysql-server-5.0
3) echo "# test test est" >> /etc/mysql/debian-start
4) change sources.list from gutsy to hardy
5) apt-get update ; apt-get install mysql-server-5.0

And on the bottom of debian-start i see "#test test test"

Changed in mysql-dfsg-5.0:
assignee: nvalcarcel → nobody
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Also tested using apparmor. Marking the bug as Incomplete.

Changed in mysql-dfsg-5.0:
status: New → Incomplete
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Sorry for that, i make a mistake and misunderstood the bug.
It is confirmed, working on it.

Changed in mysql-dfsg-5.0:
status: Incomplete → Confirmed
Changed in mysql-dfsg-5.0:
assignee: nobody → nvalcarcel
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

My mistake. dpkg did the right thing because debian-start did not change between versions (so it assumes the change is still ok).

Changed in mysql-dfsg-5.0:
assignee: nvalcarcel → nobody
status: Confirmed → Invalid
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

mysql-server-5.0 upgrades without updating the file with no confirmation because the old and new packaged conffile hashes are the same, so we can be reasonably sure things are ok keeping the changes. Thanks Keybuk for your help.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.