public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Permissions issues on gentoo with sandbox and not only after conversion from ext4
@ 2009-09-15 17:56 Alex Dedul
  2009-09-16  2:33 ` Yan, Zheng 
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Dedul @ 2009-09-15 17:56 UTC (permalink / raw)
  To: linux-btrfs

Hi there!

I recently converted from ext4 with btrfs-convert and right after i
rebooted or so i started to get permissions issues when emerging many
packages, but this happens not with all of them. So it writes
something like this:

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib64/python2.6/site-packages/gajim/trayicon.so
ecompressdir: bzip2 -9 /usr/share/man
QA Security Notice:
- /usr/share/gajim/src/common/xmpp/auth_nb.pyc will be a world writable file.
- This may or may not be a security problem, most of the time it is one.
- Please double check that gajim-9999-r2 really needs a world
writeable bit and file bugs accordingly.
QA Security Notice:
- /usr/share/gajim/src/common/xmpp/bosh.pyc will be a world writable file.
- This may or may not be a security problem, most of the time it is one.
- Please double check that gajim-9999-r2 really needs a world
writeable bit and file bugs accordingly.
[...]

Emerge uses sandbox which wraps chmod and seems like lots of other
syscalls so i guess maybe this somehow related how sandbox
inter-operates with btrfs or vice versa.. And this seems like happens
only with files that were created during compilation phase or the
like, not those that was just unpacked from distribution archive. So
looks like umask issue maybe..

Also when i run btrfsck it gives me lots of weird stuff, log file is
22Mb for ~8Gb filesystem.. In a "compressed" way log looks like this:

---
found 5608325374 bytes used err is 1
total csum bytes: 4917240
total tree bytes: 587296768
btree space waste bytes: 165011603
file data blocks allocated: 5036728320
 referenced 5035507712
Btrfs Btrfs v0.18
 key incorrect 6327492608
bad block 6327492608
leaf parent key incorrect 6327549952
bad block 6327549952
leaf parent key incorrect 6327586816
bad block 6327586816
[... quite a bit of such stuff ...]
leaf parent key incorrect 6329454592
bad block 6329454592
block 6330466304 rec extent_item_refs 1, passed 1
block 6330470400 rec extent_item_refs 1, passed 1
block 6330474496 rec extent_item_refs 1, passed 1
[... quite a bit of this kind of stuff ...]
block 6331682816 rec extent_item_refs 1, passed 1
Backref 33591296 parent 6326005760 [7 4544 0 0] not found in extent tree
Incorrect local backref count on 33591296 parent 6326005760 found 1 wanted 0
backpointer mismatch on [33591296 4096]
Backref 33705984 parent 67608576 [5 3556 0 0] not found in extent tree
Incorrect local backref count on 33705984 parent 67608576 found 1 wanted 0
backpointer mismatch on [33705984 4096]
[... and almost all 22Mb of these nice stuff ...]
Backref 8385318912 parent 4278104064 [5 358 429024 0] not found in extent tree
Incorrect local backref count on 8385318912 parent 4278104064 found 1 wanted 0
backpointer mismatch on [8385318912 8192]
---

So here is how situation looks like here.. Any tips how to fix those
permissions issues and as a bonus that stuff from btrfsck ?

With best regards from the Soul, Alex.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-16  2:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 17:56 Permissions issues on gentoo with sandbox and not only after conversion from ext4 Alex Dedul
2009-09-16  2:33 ` Yan, Zheng 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox