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

Re: /usr busy after aptitude operations?



On Thu, May 08, 2008 at 10:26:54PM +0200, Peter Jordan wrote:

> >     Dpkg::Pre-Invoke {"/bin/mount -o remount,rw /usr";};
> >     Dpkg::Post-Invoke {"/bin/mount -o remount,ro /usr";};

> Why?

Because /usr has no business being mounted rw most of the time. You only
need to write to /usr during a package upgrade.

Even with a journaling filesystem, there are plenty of ways that a
sudden shutdown can hose your system. In addition, you get an admittedly
small boost in security by not having the filesystem writable without
root taking explicit steps.

Actually, it doesn't really matter why. It should work, and it doesn't.
That's the point. :)

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"


Reply to: