Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SYSTEMD_AUTO_ENABLE_${PN} = "mask" worked in warrior, stopped in zeus #279

Open
JohannesSchilling opened this issue Sep 25, 2020 · 1 comment
Labels

Comments

@JohannesSchilling
Copy link

In our project, we have two instances of a service, one being the real deal and the other a simulator. Both offer the exact same D-Bus interface under the exact same D-Bus name. Therefore we need to mask the one not currently supposed to run, as otherwise systemd won't let us start the other (services of type=dbus must have a unique D-Bus name, it seems).

In Yocto "warrior", we had SYSTEMD_AUTO_ENABLE = "mask" in simulator.bb and SYSTEMD_AUTO_ENABLE = "enable" in real_service.bb.

In Yocto zeus (more specifically in this commit, presets were introduced and the line previously allowing us to mask services (by just passing through ${SYSTEMD_AUTO_ENABLE} as the subcommand to systemctl) was replaced, only allowing "enable". A later commit claims to "Restore mask and preset targets", but didn't; we still get only a disabled, not masked, simulator.service on target.

@kraj
Copy link
Contributor

kraj commented Sep 26, 2020

@akiernan can you take a look ?

@kraj kraj added the bug label Sep 26, 2020
schnitzeltony added a commit to schnitzeltony/meta-openembedded that referenced this issue Dec 30, 2021
Changes in FLTK 1.3.8
- Make "FLTK_CONSOLIDATE_MOTION" user-definable (issue openembedded#76)
- Fix compiler warnings (backported from 1.4)
- Add new dialog fl_choice_n() with extended return values (openembedded#282)
- Account for deprecation of [NSBitmapImageRep initWithFocusedViewRect:]
  in macOS 10.14
- macOS: fix fullscreen window when other windows were created before
- Fix issue openembedded#279: "HiDpi issue on macOS with retina display"
- Fix issue openembedded#287: "FLTK 1.3.6 doesn't handle fullscreen on macOS"
- Fix issue openembedded#288: "FLTK 1.3.6+ doesn't notify window movement on macOS"
- macOS: Allow building with non-Apple compiler that may not support blocks

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Dec 31, 2021
Changes in FLTK 1.3.8
- Make "FLTK_CONSOLIDATE_MOTION" user-definable (issue openembedded#76)
- Fix compiler warnings (backported from 1.4)
- Add new dialog fl_choice_n() with extended return values (openembedded#282)
- Account for deprecation of [NSBitmapImageRep initWithFocusedViewRect:]
  in macOS 10.14
- macOS: fix fullscreen window when other windows were created before
- Fix issue openembedded#279: "HiDpi issue on macOS with retina display"
- Fix issue openembedded#287: "FLTK 1.3.6 doesn't handle fullscreen on macOS"
- Fix issue openembedded#288: "FLTK 1.3.6+ doesn't notify window movement on macOS"
- macOS: Allow building with non-Apple compiler that may not support blocks

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jan 4, 2022
Changes in FLTK 1.3.8
- Make "FLTK_CONSOLIDATE_MOTION" user-definable (issue openembedded#76)
- Fix compiler warnings (backported from 1.4)
- Add new dialog fl_choice_n() with extended return values (openembedded#282)
- Account for deprecation of [NSBitmapImageRep initWithFocusedViewRect:]
  in macOS 10.14
- macOS: fix fullscreen window when other windows were created before
- Fix issue openembedded#279: "HiDpi issue on macOS with retina display"
- Fix issue openembedded#287: "FLTK 1.3.6 doesn't handle fullscreen on macOS"
- Fix issue openembedded#288: "FLTK 1.3.6+ doesn't notify window movement on macOS"
- macOS: Allow building with non-Apple compiler that may not support blocks

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jan 4, 2022
Changes in FLTK 1.3.8
- Make "FLTK_CONSOLIDATE_MOTION" user-definable (issue openembedded#76)
- Fix compiler warnings (backported from 1.4)
- Add new dialog fl_choice_n() with extended return values (openembedded#282)
- Account for deprecation of [NSBitmapImageRep initWithFocusedViewRect:]
  in macOS 10.14
- macOS: fix fullscreen window when other windows were created before
- Fix issue openembedded#279: "HiDpi issue on macOS with retina display"
- Fix issue openembedded#287: "FLTK 1.3.6 doesn't handle fullscreen on macOS"
- Fix issue openembedded#288: "FLTK 1.3.6+ doesn't notify window movement on macOS"
- macOS: Allow building with non-Apple compiler that may not support blocks

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jan 5, 2022
Changes in FLTK 1.3.8
- Make "FLTK_CONSOLIDATE_MOTION" user-definable (issue openembedded#76)
- Fix compiler warnings (backported from 1.4)
- Add new dialog fl_choice_n() with extended return values (openembedded#282)
- Account for deprecation of [NSBitmapImageRep initWithFocusedViewRect:]
  in macOS 10.14
- macOS: fix fullscreen window when other windows were created before
- Fix issue openembedded#279: "HiDpi issue on macOS with retina display"
- Fix issue openembedded#287: "FLTK 1.3.6 doesn't handle fullscreen on macOS"
- Fix issue openembedded#288: "FLTK 1.3.6+ doesn't notify window movement on macOS"
- macOS: Allow building with non-Apple compiler that may not support blocks

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Feb 28, 2022
Changelog:
=========
Added:
-----
new flag --code-quote-style (and $BATS_CODE_QUOTE_STYLE) to customize
quotes around code blocks in error output (openembedded#506)
an example/regression test for running background tasks without blocking the
test run (openembedded#525, openembedded#535)
bats_load_library for loading libraries from the search path
$BATS_LIB_PATH (openembedded#548)

Fixed:
-----
improved error trace for some broken cases (openembedded#279)
removed leftover debug file /tmp/latch in selftest suite
(single use latch) (openembedded#516)
fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite (openembedded#516)
fixed leaking of local variables from debug trap (openembedded#520)
don't mark FD3 output from teardown_file as <failure> in junit output (openembedded#532)
fix unbound variable error with Bash pre 4.4 (openembedded#550)

Documentation:
--------------
remove links to defunct freenode IRC channel (openembedded#515)
improved grammar (openembedded#534)
fixed link to TAP spec (openembedded#537)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Feb 28, 2022
Changelog:
=========
Added:
-----
new flag --code-quote-style (and $BATS_CODE_QUOTE_STYLE) to customize
quotes around code blocks in error output (openembedded#506)
an example/regression test for running background tasks without blocking the
test run (openembedded#525, openembedded#535)
bats_load_library for loading libraries from the search path
$BATS_LIB_PATH (openembedded#548)

Fixed:
-----
improved error trace for some broken cases (openembedded#279)
removed leftover debug file /tmp/latch in selftest suite
(single use latch) (openembedded#516)
fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite (openembedded#516)
fixed leaking of local variables from debug trap (openembedded#520)
don't mark FD3 output from teardown_file as <failure> in junit output (openembedded#532)
fix unbound variable error with Bash pre 4.4 (openembedded#550)

Documentation:
--------------
remove links to defunct freenode IRC channel (openembedded#515)
improved grammar (openembedded#534)
fixed link to TAP spec (openembedded#537)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Feb 28, 2022
Changelog:
=========
Added:
-----
new flag --code-quote-style (and $BATS_CODE_QUOTE_STYLE) to customize
quotes around code blocks in error output (openembedded#506)
an example/regression test for running background tasks without blocking the
test run (openembedded#525, openembedded#535)
bats_load_library for loading libraries from the search path
$BATS_LIB_PATH (openembedded#548)

Fixed:
-----
improved error trace for some broken cases (openembedded#279)
removed leftover debug file /tmp/latch in selftest suite
(single use latch) (openembedded#516)
fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite (openembedded#516)
fixed leaking of local variables from debug trap (openembedded#520)
don't mark FD3 output from teardown_file as <failure> in junit output (openembedded#532)
fix unbound variable error with Bash pre 4.4 (openembedded#550)

Documentation:
--------------
remove links to defunct freenode IRC channel (openembedded#515)
improved grammar (openembedded#534)
fixed link to TAP spec (openembedded#537)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
halstead pushed a commit that referenced this issue Mar 1, 2022
Changelog:
=========
Added:
-----
new flag --code-quote-style (and $BATS_CODE_QUOTE_STYLE) to customize
quotes around code blocks in error output (#506)
an example/regression test for running background tasks without blocking the
test run (#525, #535)
bats_load_library for loading libraries from the search path
$BATS_LIB_PATH (#548)

Fixed:
-----
improved error trace for some broken cases (#279)
removed leftover debug file /tmp/latch in selftest suite
(single use latch) (#516)
fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite (#516)
fixed leaking of local variables from debug trap (#520)
don't mark FD3 output from teardown_file as <failure> in junit output (#532)
fix unbound variable error with Bash pre 4.4 (#550)

Documentation:
--------------
remove links to defunct freenode IRC channel (#515)
improved grammar (#534)
fixed link to TAP spec (#537)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants