Package mysql-server-5.6 should Depend: bsdutils for /usr/bin/logger in .postinst

Bug #1534544 reported by TJ
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-5.6 (Ubuntu)
Fix Released
High
Robie Basak

Bug Description

A user reported, for 15.04 Vivid (which appears to continue to affect all releases to 16.04), on a "minimal installation" a failure of the -server post-install script. This appears to be due to a missing dependency on 'bsdutils' which contains '/usr/bin/logger'

debian/mysql-server-5.6.postinst contains the following fragment which is used on the right side of pipes:

# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"

The installation error was:

invoke-rc.d: Unit mysql.service is masked
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 132: logger: command not found
2016-01-15 04:57:19 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-01-15 04:57:19 0 [Note] /usr/sbin/mysqld (mysqld 5.6.27-0ubuntu0.15.04.1) starting as process 6938 ...
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 210: logger: command not found
dpkg: error processing package mysql-server-5.6 (--install):
 subprocess installed post-installation script returned error exit status 127
Processing triggers for systemd (219-7ubuntu6) ...
Errors were encountered while processing:
 mysql-server-5.6

TJ (tj)
Changed in mysql-5.6 (Ubuntu):
status: New → Triaged
importance: Undecided → High
TJ (tj)
Changed in mysql-5.6 (Ubuntu):
milestone: none → ubuntu-16.04
Robie Basak (racb)
Changed in mysql-5.6 (Ubuntu):
assignee: nobody → Robie Basak (racb)
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mysql-5.6 - 5.6.28-1

---------------
mysql-5.6 (5.6.28-1) unstable; urgency=medium

  [ Robie Basak ]
  * New upstream release.
  * Fix GNU/Hurd build regression (Closes: #793358). Thanks to Samuel
    Thibault.
    - Do not remove .pc in dh_auto_clean as this is wrong. Revert
      previous commit eb6e6d4 that added this.
    - Do not remove cmake/os/GNU.cmake in dh_auto_clean as this is also
      wrong as it gets introduced by a quilt patch. Revert previous commit
      7ef4a27 that added this.
  * Drop d/p/fix_testsuite_date.patch: fixed upstream.
  * wrap-and-sort
  * d/mysql-server-core-5.6.install: remove duplicate entries. Thanks to Otto
    for pointing these out.

  [ Lars Tangvald ]
  * Removed legacy plugin install code (LP: #1468185).
  * Made infinite loop in systemd script time out (LP: #1478849).

  [ Robie Basak ]
  * Depend on bsdutils as logger is used by mysql-server-5.6.postinst (LP:
    #1534544). Thanks to TJ.

 -- Robie Basak <email address hidden> Fri, 15 Jan 2016 12:11:43 +0000

Changed in mysql-5.6 (Ubuntu):
status: Fix Committed → Fix Released
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.