Bug 400413

Summary: Low disk space warning when launching some yast modules.
Product: [openSUSE] openSUSE 11.0 Reporter: Dean Hilkewich <deanjo>
Component: YaST2Assignee: Stefan Hundhammer <shundhammer>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST2Logs

Description Dean Hilkewich 2008-06-15 17:48:49 UTC
This is a really annoying bug.  YaST should not display low disk space warnings on partitions that the module will never access.

Example:

I have 4 drives that I use for multimedia use.  I keep the drives at full capacity.  When I load up YaST Software Management, it gripes about low disk space.  There is no reason for that warning as it will not install anything to those partitions.  

There should be an option somewhere to ignore those partitions to prevent the message from repeatedly popping up.
Comment 1 Cyril Hrubis 2008-06-16 11:00:37 UTC
This should not happen. Could you attach y2logs? If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 2 Dean Hilkewich 2008-06-16 11:30:08 UTC
Created attachment 222253 [details]
YaST2Logs

Here are the logs.
Comment 3 Jiri Srain 2008-06-16 13:18:58 UTC
The problem is that YaST does not know whether it will need these partitions or not. Reading file list of all packages would bring really significant performance problems which would be much more annoying than confirming one warning.

I don't think there is anything than a "Don't show this warning again" to do.
Comment 4 Dean Hilkewich 2008-06-16 16:16:05 UTC
Could you not simply have a option to ignore certain mounts?  Warning pops up and then have a check box beside the mounts saying "ignore this mount on space check" so subsequent checks do not looks at them?
Comment 5 Stefan Hundhammer 2008-06-17 10:02:11 UTC
Please read the Bugzilla help about bug severities.
Comment 6 Stefan Hundhammer 2008-06-17 10:07:55 UTC
This is becoming an FAQ...

There is no reasonable way to find out to which partitions files will be installed. Even if we did have file lists for all packages that are not installed (which we don't have and which we won't get because of disk space and network bandwith issues), there would be no reasonable way to figure out what symlinks might point to other partitions where typically no packages get installed.

So we play it safe and include all Linunx partitions in that warning.


As for some "don't display this again" checkbox somewhere: If you have a patch that implements this in a reliable way, we will gladly apply it. If not, I don't see a realistic chance for this.
Comment 7 Dean Hilkewich 2008-06-17 11:54:01 UTC
(In reply to comment #6 from Stefan Hundhammer)
> This is becoming an FAQ...
> 
> There is no reasonable way to find out to which partitions files will be
> installed. Even if we did have file lists for all packages that are not
> installed (which we don't have and which we won't get because of disk space and
> network bandwith issues), there would be no reasonable way to figure out what
> symlinks might point to other partitions where typically no packages get
> installed.
> 
> So we play it safe and include all Linunx partitions in that warning.
> 
> 
> As for some "don't display this again" checkbox somewhere: If you have a patch
> that implements this in a reliable way, we will gladly apply it. If not, I
> don't see a realistic chance for this.
> 

Looks like I'll be using Fedora for another semester in the school labs.  Everyday more and more bugs get marked as "Won't Fix" for trivial little end-user interface bugs.
Comment 8 Stefan Hundhammer 2008-06-17 13:31:30 UTC
If it's trivial and little, it can't be so hard to provide a patch.