[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving /tmp to a separate partition. Advice?



Dne, 23. 05. 2010 12:28:36 je d.sastre.medina@gmail.com napisal(a):
Having /tmp mounted noexec,nosuid for security reasons, aptitude
failed to execute postinstall scripts.
The solution was to remount exec /tmp partition and rerun aptitude.
After that I had to add this to /etc/apt/apt.conf or under
/etc/apt/apt.conf.d/ (depends on your config)

DPkg::Pre-Invoke{"mount -o remount,exec /tmp";};
DPkg::Post-Invoke {"mount -o remount /tmp";};

Good to know! Thanx.

--
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


Reply to: