[Bug 1651278] [NEW] systemd-sysv-generator does not fully translate facilities to targets

Brian Moyles brian at moyles.net
Mon Dec 19 23:43:48 UTC 2016


Public bug reported:

See the bug raised here:
https://github.com/systemd/systemd/issues/4762

and fixed upstream here:
https://github.com/systemd/systemd/commit/e932f5407ef5ad05d25d7dfefa4cda0fe81cc346

In short, given a sysv-init script with valid LSB headers, one of which defines
Required-Start: $foo
and given that a foo.target target exists and is enabled, I would expect to see After=foo.target in the generated unit.

In practice (on all versions of systemd prior to the unreleased v233) no
other facilities beyond the pre-defined facilities ($network, $local_fs,
etc) will be used in generating the systemd wrapper for the old sysv
init script.

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

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

Title:
  systemd-sysv-generator does not fully translate facilities to targets

Status in systemd package in Ubuntu:
  New

Bug description:
  See the bug raised here:
  https://github.com/systemd/systemd/issues/4762

  and fixed upstream here:
  https://github.com/systemd/systemd/commit/e932f5407ef5ad05d25d7dfefa4cda0fe81cc346

  In short, given a sysv-init script with valid LSB headers, one of which defines
  Required-Start: $foo
  and given that a foo.target target exists and is enabled, I would expect to see After=foo.target in the generated unit.

  In practice (on all versions of systemd prior to the unreleased v233)
  no other facilities beyond the pre-defined facilities ($network,
  $local_fs, etc) will be used in generating the systemd wrapper for the
  old sysv init script.

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



More information about the foundations-bugs mailing list