Project

General

Profile

Bug #14653

Missing dependency on systemd for recent Ubuntu/Debian systems

Added by P C 10 months ago. Updated about 2 months ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Small
Priority:
59

Description

I have not seen in the requirement the need of systemd and I have got this problem :

./test.bash
) uname -a
Linux partage 4.15.18-041518-generic #201804190330 SMP Thu Apr 19 07:34:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
) ps -p 1
PID TTY TIME CMD
1 ? 00:01:41 init
*) cat /etc/issue
Ubuntu 18.04.2 LTS \n \l

) apt-get update
Atteint:1 http://repository.rudder.io/apt/5.0 bionic InRelease
Atteint:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Atteint:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Atteint:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Lecture des listes de paquets... Fait
) apt-get install -y rudder-agent
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
rudder-agent est déjà la version la plus récente (5.0.8-bionic0).
Les paquets supplémentaires suivants seront installés :
dmidecode libyaml-0-2
Les NOUVEAUX paquets suivants seront installés :
dmidecode libyaml-0-2
0 mis à jour, 2 nouvellement installés, 0 à enlever et 83 non mis à jour.
1 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/5 937 ko dans les archives.
Après cette opération, 323 ko d'espace disque supplémentaires seront utilisés.
Sélection du paquet libyaml-0-2:amd64 précédemment désélectionné.
(Lecture de la base de données... 50471 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libyaml-0-2_0.1.7-2ubuntu3_amd64.deb ...
Dépaquetage de libyaml-0-2:amd64 (0.1.7-2ubuntu3) ...
Sélection du paquet dmidecode précédemment désélectionné.
Préparation du dépaquetage de .../dmidecode_3.1-1_amd64.deb ...
Dépaquetage de dmidecode (3.1-1) ...
Paramétrage de dmidecode (3.1-1) ...
Paramétrage de libyaml-0-2:amd64 (0.1.7-2ubuntu3) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.27-3ubuntu1) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.3-2ubuntu0.1) ...
) rudder agent init
./test.bash: ligne 7: rudder : commande introuvable
) apt-get purge --auto-remove rudder-agent -y
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
dmidecode* libyaml-0-2* rudder-agent
0 mis à jour, 0 nouvellement installés, 3 à enlever et 83 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 45,7 Mo d'espace disque seront libérés.
(Lecture de la base de données... 50487 fichiers et répertoires déjà installés.)
Suppression de rudder-agent (5.0.8-bionic0) ...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to disable unit, unit rudder-agent.service does not exist.
Failed to disable unit, unit rudder-cf-execd.service does not exist.
Failed to disable unit, unit rudder-cf-serverd.service does not exist.
System has not been booted with systemd as init system (PID 1). Can't operate.
dpkg: erreur de traitement du paquet rudder-agent (--remove) :
installed rudder-agent package post-removal script subprocess returned error exit status 1
Suppression de dmidecode (3.1-1) ...
Suppression de libyaml-0-2:amd64 (0.1.7-2ubuntu3) ...
Des erreurs ont été rencontrées pendant l'exécution :
rudder-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)


Subtasks

Bug #16163: Document the need for systemd for some distributionsReleasedAlexis MOUSSETActions

Related issues

Related to ncf - Bug #13740: Service having both an init script and a real systemd unit are managed through the init scriptReleasedActions

Associated revisions

Revision e8a40e85 (diff)
Added by Benoît PECCATTE 3 months ago

Fixes #14653: rudder-agent installation fails on Ubuntu 18 without systemd

History

#1

Updated by François ARMAND 10 months ago

  • User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Effort required set to Very Small
  • Priority changed from 0 to 79
#2

Updated by François ARMAND 10 months ago

  • Category changed from Documentation to Packaging
  • Effort required changed from Very Small to Small
  • Priority changed from 79 to 66

So, what we propose:

- for now, we make the dependency on systemd explicit.
- we document the fact that we can add non-systemd support for debian/ubuntu, but that it will likely need a sponsored developpement.

#3

Updated by François ARMAND 10 months ago

  • Assignee set to Alexis MOUSSET
  • Target version set to 5.0.10
#4

Updated by Alexis MOUSSET 10 months ago

  • Related to Bug #13740: Service having both an init script and a real systemd unit are managed through the init script added
#5

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 5.0.10 to 5.0.11
#6

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 5.0.11 to 5.0.12
#7

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 5.0.12 to 5.0.13
  • Priority changed from 66 to 64
#8

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 64 to 63
#9

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 63 to 61
#10

Updated by Benoît PECCATTE 3 months ago

  • Status changed from New to In progress
  • Assignee changed from Alexis MOUSSET to Benoît PECCATTE
  • Priority changed from 61 to 60
#11

Updated by Benoît PECCATTE 3 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2145
#12

Updated by Benoît PECCATTE 3 months ago

  • Status changed from Pending technical review to Pending release
#15

Updated by Alexis MOUSSET 2 months ago

  • Subject changed from rudder-agent installation fails on Ubuntu 18 without systemd to Missing dependency on systemd for recent Ubuntu/Debian systems
#17

Updated by Vincent MEMBRÉ about 2 months ago

  • Status changed from Pending release to Released
  • Priority changed from 60 to 59

This bug has been fixed in Rudder 5.0.15 which was released today.

Also available in: Atom PDF