[Bug 1557163] [NEW] Init script fails to start at all if not set to start on boot

chasemp 1557163 at bugs.launchpad.net
Mon Mar 14 20:52:10 UTC 2016


Public bug reported:

Details on the installed package:

labtestvirt2001:~# aptitude show  corosync
Package: corosync
State: installed
Automatically installed: no
Version: 2.3.3-1ubuntu1
Priority: optional
Section: admin
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 1,001 k

Details on the OS:

Linux labtestvirt2001 3.16.0-62-generic #83~14.04.1-Ubuntu SMP Fri Feb
26 22:52:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu 14.04.4 LTS \n \l


Outline:

When I installed the corosync package and tried to start it there was no
output and it returned exit code 0.  After some digging I see the
following in the init script:

if [ "$START" != "yes" ]; then
        exit 0
fi

When I look in /etc/default/corosync I see:

# start corosync at boot [yes|no]
START=no


The 'START' param is only meant to affect behavior on boot in the init script provided the service will not start at all unless the service is set to start on boot.  If I change the config to:

# start corosync at boot [yes|no]
START=yes

I am then able to start the package normally from the command line.

** Affects: corosync (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to corosync in Ubuntu.
https://bugs.launchpad.net/bugs/1557163

Title:
  Init script fails to start at all if not set to start on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/corosync/+bug/1557163/+subscriptions



More information about the Ubuntu-server-bugs mailing list