1. 28 Jan, 2020 1 commit
    • Frederic Danis's avatar
      Fix systemd-nspawn error when running in gitlab CI · b6ad8d9c
      Frederic Danis authored
      
      
      When running in gitlab CI with docker the following error may occur:
       Failed to register machine: Unit machine-root.scope already exists.
      
      We only use systemd-nspawn for temporary containers which are not intended
      to be used interactively, so it is not useful for them to be listed by
      machined.
      
      Registering with machined can also be harmful: because our root directory
      is named `root`, if two concurrent flatdeb instances communicate with the
      same machined instance, the second one will try to use the same name as
      the first and so will fail to register, causing flatdeb to fail.
      
      This can be avoided by preventing the systemd-nspawn container from
      registering with machined (which is supported since systemd v209).
      Signed-off-by: Frederic Danis's avatarFrédéric Danis <frederic.danis@collabora.com>
      b6ad8d9c
  2. 15 May, 2019 1 commit
  3. 07 Mar, 2019 1 commit
  4. 04 Mar, 2019 1 commit
  5. 27 Nov, 2018 2 commits
  6. 12 Jun, 2018 1 commit