Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
proxmox:apparmor_denied_operation_mount_info_failed_flags_match_error_-13 [2019/09/02 13:45] adminproxmox:apparmor_denied_operation_mount_info_failed_flags_match_error_-13 [2019/09/11 07:48] (current) admin
Line 1: Line 1:
 +В журналах полно ошибок:
 +<code>
 +[137200.185910] audit: type=1400 audit(1542190140.997:411): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default-cgns" name="/" pid=2774 comm="(ionclean)" flags="rw, rslave"
 +[137204.038105] audit: type=1400 audit(1542190144.849:412): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default-cgns" name="/" pid=2849 comm="(ionclean)" flags="rw, rslave"
 +[137206.696135] audit: type=1400 audit(1542190147.505:413): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default-cgns" name="/" pid=2906 comm="(ionclean)" flags="rw, rslave"
 +[137206.734793] audit: type=1400 audit(1542190147.545:414): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default-cgns" name="/" pid=2919 comm="(ionclean)" flags="rw, rslave"
 +</code>
 +
 +  /etc/apparmor.d/lxc/lxc-default-cgns
 +  mount options=(rw, rslave),
 +
 +Добавляем в файл **/etc/apparmor.d/lxc/lxc-default-cgns** строку:
 +<code>
 +profile lxc-container-default flags=(attach_disconnected,mediate_deleted) {
 +  ...
 +    mount options=(rw, nosuid, noexec, remount, relatime, ro, bind, rbind),
 +  ...
 +</code>
 +Перезагружаем правила **apparmor**:
 +  service apparmor reload
  
  • proxmox/apparmor_denied_operation_mount_info_failed_flags_match_error_-13.txt
  • Last modified: 2019/09/11 07:48
  • by admin