[Bug 1585087] Re: *.override files do not work for session jobs

Martin Pitt martin.pitt at ubuntu.com
Tue May 24 07:54:35 UTC 2016

Got it -- bamfdaemon also installs
/usr/share/dbus-1/services/org.ayatana.bamf.service which calls
bamfdaemon-dbus-runner which does

if [ -n "$UPSTART_SESSION" ]; then
  /sbin/initctl start bamfdaemon

That explains why its upstart job is D-Bus activated and the "start on"
condition is redundant (and disabling it doesn't work).

Adding "manual" to e. g. im-config.override does work as expected.

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

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.

  *.override files do not work for session jobs

Status in upstart package in Ubuntu:

Bug description:
  bamfdaemon ships a session job
  /usr/share/upstart/sessions/bamfdaemon.conf. According to upstart(5)
  it should be possible to disable that with an override:

    $ cat /usr/share/upstart/sessions/bamfdaemon.override

  but this doesn't work, bamfdaemon is still started. I also tried to
  put "start on disabled" into the *.override file, no effect either.

  (Background: I'm trying to migrate jobs to systemd units one by one,
  thus for every systemd user unit that I add I need to disable the
  corresponding upstart job).

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: upstart 1.13.2-0ubuntu23
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  ApportVersion: 2.20.1-0ubuntu4
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue May 24 09:23:36 2016
  InstallationDate: Installed on 2016-05-23 (0 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20160522)
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: Session
  UpstartRunningSessionCount: 1
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: Error: command ['initctl', '--system', 'version'] failed with exit code 1: initctl: Name "com.ubuntu.Upstart" does not exist
   upstart-event-bridge stop/pre-start, process 2537
   upstart-event-bridge stop/pre-start, process 3444
   upstart-event-bridge stop/pre-start, process 4582

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list