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

Re: Bug#679402:



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/>


Reply to: