Bug#608185: marked as done (btrfs-tools: balance tree action should be only triggered by root)
Your message dated Wed, 12 Jan 2011 02:50:09 + with message-id e1pcqmn-0004n4...@franck.debian.org and subject line Bug#608185: fixed in linux-2.6 2.6.32-30 has caused the Debian Bug report #608185, regarding btrfs-tools: balance tree action should be only triggered by root to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 608185: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608185 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ---BeginMessage--- Package: btrfs-tools Version: 0.19+20100601-3, 0.19+20101101-1 Severity: serious Balance tree action of btrfs command should be limited to only root user, because it may cause data corrupt and usually result in an uninterruptible process which is causing a heavy I/O load (the process may keep runing for a long time because the action is not a easy deal). Run the following command as a non-root user will also start the balance tree action ( / is btrfs here, with ext4 /boot): $ btrfs filesystem balance / I think this problem will cause serious issues if somebody uses it in a production system (though it is really not recommended), so I give it an RC severity. If you think it should be changed, feel free to do it. What's more, I'm not sure whether this should be a bug in the Linux kernel, because such action is actually performed by using system calls. If I try to make a snapshot in a directory by a user who does not have the access, it will generate an error like this: $ pwd /home $ whoami aron $ btrfs subvolume snapshot . backhome Create a snapshot of '.' in './backhome' ERROR: cannot snapshot '.' -- Regards, Aron Xu signature.asc Description: Digital signature ---End Message--- ---BeginMessage--- Source: linux-2.6 Source-Version: 2.6.32-30 We believe that the bug you reported is fixed in the latest version of linux-2.6, which is due to be installed in the Debian FTP archive: firmware-linux-free_2.6.32-30_all.deb to main/l/linux-2.6/firmware-linux-free_2.6.32-30_all.deb linux-2.6_2.6.32-30.diff.gz to main/l/linux-2.6/linux-2.6_2.6.32-30.diff.gz linux-2.6_2.6.32-30.dsc to main/l/linux-2.6/linux-2.6_2.6.32-30.dsc linux-base_2.6.32-30_all.deb to main/l/linux-2.6/linux-base_2.6.32-30_all.deb linux-doc-2.6.32_2.6.32-30_all.deb to main/l/linux-2.6/linux-doc-2.6.32_2.6.32-30_all.deb linux-manual-2.6.32_2.6.32-30_all.deb to main/l/linux-2.6/linux-manual-2.6.32_2.6.32-30_all.deb linux-patch-debian-2.6.32_2.6.32-30_all.deb to main/l/linux-2.6/linux-patch-debian-2.6.32_2.6.32-30_all.deb linux-source-2.6.32_2.6.32-30_all.deb to main/l/linux-2.6/linux-source-2.6.32_2.6.32-30_all.deb linux-support-2.6.32-5_2.6.32-30_all.deb to main/l/linux-2.6/linux-support-2.6.32-5_2.6.32-30_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 608...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Hutchings b...@decadent.org.uk (supplier of updated linux-2.6 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Tue, 11 Jan 2011 05:42:11 + Source: linux-2.6 Binary: linux-tools-2.6.32 linux-source-2.6.32 linux-doc-2.6.32 linux-manual-2.6.32 linux-patch-debian-2.6.32 firmware-linux-free linux-support-2.6.32-5 linux-base linux-libc-dev linux-headers-2.6.32-5-all linux-headers-2.6.32-5-all-alpha linux-headers-2.6.32-5-common linux-image-2.6.32-5-alpha-generic linux-headers-2.6.32-5-alpha-generic linux-image-2.6.32-5-alpha-smp linux-headers-2.6.32-5-alpha-smp linux-image-2.6.32-5-alpha-legacy linux-headers-2.6.32-5-alpha-legacy linux-headers-2.6.32-5-all-amd64 linux-image-2.6.32-5-amd64 linux-headers-2.6.32-5-amd64 linux-image-2.6.32-5-amd64-dbg linux-headers-2.6.32-5-common-openvz linux-image-2.6.32-5-openvz-amd64 linux-headers-2.6.32-5-openvz-amd64 linux-image-2.6.32-5-openvz-amd64-dbg linux-headers-2.6.32-5-common-vserver linux-image-2.6.32-5-vserver-amd64 linux-headers-2.6.32-5-vserver-amd64 linux-image-2.6.32-5-vserver-amd64-dbg linux-headers-2.6.32-5-common-xen linux-image-2.6.32-5-xen-amd64 linux-headers-2.6.32-5-xen-amd64 linux-image-2.6.32-5-xen-amd64-dbg xen-linux-system-2.6.32-5-xen-amd64 linux-headers-2.6.32-5-all-armel linux-image-2.6.32-5-iop32x linux-headers-2.6.32-5-iop32x
Bug#608185: marked as done (btrfs-tools: balance tree action should be only triggered by root)
Your message dated Thu, 06 Jan 2011 13:18:24 + with message-id e1papju-00089g...@franck.debian.org and subject line Bug#608185: fixed in linux-2.6 2.6.37-1~experimental.1 has caused the Debian Bug report #608185, regarding btrfs-tools: balance tree action should be only triggered by root to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 608185: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608185 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ---BeginMessage--- Package: btrfs-tools Version: 0.19+20100601-3, 0.19+20101101-1 Severity: serious Balance tree action of btrfs command should be limited to only root user, because it may cause data corrupt and usually result in an uninterruptible process which is causing a heavy I/O load (the process may keep runing for a long time because the action is not a easy deal). Run the following command as a non-root user will also start the balance tree action ( / is btrfs here, with ext4 /boot): $ btrfs filesystem balance / I think this problem will cause serious issues if somebody uses it in a production system (though it is really not recommended), so I give it an RC severity. If you think it should be changed, feel free to do it. What's more, I'm not sure whether this should be a bug in the Linux kernel, because such action is actually performed by using system calls. If I try to make a snapshot in a directory by a user who does not have the access, it will generate an error like this: $ pwd /home $ whoami aron $ btrfs subvolume snapshot . backhome Create a snapshot of '.' in './backhome' ERROR: cannot snapshot '.' -- Regards, Aron Xu signature.asc Description: Digital signature ---End Message--- ---BeginMessage--- Source: linux-2.6 Source-Version: 2.6.37-1~experimental.1 We believe that the bug you reported is fixed in the latest version of linux-2.6, which is due to be installed in the Debian FTP archive: firmware-linux-free_2.6.37-1~experimental.1_all.deb to main/l/linux-2.6/firmware-linux-free_2.6.37-1~experimental.1_all.deb linux-2.6_2.6.37-1~experimental.1.diff.gz to main/l/linux-2.6/linux-2.6_2.6.37-1~experimental.1.diff.gz linux-2.6_2.6.37-1~experimental.1.dsc to main/l/linux-2.6/linux-2.6_2.6.37-1~experimental.1.dsc linux-2.6_2.6.37.orig.tar.gz to main/l/linux-2.6/linux-2.6_2.6.37.orig.tar.gz linux-base_2.6.37-1~experimental.1_all.deb to main/l/linux-2.6/linux-base_2.6.37-1~experimental.1_all.deb linux-doc-2.6.37_2.6.37-1~experimental.1_all.deb to main/l/linux-2.6/linux-doc-2.6.37_2.6.37-1~experimental.1_all.deb linux-manual-2.6.37_2.6.37-1~experimental.1_all.deb to main/l/linux-2.6/linux-manual-2.6.37_2.6.37-1~experimental.1_all.deb linux-patch-debian-2.6.37_2.6.37-1~experimental.1_all.deb to main/l/linux-2.6/linux-patch-debian-2.6.37_2.6.37-1~experimental.1_all.deb linux-source-2.6.37_2.6.37-1~experimental.1_all.deb to main/l/linux-2.6/linux-source-2.6.37_2.6.37-1~experimental.1_all.deb linux-support-2.6.37-trunk_2.6.37-1~experimental.1_all.deb to main/l/linux-2.6/linux-support-2.6.37-trunk_2.6.37-1~experimental.1_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 608...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Hutchings b...@decadent.org.uk (supplier of updated linux-2.6 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Wed, 05 Jan 2011 02:44:28 + Source: linux-2.6 Binary: linux-tools-2.6.37 linux-source-2.6.37 linux-doc-2.6.37 linux-manual-2.6.37 linux-patch-debian-2.6.37 firmware-linux-free linux-support-2.6.37-trunk linux-base linux-libc-dev linux-headers-2.6.37-trunk-all linux-headers-2.6.37-trunk-all-alpha linux-headers-2.6.37-trunk-common linux-image-2.6.37-trunk-alpha-generic linux-headers-2.6.37-trunk-alpha-generic linux-image-2.6.37-trunk-alpha-smp linux-headers-2.6.37-trunk-alpha-smp linux-image-2.6.37-trunk-alpha-legacy linux-headers-2.6.37-trunk-alpha-legacy linux-headers-2.6.37-trunk-all-amd64 linux-image-2.6.37-trunk-amd64 linux-headers-2.6.37-trunk-amd64 linux-image-2.6.37-trunk-amd64-dbg linux-headers-2.6.37-trunk-all-armel linux-image-2.6.37-trunk-iop32x linux-headers-2.6.37-trunk-iop32x linux-image-2.6.37-trunk-ixp4xx