Re: Hooks for read-only /usr

2008-06-19 Thread Mumia W..
On 06/19/2008 03:12 AM, James Youngman wrote: I like to have a read-only /usr filesystem. So I have ... # cat /etc/apt/apt.conf.d/50readonly-usr DPkg { // Auto re-mounting of a readonly /usr Pre-Invoke {"mount -o remount,rw /usr";}; Post-Invoke {"mount -o remount,ro /usr || true";}; }

Hooks for read-only /usr

2008-06-19 Thread James Youngman
I like to have a read-only /usr filesystem. So I have ... # cat /etc/apt/apt.conf.d/50readonly-usr DPkg { // Auto re-mounting of a readonly /usr Pre-Invoke {"mount -o remount,rw /usr";}; Post-Invoke {"mount -o remount,ro /usr || true";}; } Unfortunately this works quite badly. Durin