[Bug 1273462] Re: Users can mistakenly run init.d scripts and cause problems if an equivalent upstart job already exists

Dimitri John Ledkov launchpad at surgut.co.uk
Sat May 3 03:09:57 UTC 2014


** Also affects: upstart (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: mysql-5.5 (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: upstart (Ubuntu Utopic)
   Importance: Critical
     Assignee: Dimitri John Ledkov (xnox)
       Status: Triaged

** Also affects: mysql-5.5 (Ubuntu Utopic)
   Importance: Medium
       Status: Invalid

** Changed in: mysql-5.5 (Ubuntu Trusty)
       Status: New => Invalid

** Changed in: upstart (Ubuntu Trusty)
       Status: New => Triaged

** Changed in: upstart (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: upstart (Ubuntu Trusty)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: upstart (Ubuntu Utopic)
       Status: Triaged => In Progress

** Bug watch added: Debian Bug tracker #712763
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712763

** Also affects: upstart (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712763
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1273462

Title:
  Users can mistakenly run init.d scripts and cause problems if an
  equivalent upstart job already exists

Status in “mysql-5.5” package in Ubuntu:
  Invalid
Status in “upstart” package in Ubuntu:
  In Progress
Status in “mysql-5.5” source package in Trusty:
  Invalid
Status in “upstart” source package in Trusty:
  Triaged
Status in “mysql-5.5” source package in Utopic:
  Invalid
Status in “upstart” source package in Utopic:
  In Progress
Status in “upstart” package in Debian:
  Unknown

Bug description:
  
  Description:    Ubuntu 13.10
  Release:        13.10

  mysql-server-5.5:
    Installed: 5.5.35-0ubuntu0.13.10.1
    Candidate: 5.5.35-0ubuntu0.13.10.1
    Version table:
   *** 5.5.35-0ubuntu0.13.10.1 0
          500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu/ saucy-security/main amd64 Packages
          100 /var/lib/dpkg/status
       5.5.32-0ubuntu7 0
          500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages

  
  In Ubuntu 13.10, the Upstart job and the init.d script do not work properly.  In previous versions, the init.d script was a symlink to the wrapper script around upstart (/lib/init/upstart-job).  This conflict means that if the server was started using the init.d script, upstart does not recognize that the server is running and will attempt to start a second instance of mysqld.

  Also problematic is that if the upstart job is started using the
  service or start commands, the init.d script's "stop" function runs a
  mysql shutdown, but upstart simply restarts mysqld (because it's
  marked respawn in the upstart config).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1273462/+subscriptions



More information about the foundations-bugs mailing list