[Bug 539351] New: yast2 sw_single warns about a lack of space on an autofs root
http://bugzilla.novell.com/show_bug.cgi?id=539351 Summary: yast2 sw_single warns about a lack of space on an autofs root Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 7 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jeffm@novell.com QAContact: jsrain@novell.com Found By: Development Created an attachment (id=318366) --> (http://bugzilla.novell.com/attachment.cgi?id=318366) y2logs I have autofs mounted at /net (/etc/auto.net). When I went to install the kernel development pattern, it warned me that it needed 58kB more on /net. Nothing should have been put in /net anyway and the installation succeeded, but the warning shouldn't have been issued. galileo:/var/log # df /net -T Filesystem Type 1K-blocks Used Available Use% Mounted on - - 0 0 0 - /net galileo:/var/log # grep /net /proc/mounts /etc/auto.net /net autofs rw,relatime,fd=5,pgrp=2894,timeout=600,minproto=5,maxproto=5,indirect 0 0 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rpmcruz@alunos.dcc.fc.up.pt Summary|yast2 sw_single warns about |yast2-qt: sw_single warns |a lack of space on an |about a lack of space on an |autofs root |autofs root -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351 User jeffm@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539351#c1 --- Comment #1 from Jeff Mahoney <jeffm@novell.com> 2009-09-15 11:31:23 MDT --- Created an attachment (id=318370) --> (http://bugzilla.novell.com/attachment.cgi?id=318370) screenshot of warning I'm using the curses interface because I get an error when launching the gui version from the GNOME menu. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351 User rpmcruz@alunos.dcc.fc.up.pt added comment http://bugzilla.novell.com/show_bug.cgi?id=539351#c2 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|yast2-qt: sw_single warns |yast2-ncurses: sw_single |about a lack of space on an |warns about a lack of space |autofs root |on an autofs root --- Comment #2 from Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> 2009-09-15 11:42:06 MDT --- The warning is implemented at the UI level, hence why placing the UI on the title. Messed up parsing the logs -> ncurses then. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351 User rpmcruz@alunos.dcc.fc.up.pt added comment http://bugzilla.novell.com/show_bug.cgi?id=539351#c3 --- Comment #3 from Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> 2009-09-15 11:43:47 MDT --- Either way, will check the code for the Qt and GTK UI. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351 User rpmcruz@alunos.dcc.fc.up.pt added comment http://bugzilla.novell.com/show_bug.cgi?id=539351#c4 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gs@novell.com, | |sh@novell.com --- Comment #4 from Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> 2009-09-15 15:55:17 MDT --- So, it seems Qt would also gift you with a window warning you have reached capacity. But only ncurses goes as far as to calculate (wrongly) that "/net needs 58.0 KiB more disk space." See NCPkgDiskspace::checkDiskSpace(). I'm ashamed to say I don't know what autofs is. Is it that common for a partition to be voided of space? If so, we should probably also refrain from prompting a warning dialog at all. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351 User jeffm@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539351#c5 --- Comment #5 from Jeff Mahoney <jeffm@novell.com> 2009-09-15 17:58:56 MDT --- autofs is a virtual file system that causes other file systems to be mounted automatically below it. It's typically deployed in large environments where NFS mounted shares are exported via NFS. The SUSE R&D network uses this to mount user home directories, for example. I use it so I don't need to define mount points for NFS exports on each of my development nodes. I just set up autofs to have mount points defined by the /etc/auto.net script that it ships with and it takes care of the heavy lifting. Anything under /net is resolved as a hostname and subdirectories are the exported file systems. So, with my configuration, /net will list the hosts that are exporting file systems currently mounted on my machine. For example, I typically have /net/starscream/data on all my other hosts because that's where I store common data. That file system is only 83% full and is 1.5TB in size, so it certainly can fit 58kB. The real question here is where does the 58kB come from and why does it think it needs to write it to /net? If it's not going to write anything to that file system, why should it warn at all? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351 User jdsn@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539351#c6 J. Daniel Schmidt <jdsn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdsn@novell.com AssignedTo|yast2-maintainers@suse.de |gs@novell.com --- Comment #6 from J. Daniel Schmidt <jdsn@novell.com> 2009-10-05 10:54:12 MDT --- Gabi, maybe something ncurses specific? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351 User gs@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539351#c7 Gabriele Mohr <gs@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |ma@novell.com --- Comment #7 from Gabriele Mohr <gs@novell.com> 2009-10-06 04:42:51 MDT --- The disk space calculation is similiar in Qt and ncurses. The text mode warning that "/net needs 58.0 KiB more disk space." is correct from ncurses package selector point of view because there is indeed disk usage calculated for /net (see logging below). 2009-09-15 13:17:07 <1> galileo(17266) [YCP] PackageInstallation.ycp:99 CommitPackages (0,0): Pkg::TargetGetDU() $["/":[6708760, 3749904, 4504975, 0], "/boot":[132206, 20211, 20211, 0], "/home":[31455740, 28752832, 28752832, 0], "/net":[0, 0, 58, 0], "/net/starscream/data":[1187005056, 1119352832, 1119352832, 0], "/net/starscream/data/newaudio":[0, 0, 0, 0], "/net/starscream/home/jeffm/public_html":[0, 0, 0, 0], "/net/starscream/tftpboot":[0, 0, 0, 0], "/proc":[0, 0, 0, 0]] Adding Michael to CC list. Could you please check where it comes from? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539351#c Gabriele Mohr <gs@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=539351 https://bugzilla.novell.com/show_bug.cgi?id=539351#c8 Gabriele Mohr <gs@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME --- Comment #8 from Gabriele Mohr <gs@suse.com> 2011-11-10 14:32:08 UTC --- I couldn't reproduce the problem neither with 11.2 GM nor with a newer version. The y2log shows that is was indeed disk usage calculated on /net. Most probably this was a temporarily problem with a package which wasn't built correctly (the bug report refers to Milestone 7). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com