Project

General

Profile

Tâche #20173

Scénario #19810: Traitement express MEN (13-15)

Les profiles apparmor ne sont pas rechargés au reconfigure

Added by Fabrice Barconnière over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Start date:
03/17/2017
Due date:
% Done:

100%

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

Description

Faire un reload de apparmor en posttemplate ?

Associated revisions

Revision c4c111b8 (diff)
Added by Fabrice Barconnière over 6 years ago

Les profiles apparmor templatisés n'étaient pas rechargés au reconfigure

ref #20173

Revision 90e771a1 (diff)
Added by Fabrice Barconnière over 6 years ago

On ne gère pas le cas dés conteneurs pour l'instant

ref #20173

History

#1 Updated by Fabrice Barconnière over 6 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Fabrice Barconnière over 6 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.25

service apparmor reload en posttemplate pour les profiles templatisés.

Pour tester, il faudrait reprendre la demande #20135.
  • Utiliser le template ntpd.apparmor.conf avant la correction et faire un reconfigure
  • service ntp restart
  • journalctl -ex doit renvoyer l'erreur de droit :
    avril 10 12:00:36 file kernel: audit: type=1400 audit(1491818436.281:9): apparmor="DENIED" operation="connect" profile="/usr/sbin/ntpd" name="/run/samba/winbindd/pipe" pid=3035" 
    
  • Mettre à jour le template ntpd.apparmor.conf avec la correction et faire un reconfigure
  • service ntp restart
  • journalctl -ex ne doit pas renvoyer d'erreur

#3 Updated by Fabrice Barconnière over 6 years ago

  • Status changed from Résolu to En cours

#4 Updated by Fabrice Barconnière over 6 years ago

ET LES CONTENEURS ? (cf #20176)

#5 Updated by Fabrice Barconnière over 6 years ago

  • Status changed from En cours to Résolu

#6 Updated by Benjamin Bohard over 6 years ago

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

Also available in: Atom PDF