Bug #16641
debian/systemd : utiliser timeout=0 plutôt que timeout=infinity
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
31 mai 2017
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Ça n'est pas géré dans le systemd de jessie.
TimeoutStartSec= Configures the time to wait for start-up. If a daemon service does not signal start-up completion within the configured time, the service will be considered failed and will be shut down again. Takes a unit-less value in seconds, or a time span value such as "5min 20s". Pass "0" to disable the timeout logic. Defaults to TimeoutStartSec= from the manager configuration file, except when Type=oneshot is used, in which case the timeout is disabled by default.
vs la version 232 (stretch/sid) :
TimeoutStartSec= Configures the time to wait for start-up. If a daemon service does not signal start-up completion within the configured time, the service will be considered failed and will be shut down again. Takes a unit-less value in seconds, or a time span value such as "5min 20s". Pass "infinity" to disable the timeout logic. Defaults to DefaultTimeoutStartSec= from the manager configuration file, except when Type=oneshot is used, in which case the timeout is disabled by default (see systemd-system.conf(5)).
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 7 ans
- Fichier 0001-debian-use-0-to-denote-infinity-in-TimeoutStartSec-1.patch 0001-debian-use-0-to-denote-infinity-in-TimeoutStartSec-1.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Sinon,
May 31 14:12:19 publik-frontal systemd[1]: [/lib/systemd/system/combo.service:14] Failed to parse usec_t value, ignoring: infinity
Mis à jour par Thomas Noël il y a presque 7 ans
Ack
(je me demande quand même si on devrait pas mettre 30 ou 60 minutes... mais je sais pas)
Mis à jour par Frédéric Péters il y a presque 7 ans
- Statut changé de En cours à Résolu (à déployer)
On verra si jamais infinity pose un problème à un moment.
commit 4bb91922fde28cf805127de2e451d97425bafcba Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed May 31 14:17:51 2017 +0200 debian: use 0 to denote infinity in TimeoutStartSec (#16641)
Mis à jour par Frédéric Péters il y a plus de 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
debian: use 0 to denote infinity in TimeoutStartSec (#16641)
Specifying "infinity" will be ok with systemd from Stretch.