Lonely Dreamer (sanmai) wrote,
Lonely Dreamer
sanmai

/var с noexec

Под дебианом весь /var с noexec не стоит монтировать, иначе будет вот такое:
~# dpkg --configure -a
Setting up sudo (1.6.9p17-2) ...
dpkg (subprocess): unable to execute post-installation script: Permission denied
dpkg: error processing sudo (--configure):
 subprocess post-installation script returned error exit status 2
Setting up man-db (2.5.2-4) ...
dpkg (subprocess): unable to execute post-installation script: Permission denied
dpkg: error processing man-db (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 sudo
 man-db
Лечится это или через
mount -o remount,exec /var
или правкой /etc/fstab.
Tags: debian, linux, useful
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 3 comments