[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#679402:



The rationale for putting it in a separate package is that it's possible that in future there might be multiple versions of MySQL in Debian (MySQL, MySQL Cluster, MariaDB, Percona etc).

MySQL is already packaged and I'm currently working on packaging MySQL Cluster. This package lets you choose which MySQL variant to run, but a single mysql-tzdata would work with any of them and prevent common code being duplicated between the packages.

-Steve





On 2 July 2012 18:04, Russ Allbery <rra@debian.org> wrote:
Steven Ayre <steveayre@gmail.com> writes:

> Essentially it's simply a package that links mysql_tzinfo_to_sql and
> tzdata together using a trigger.

> When mysql-tzdata is first installed and then when tzdata is updated the
> postinst script is run, which loads the mysql_tzinfo_to_sql output into
> the mysql.timezone_* tables. That's done either as debian-sys-maint or
> by running a bootstrap copy of mysqld (depending on whether mysqld is
> already running).

> This ensures that when timezone information gets updated the update of
> tzdata automatically updates MySQL's copy too, which should keep them in
> sync. That makes it simpler to update timezones, and makes it less
> likely that MySQL's copies are out of date. Being an optional package,
> people will only get this behaviour if they choose it so they could
> still manage those tables manually if they wished.

This really feels like something that should be done in the mysql package
itself.  If the behavior should be optional, that's cause for a debconf
question in the mysql package, with a reasonable default.  But having a
package that consists solely of a trigger to update a second package for
changes in a third package just feels like the wrong design to me.

--
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


--
To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 87d34e3xhn.fsf@windlord.stanford.edu" target="_blank">http://lists.debian.org/[🔎] 87d34e3xhn.fsf@windlord.stanford.edu



Reply to: