← Back to team overview

ecryptfs team mailing list archive

[Bug 313863] Re: ecryptfs cause error when files are on a cifs share

 

*** This bug is a duplicate of bug 277578 ***
    https://bugs.launchpad.net/bugs/277578

** This bug has been marked a duplicate of bug 277578
   ecryptfs does not work properly over nfs, cifs, or samba

-- 
ecryptfs cause error when files are on a cifs share
https://bugs.launchpad.net/bugs/313863
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: New

Bug description:
Often if I copy or delete a big number of files I have segfaults, hangs, etc.

This leads to data loss (files having names like cifs<hexnumber> appear in the directory, etc.

This is using jaunty fully up to date

rm -rf ../Documents/archives/
Erreur de segmentation

[ 8061.038534] ecryptfs_privileged_open: Error attempting privileged open of lower file with either RW or RO perms; rc = [-2]. Giving up.
[ 8061.038539] Error opening lower persistent file for lower_dentry [0xffff8800af80d9c0] and lower_mnt [0xffff88012c52e200]; rc = [-2]
[ 8061.038567] ------------[ cut here ]------------
[ 8061.038569] kernel BUG at /build/buildd/linux-2.6.28/fs/ecryptfs/read_write.c:234!
[ 8061.038571] invalid opcode: 0000 [#2] SMP 
[ 8061.038573] last sysfs file: /sys/fs/ecryptfs/version
[ 8061.038575] CPU 0 
[ 8061.038577] Modules linked in: tun nls_cp437 nls_utf8 cifs binfmt_misc bridge stp bnep vboxdrv ppdev video output sbp2 parport_pc lp parport serio_raw pcspkr iTCO_wdt iTCO_vendor_support snd_hda_intel snd_pcm snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc shpchp pata_acpi usbhid usb_storage ata_generic ohci1394 ata_piix ieee1394 pata_jmicron r8169 mii ehci_hcd uhci_hcd raid10 raid456 async_xor async_memcpy async_tx xor raid1 raid0 multipath linear fbcon tileblit font bitblit softcursor fuse
[ 8061.038613] Pid: 20839, comm: rm Tainted: G      D    2.6.28-4-generic #6-Ubuntu
[ 8061.038615] RIP: 0010:[<ffffffff803aa212>]  [<ffffffff803aa212>] ecryptfs_read_lower+0xa2/0xd0
[ 8061.038622] RSP: 0000:ffff880118b8dd98  EFLAGS: 00010246
[ 8061.038624] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88010eeb43c0
[ 8061.038625] RDX: 0000000000001000 RSI: 0000000000000000 RDI: ffff88010eeb4600
[ 8061.038627] RBP: ffff880118b8ddc8 R08: 0000000000000006 R09: 0000000000000000
[ 8061.038628] R10: ffff880118b8dc66 R11: ffff880118b8dc58 R12: ffff88010eeb43c0
[ 8061.038630] R13: ffff8800c6190000 R14: ffff88010eeb4600 R15: 0000000000001000
[ 8061.038632] FS:  00007ffdde1f36f0(0000) GS:ffffffff80971f80(0000) knlGS:0000000000000000
[ 8061.038633] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 8061.038635] CR2: 0000003069806068 CR3: 0000000118b79000 CR4: 00000000000006a0
[ 8061.038637] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 8061.038638] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 8061.038640] Process rm (pid: 20839, threadinfo ffff880118b8c000, task ffff8800c117c320)
[ 8061.038642] Stack:
[ 8061.038643]  ffff88010eeb4600 ffff88012f5d5dd0 ffff8800c6190000 ffff8800af80d9c0
[ 8061.038646]  ffff88010eeb43c0 ffff8800c6190000 ffff880118b8dde8 ffffffff803aafb5
[ 8061.038649]  ffff88012f5d5dd0 0000000000000000 ffff880118b8de48 ffffffff803a8605
[ 8061.038653] Call Trace:
[ 8061.038654]  [<ffffffff803aafb5>] ecryptfs_read_and_validate_header_region+0x25/0x90
[ 8061.038658]  [<ffffffff803a8605>] ecryptfs_lookup+0x225/0x5a0
[ 8061.038661]  [<ffffffff8067a729>] ? _spin_lock+0x9/0x10
[ 8061.038667]  [<ffffffff802ee517>] __lookup_hash+0x107/0x170
[ 8061.038671]  [<ffffffff802ee5ad>] lookup_hash+0x2d/0x40
[ 8061.038673]  [<ffffffff802f1df6>] do_unlinkat+0x96/0x1d0
[ 8061.038676]  [<ffffffff802f4d30>] ? vfs_readdir+0xa0/0xd0
[ 8061.038679]  [<ffffffff802f4ef3>] ? sys_getdents+0xb3/0xe0
[ 8061.038681]  [<ffffffff802f209d>] sys_unlinkat+0x1d/0x40
[ 8061.038683]  [<ffffffff8021253a>] system_call_fastpath+0x16/0x1b
[ 8061.038687] Code: 10 00 00 00 48 89 98 50 e0 ff ff 31 db 48 85 d2 78 27 4c 89 f7 e8 6f ef 2c 00 48 83 c4 08 89 d8 5b 41 5c 41 5d 41 5e 41 5f c9 c3 <0f> 0b eb fe 66 2e 0f 1f 84 00 00 00 00 00 4c 89 f9 48 c7 c6 90 
[ 8061.038713] RIP  [<ffffffff803aa212>] ecryptfs_read_lower+0xa2/0xd0
[ 8061.038716]  RSP <ffff880118b8dd98>
[ 8061.038718] ---[ end trace 2b2c9bdc50a29c6a ]---



References