The Cagou's Blog

  • Accueil
  • Archives
  • gpg public key

Apt conf on readonly system

Publié le 24/09/2018 à 22:14
Par fccagou

Dans IT.

tags: LinuxCustomDebianAptSecurity

In the apt configuration

DPkg {
    // Auto re-mounting of a readonly /
    Pre-Invoke { "mount -o remount,rw /"; };
    Post-Invoke { "test ${NO_APT_REMOUNT:-no} = yes || mount -o remount,ro / || true"; };
};

Catégories

  • Draft
  • Editors
  • IT
  • rhel8
  • TIPS

Réseaux sociaux

  • atom feed
  • twitter
  • github
Ce site est généré par Pelican, un CMS réalisé en Python.

Le thème utilisé est «NotMyIdea-CMS», une version modifiée de «NotMyIdea», le thème par défaut.