Debian Bug report logs -
#398288
baobab: Fails to handle (recursive) bind mounts
Reported by: Raphael Hertzog <hertzog@debian.org>
Date: Sun, 12 Nov 2006 20:48:17 UTC
Severity: important
Found in versions baobab/2.4.2-1.1, baobab/2.4.2-1.1+b1
Fixed in version 2.4.2-1.1+rm
Done: Marco Rodrigues <gothicx@sapo.pt>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Fabio Marzocca <thesaltydog@gmail.com>:
Bug#398288; Package baobab.
(full text, mbox, link).
Acknowledgement sent to Raphael Hertzog <hertzog@debian.org>:
New Bug report received and forwarded. Copy sent to Fabio Marzocca <thesaltydog@gmail.com>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: baobab
Version: 2.4.2-1.1+b1
Severity: important
I store chroots of Debian Sid/Sarge within my home directory (in
/home/rhertzog/local/chroot/{sarge,unstable}). And since I often work in
those chroot I use "bind mount" to share the /home directory between the
chroots and the main system (/).
$ mount
/dev/hda6 on / type ext3 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,nodev)
/dev/hda7 on /home type ext3 (rw,commit=0)
/etc on /home/rhertzog/local/chroot/unstable/etc/.host type none (rw,bind)
/home on /home/rhertzog/local/chroot/unstable/home type none (rw,bind)
/tmp on /home/rhertzog/local/chroot/unstable/tmp type none (rw,bind)
/dev on /home/rhertzog/local/chroot/unstable/dev type none (rw,bind)
/etc on /home/rhertzog/local/chroot/sarge/etc/.host type none (rw,bind)
/home on /home/rhertzog/local/chroot/sarge/home type none (rw,bind)
/tmp on /home/rhertzog/local/chroot/sarge/tmp type none (rw,bind)
/dev on /home/rhertzog/local/chroot/sarge/dev type none (rw,bind)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
Now I'm a bit short on space and wanted to use baobab to see which
directories use the most space. But I stopped its scan once it
was scanning the content of "/home/rhertzog/local/chroot/unstable/home"
which is another way to access /home... and obviously the result would
have been wrong because it would have counted some files twice.
I asked baobab to scan the folder "/home/rhertzog" when I did this.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages baobab depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.12.3-1 The ATK accessibility toolkit
ii libbonobo2-0 2.14.0-2 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.14.0-5 The Bonobo UI library
ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries
ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.1-2 generic font configuration library
ii libgconf2-4 2.16.0-2 GNOME configuration database syste
ii libglade2-0 1:2.6.0-2 library to load .glade files at ru
ii libglib2.0-0 2.12.4-1 The GLib library of C routines
ii libgnome-keyring0 0.6.0-2 GNOME keyring services library
ii libgnome2-0 2.16.0-2 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.14.0-2 A powerful object-oriented display
ii libgnomeui-0 2.14.1-2 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.14.2-2+b1 GNOME virtual file-system (runtime
ii libgtk2.0-0 2.8.20-3 The GTK+ graphical user interface
ii libgtop2-7 2.14.4-1 gtop system monitoring library
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii liborbit2 1:2.14.3-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.14.7-1 Layout and rendering of internatio
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libx11-6 2:1.0.3-2 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.1-4 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.1-3 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxml2 2.6.27.dfsg-1 GNOME XML library
ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
baobab recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, acolomb@schickhardt.org, Fabio Marzocca <thesaltydog@gmail.com>:
Bug#398288; Package baobab.
(full text, mbox, link).
Acknowledgement sent to Andre Colomb <acolomb@schickhardt.org>:
Extra info received and forwarded to list. Copy sent to acolomb@schickhardt.org, Fabio Marzocca <thesaltydog@gmail.com>.
(full text, mbox, link).
Message #10 received at 398288@bugs.debian.org (full text, mbox, reply):
Package: baobab
Version: 2.4.2-1.1+b1
Followup-For: Bug #398288
I have a similar problem. I have a hard disk from another host mounted on /srv/slash/hda2/home and a bind mount from it to /home.
There are also other bind mounts to have the data accessible where it
belongs, some of them are under the same /srv tree.
Because of that, many size informations are wrong. The total storage space
in my system is reported as 569 GB, where this 160 GB hard disk is
counted three times. Besides, on a directory which is mounted under
/srv/slash/hda2/data and bound to /srv/data/, every file is counted
twice.
I hope there is a nice way to find out if a directory is on a
bind-mounted filesystem and this can be worked around. Great piece of
software by the way!
Regards, Andre
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages baobab depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.12.3-1 The ATK accessibility toolkit
ii libbonobo2-0 2.14.0-3 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.14.0-5 The Bonobo UI library
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.1-2 generic font configuration library
ii libgconf2-4 2.16.0-2 GNOME configuration database syste
ii libglade2-0 1:2.6.0-2 library to load .glade files at ru
ii libglib2.0-0 2.12.4-1 The GLib library of C routines
ii libgnome-keyring0 0.6.0-2 GNOME keyring services library
ii libgnome2-0 2.16.0-2 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.14.0-2 A powerful object-oriented display
ii libgnomeui-0 2.14.1-2 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.14.2-3 GNOME virtual file-system (runtime
ii libgtk2.0-0 2.8.20-3 The GTK+ graphical user interface
ii libgtop2-7 2.14.4-1 gtop system monitoring library
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii liborbit2 1:2.14.3-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.14.7-1 Layout and rendering of internatio
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libx11-6 2:1.0.3-3 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.1-4 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.1-3 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxml2 2.6.27.dfsg-1 GNOME XML library
ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
baobab recommends no packages.
-- no debconf information
Reply sent to Marco Rodrigues <gothicx@sapo.pt>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Raphael Hertzog <hertzog@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #15 received at 398288-done@bugs.debian.org (full text, mbox, reply):
Version: 2.4.2-1.1+rm
The baobab package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.
For more information about this package's removal, read
http://bugs.debian.org/424139 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
http://Marco.Tondela.org
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 11 Aug 2008 10:50:35 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 12 08:49:08 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.