Bug #14653
closedMissing dependency on systemd for recent Ubuntu/Debian systems
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)
Updated by François ARMAND over 5 years 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
Updated by François ARMAND over 5 years 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.
Updated by François ARMAND over 5 years ago
- Assignee set to Alexis Mousset
- Target version set to 5.0.10
Updated by Alexis Mousset over 5 years ago
- Related to Bug #13740: Service having both an init script and a real systemd unit are managed through the init script added
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.10 to 5.0.11
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.11 to 5.0.12
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.12 to 5.0.13
- Priority changed from 66 to 64
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.13 to 5.0.14
- Priority changed from 64 to 63
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.14 to 5.0.15
- Priority changed from 63 to 61
Updated by Benoît PECCATTE about 5 years ago
- Status changed from New to In progress
- Assignee changed from Alexis Mousset to Benoît PECCATTE
- Priority changed from 61 to 60
Updated by Benoît PECCATTE about 5 years 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
Updated by Benoît PECCATTE about 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|e8a40e85324c88faf498eb7e14e0cb9db22cee20.
Updated by Alexis Mousset about 5 years ago
- Subject changed from rudder-agent installation fails on Ubuntu 18 without systemd to Missing dependency on systemd for recent Ubuntu/Debian systems
- Name check changed from To do to Reviewed
Updated by Félix DALLIDET about 5 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ about 5 years 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.