← Back to team overview

touch-packages team mailing list archive

[Bug 1429035] [NEW] invoke-rc.d doesn't start freshly installed services which only have an init.d script

 

Public bug reported:

On a fresh and minimal vivid installation running systemd, install
apache2. It won't be running after starting:

$ sudo sh -x /usr/sbin/invoke-rc.d apache2 start
+ systemctl --quiet is-system-running
+ sctl_args=--job-mode=ignore-dependencies
+ systemctl --quiet is-enabled apache2.service
+ [ start = start ]
+ exit 0

That's because of our patch in invoke-rc.d to not start disabled systemd
services. But this fails here as after a fresh installation the sysv-
generator didn't run yet, so there is no apache2.service.

** Affects: sysvinit (Ubuntu)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: New

** Affects: sysvinit (Debian)
     Importance: Unknown
         Status: Unknown

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

** Changed in: sysvinit (Ubuntu)
    Milestone: None => ubuntu-15.03

** Changed in: sysvinit (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

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

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/1429035

Title:
  invoke-rc.d doesn't start freshly installed services which only have
  an  init.d script

Status in sysvinit package in Ubuntu:
  New
Status in sysvinit package in Debian:
  Unknown

Bug description:
  On a fresh and minimal vivid installation running systemd, install
  apache2. It won't be running after starting:

  $ sudo sh -x /usr/sbin/invoke-rc.d apache2 start
  + systemctl --quiet is-system-running
  + sctl_args=--job-mode=ignore-dependencies
  + systemctl --quiet is-enabled apache2.service
  + [ start = start ]
  + exit 0

  That's because of our patch in invoke-rc.d to not start disabled
  systemd services. But this fails here as after a fresh installation
  the sysv-generator didn't run yet, so there is no apache2.service.

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


Follow ups

References