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

Re: Suggestions to fix #433462 (add free space info to reportbug)



On mer., 2010-03-17 at 17:26 +0100, Goswin von Brederlow wrote:
> On the other hand including free space information will be difficult to
> handle properly and possibly expose information the user considers
> private.

But places where packages are supposed to write aren't that private.
Usually /home (but if people mount one fs per user there might be
privacy issues), /tmp (not really private), /var (either). Packages
install/upgrades will write in /usr and /etc and few other folders
(/boot..) which aren't really private either.

Real issues will appear for stuff using “named” mount point in /srv
(or /home as said above).
> 
> 
> But if you do go ahead with this consider this:
> 
> The bugreport gives the following argument: "I suspect that a lot of my
> packages would fail in mysterious ways if the root partition was full."
> How will his software behave with the root partition being mounted
> read-only? Listing the free space on root or /usr would be completly
> meaningless if they are read-only and writing to them would be a
> critical bug anyway.

One thing which could be done too is to run the df, detect if there are
full fs, and if there are, ask for the user if she wants to include the
result.

Cheers,
-- 
Yves-Alexis

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: