Project

General

Profile

Actions

Bug #14653

closed

Missing dependency on systemd for recent Ubuntu/Debian systems

Added by P C about 5 years ago. Updated over 4 years ago.

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

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 1 (0 open1 closed)

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

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #13740: Service having both an init script and a real systemd unit are managed through the init scriptReleasedNicolas CHARLESActions
Actions #1

Updated by François ARMAND about 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
Actions #2

Updated by François ARMAND about 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.

Actions #3

Updated by François ARMAND about 5 years ago

  • Assignee set to Alexis Mousset
  • Target version set to 5.0.10
Actions #4

Updated by Alexis Mousset about 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
Actions #5

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.10 to 5.0.11
Actions #6

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.11 to 5.0.12
Actions #7

Updated by Vincent MEMBRÉ almost 5 years ago

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

Updated by Vincent MEMBRÉ over 4 years ago

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

Updated by Vincent MEMBRÉ over 4 years ago

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

Updated by Benoît PECCATTE over 4 years ago

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

Updated by Benoît PECCATTE over 4 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
Actions #12

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #13

Updated by Vincent MEMBRÉ over 4 years ago

  • Fix check set to To do
Actions #14

Updated by Vincent MEMBRÉ over 4 years ago

  • Name check set to To do
Actions #15

Updated by Alexis Mousset over 4 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
Actions #16

Updated by Félix DALLIDET over 4 years ago

  • Fix check changed from To do to Checked
Actions #17

Updated by Vincent MEMBRÉ over 4 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.

Actions

Also available in: Atom PDF