[debian-mysql] Bug#739708: Bug#739708: mysql-server-5.5: Broken /etc/init.d/mysql conffile handling

James Page james.page at ubuntu.com
Mon Mar 10 11:04:04 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Bobo

And then I read this one...

On 21/02/14 17:15, Bob Proulx wrote:
> The daily upgrade of Sid brought in the latest mysql-server-5.5
> which prompted for a change in /etc/init.d/mysql.
> 
> -Configuration file '/etc/init.d/mysql' ==> Modified (by you or by
> a script) since installation. ==> Package distributor has shipped
> an updated version. What would you like to do about it ?  Your
> options are: Y or I  : install the package maintainer's version N
> or O  : keep your currently-installed version D     : show the
> differences between the versions Z     : start a shell to examine
> the situation The default action is to keep your current version. 
> *** mysql (Y/I/N/O/D/Z) [default=N] ? Y
> 
> However that file has no local modifications.  It is the stock
> file from version 5.5.35+dfsg-1.  There were no local changes.
> 
> --- /etc/init.d/mysql   2013-12-29 17:59:05.401201931 -0700 +++
> /etc/init.d/mysql.dpkg-new  2014-02-18 12:13:59.000000000 -0700 @@
> -109,7 +109,8 @@ /usr/bin/mysqld_safe > /dev/null 2>&1 &
> 
> # 6s was reported in #352070 to be too few when using ndbcluster -
> for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14; do +        # 14s was
> reported in #736452 to be too few with large installs +        for
> i in $(seq 1 30); do sleep 1 if mysqld_status check_alive nowarn ;
> then break; fi log_progress_msg "." @@ -119,7 +120,6 @@ # Now start
> mysqlcheck or whatever the admin wants. 
> output=$(/etc/mysql/debian-start) [ -n "$output" ] &&
> log_action_msg "$output" -               : "ensure $? is 0" else 
> log_end_msg 1 log_failure_msg "Please take a look at the syslog" @@
> -186,4 +186,3 @@ ;; esac
> 
> -exit 0
> 
> The /var/log/dpkg.log file shows this upgrade transition.

This would indeed indicate that the exit 0 is a local change; it's not
present in the -1 release.

I don't think the conffile handling is broken.


- -- 
James Page
Ubuntu and Debian Developer
james.page at ubuntu.com
jamespage at debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTHZwkAAoJEL/srsug59jDTSAQAJzc2P3M5/Tz6tn+URKzdP2h
RoH2A4ZIiPLlPZECpdGH+t4XF5XzNlCQuNTUoRVTLkOnoErHJIzIyb6cBh4TPyY+
VIBENUMeJAOtgY/6lqNKOlVM5INVOryK0tgElc7Xtv3ASM+kSA3YBJX9aAyQ4UG4
TGTFGn1Zf0h+mtmGnBQwrhumg9WJTUxHx3gcOPPeWg5digXTj7Q5vqSAFeG1ZxUf
kGG5SogcIhDI1pxUYiySbShFwLYysdbHGJ+LynYlsG+BXdj5qy9xMTeIMdghFZkK
11R8+Vzzad+u/uNv3s0hVRfNecLeuGwT/fkUy256nej3V9G0+MuzLuLDzqrrd9VT
ZHhJE1bpETfy77QMKKDzTlJPLcRnPrDMg2zGfYjPfYP2ST/iiNEbf/hPZFy5lrU0
e1pOFvWdNrSNHHkfaVxBtnf8e5a8d5ZayrMl9Q28FTiMtitb/kT8yEbrgirxssyc
Z7HbGs+OZp2f7bX9ksBvmdof/jEDRL5XWVCILbOWfDU8Zqy4waw0LCZ4SYIORjGy
2N6BC1BCpiCVztVPk7gL35K30nrb+adsFo0Bc4U9d+he/Z01BQXavI94+IT1nboR
KfAejZkm0RqYKYh402ony3xfT634/SQSzr05qRnKh146HZWwKUXC/Tchlawsw+qo
fZx5MyYGG+HWJFKyAPig
=dL/4
-----END PGP SIGNATURE-----



More information about the pkg-mysql-maint mailing list