[Bug 1585087] Re: *.override files do not work for session jobs
martin.pitt at ubuntu.com
Tue May 24 07:49:08 UTC 2016
strace shows that upstart *does* read
/usr/share/upstart/sessions/bamfdaemon.override successfully. Also, if I
replace the override with
then "true" is being executed, and the job loops because the *.conf has
"restart" (i. e. expected).
This opens the hypothesis that the job is being started through
something else than the "start on" condition. But it is not being
referenced by any other *.conf file. And indeed, even if I drop the
"start on" from bamfdaemon.conf it still gets started.
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:
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).
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
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)
UpgradeStatus: No upgrade log present (probably fresh install)
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