Project

General

Profile

Tâche #21393

Scénario #21165: Traitement express MEN (37-39)

Le script policy-rc.d ne renvoi le bon code que pour le reload de freeradius

Added by Daniel Dehennin about 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/19/2017
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Description

Les autres commandes ne sont pas prise en compte par le case/esac, le script renvoie donc toujours 0 pour tout autre commande que service freeradius reload.

Associated revisions

Revision ba28c5a2 (diff)
Added by Daniel Dehennin about 2 years ago

policy-rc.d must exit with 104 to execute command

  • tmpl/policy-rc.d: exit for all command with 104.

Ref: #21393

Revision 4f235369 (diff)
Added by Daniel Dehennin about 2 years ago

policy-rc.d must exit with 104 for all commands

  • debian/eole-common-pkg.preinst: Update script with content of
    “tmpl/policy-rc.d”.

For 2.6.0

Ref: #21393

Revision 1f6248d6 (diff)
Added by Daniel Dehennin about 2 years ago

policy-rc.d must exit with 104 for all commands

  • debian/eole-common-pkg.preinst: Update script with content of
    “tmpl/policy-rc.d”.

Cherry pick for 2.6.1 from 4f2353690ba5c1bbe38068629cd7ddb4d3385085

Ref: #21393

Revision 0ee09c73 (diff)
Added by Daniel Dehennin about 2 years ago

policy-rc.d must exit with 104 for all commands

  • debian/eole-common-pkg.preinst: Update script with content of
    “tmpl/policy-rc.d”.

Cherry pick for 2.6.2 from 4f2353690ba5c1bbe38068629cd7ddb4d3385085

Ref: #21393

History

#1 Updated by Daniel Dehennin about 2 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin

#2 Updated by Daniel Dehennin about 2 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.25

#3 Updated by Daniel Dehennin about 2 years ago

  • Status changed from En cours to Résolu

#4 Updated by Emmanuel GARETTE about 2 years ago

  • Remaining (hours) changed from 0.25 to 1.0

#5 Updated by Emmanuel GARETTE about 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 1.0 to 0.0

Avant mise à jour :

root@amon:~# apt install --reinstall creole
[..]
Préparation du dépaquetage de .../creole_2.6.2-31_all.deb ...
deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104!
Got return code 0, ignoring.
Dépaquetage de creole (2.6.2-31) sur (2.6.2-31) ...

Après mise à jour :

root@amon:~# apt install --reinstall creole
[..]
Préparation du dépaquetage de .../creole_2.6.2-31_all.deb ...
Dépaquetage de creole (2.6.2-31) sur (2.6.2-31) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
Paramétrage de creole (2.6.2-31) ...

Also available in: Atom PDF