Activity log for bug #286828

Date Who What changed Old value New value Message
2008-10-21 06:58:09 Eskild Hustvedt bug added bug
2008-10-21 07:00:58 Eskild Hustvedt description Binary package hint: smbfs System info: smbfs: Installed: 2:3.2.3-1ubuntu3 Candidate: 2:3.2.3-1ubuntu3 Description: Ubuntu 8.10 Release: 8.10 [0 zerodogg@firefly ~]$ uname -a Linux firefly 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:30 UTC 2008 x86_64 GNU/Linux Expected results: CIFS mounts keeps working after upgrade. Results: After upgrading from 8.04 to 8.10 (roughly one week ago, on the 23rd of Oct 08) using update-manager -d my CIFS mounts stopped working properly. I did not change any settings between them, and I have another machine on this network that is still running 8.04 and that doesn't have any problems. They mount fine, and I can, with some effort, copy and read files from it (though I have to do it manually, as many programs will whine). As an example (here /mnt/diverse is my cifs mountpoint, mounted from a MyBook network drive): [0 zerodogg@firefly ~]$ ls -l /mnt/diverse/test ls: cannot access /mnt/diverse/test: No such file or directory [2 zerodogg@firefly ~]$ touch /mnt/diverse/test touch: setting times of `/mnt/diverse/test': Not a directory [1 zerodogg@firefly ~]$ ls -l /mnt/diverse/test -rwxr--r-- 1 zerodogg zerodogg 0 Oct 21 08:39 /mnt/diverse/test [0 zerodogg@firefly ~]$ ls -l /mnt/diverse/test2 ls: cannot access /mnt/diverse/test2: No such file or directory [2 zerodogg@firefly ~]$ touch test2 [0 zerodogg@firefly ~]$ mv test2 /mnt/diverse/ `test2' -> `/mnt/diverse/test2' mv: preserving times for `/mnt/diverse/test2': Not a directory mv: setting permissions for `/mnt/diverse/test2': Not a directory removed `test2' [0 zerodogg@firefly ~]$ chmod 644 /mnt/diverse/test2 chmod: changing permissions of `/mnt/diverse/test2': Not a directory [0 zerodogg@firefly ~]$ rsync -avzh --progress --partial test3 /mnt/diverse/ sending incremental file list test3 0 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/1) rsync: mkstemp "/mnt/diverse/.test3.mllG7b" failed: Not a directory (20) sent 87 bytes received 31 bytes 236.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files could not be transferred (code 23) at main.c(1058) [sender=3.0.3] The same commands, on the same mount on the 8.04 machine works perfectly fine. It also worked fine on this (8.10) machine before the upgrade. The relevant fstab entry (I have tried with and without dir_mode,file_mode,nounix): //mybook/DIVERSE /mnt/diverse cifs username=USERNAME,password=PASSWORD,uid=1000,gid=1000,dir_mode=0750,file_mode=0640,noauto,user,exec 0 0 [0 zerodogg@firefly ~]$ mount |grep div //zdmybook/DIVERSE on /mnt/diverse type cifs (rw,mand,nosuid,nodev) The fstab entry on the 8.04 box: //zdmybook/DIVERSE /mnt/Diverse smbfs username=USER,password=PASSWORd,uid=1000,gid=1001,noauto,user,noatime 0 0 And as an example, this time from the 8.04: [0 lisbeth@lisbeth ~]$ touch /mnt/diverse/123 [0 lisbeth@lisbeth ~]$ ls -l /mnt/diverse/123 -rwxr--r-- 1 lisbeth zerodogg 0 2008-10-21 08:53 /mnt/diverse/123 [0 lisbeth@lisbeth ~]$ mount|\grep div //zdmybook/DIVERSE on /mnt/diverse type cifs (rw,mand,noexec,nosuid,nodev) [0 lisbeth@lisbeth ~]$ LC_ALL=C apt-cache policy smbfs smbfs: Installed: 3.0.28a-1ubuntu4.5 Candidate: 3.0.28a-1ubuntu4.5 [0 lisbeth@lisbeth ~]$ lsb_release -rd Description: Ubuntu 8.04.1 Release: 8.04 [0 lisbeth@lisbeth ~]$ uname -a Linux lisbeth 2.6.24-21-generic #1 SMP Mon Aug 25 16:57:51 UTC 2008 x86_64 GNU/Linux Binary package hint: smbfs System info: smbfs: Installed: 2:3.2.3-1ubuntu3 Candidate: 2:3.2.3-1ubuntu3 Description: Ubuntu 8.10 Release: 8.10 [0 zerodogg@firefly ~]$ uname -a Linux firefly 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:30 UTC 2008 x86_64 GNU/Linux Expected results: CIFS mounts keeps working after upgrade. Results: After upgrading from 8.04 to 8.10 (roughly one week ago, on the 23rd of Oct 08) using update-manager -d my CIFS mounts stopped working properly. I did not change any settings between them, and I have another machine on this network that is still running 8.04 and that doesn't have any problems. They mount fine, and I can, with some effort, copy and read files from it (though I have to do it manually, as many programs will whine). As an example (here /mnt/diverse is my cifs mountpoint, mounted from a MyBook network drive): [0 zerodogg@firefly ~]$ ls -l /mnt/diverse/test ls: cannot access /mnt/diverse/test: No such file or directory [2 zerodogg@firefly ~]$ touch /mnt/diverse/test touch: setting times of `/mnt/diverse/test': Not a directory [1 zerodogg@firefly ~]$ ls -l /mnt/diverse/test -rwxr--r-- 1 zerodogg zerodogg 0 Oct 21 08:39 /mnt/diverse/test [0 zerodogg@firefly ~]$ ls -l /mnt/diverse/test2 ls: cannot access /mnt/diverse/test2: No such file or directory [2 zerodogg@firefly ~]$ touch test2 [0 zerodogg@firefly ~]$ mv test2 /mnt/diverse/ `test2' -> `/mnt/diverse/test2' mv: preserving times for `/mnt/diverse/test2': Not a directory mv: setting permissions for `/mnt/diverse/test2': Not a directory removed `test2' [0 zerodogg@firefly ~]$ chmod 644 /mnt/diverse/test2 chmod: changing permissions of `/mnt/diverse/test2': Not a directory [0 zerodogg@firefly ~]$ rsync -avzh --progress --partial test3 /mnt/diverse/ sending incremental file list test3 0 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/1) rsync: mkstemp "/mnt/diverse/.test3.mllG7b" failed: Not a directory (20) sent 87 bytes received 31 bytes 236.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files could not be transferred (code 23) at main.c(1058) [sender=3.0.3] The same commands, on the same mount on the 8.04 machine works perfectly fine. It also worked fine on this (8.10) machine before the upgrade. The relevant fstab entry (I have tried with and without dir_mode,file_mode,nounix): //zdmybook/DIVERSE /mnt/diverse cifs username=USERNAME,password=PASSWORD,uid=1000,gid=1000,dir_mode=0750,file_mode=0640,noauto,user,exec 0 0 [0 zerodogg@firefly ~]$ mount |grep div //zdmybook/DIVERSE on /mnt/diverse type cifs (rw,mand,nosuid,nodev) The fstab entry on the 8.04 box: //zdmybook/DIVERSE /mnt/Diverse smbfs username=USER,password=PASSWORd,uid=1000,gid=1001,noauto,user,noatime 0 0 And as an example, this time from the 8.04: [0 lisbeth@lisbeth ~]$ touch /mnt/diverse/123 [0 lisbeth@lisbeth ~]$ ls -l /mnt/diverse/123 -rwxr--r-- 1 lisbeth zerodogg 0 2008-10-21 08:53 /mnt/diverse/123 [0 lisbeth@lisbeth ~]$ mount|\grep div //zdmybook/DIVERSE on /mnt/diverse type cifs (rw,mand,noexec,nosuid,nodev) [0 lisbeth@lisbeth ~]$ LC_ALL=C apt-cache policy smbfs smbfs: Installed: 3.0.28a-1ubuntu4.5 Candidate: 3.0.28a-1ubuntu4.5 [0 lisbeth@lisbeth ~]$ lsb_release -rd Description: Ubuntu 8.04.1 Release: 8.04 [0 lisbeth@lisbeth ~]$ uname -a Linux lisbeth 2.6.24-21-generic #1 SMP Mon Aug 25 16:57:51 UTC 2008 x86_64 GNU/Linux
2008-10-24 17:27:23 Chuck Short samba: status New Incomplete
2008-10-24 17:27:23 Chuck Short samba: statusexplanation Is there anything in the error log about this? Thanks chuck
2008-10-31 09:45:28 Thierry Carrez samba: status Incomplete New
2008-10-31 09:45:28 Thierry Carrez samba: statusexplanation Is there anything in the error log about this? Thanks chuck Could other people experiencing this bug tell what type of network share they are trying to access (Samba server, network drive, NAS box brand, Windows Server, etc.) and if setting /proc/fs/cifs/LinuxExtensionsEnabled to 0 also solves the issue for them ? Unfortunately, at the moment it appears that the /proc setting is the only way to request *not* to negociate the Unix extensions. It would be easier if we could specify it as a per-mount option. Steve French talked about this option in the past, but apparently it never made it to CIFS: http://lkml.org/lkml/2007/4/30/221 http://www.mail-archive.com/linux-fsdevel@vger.kernel.org/msg07737.html
2008-10-31 15:03:04 Dustin Kirkland  bug added subscriber Steve French
2008-11-05 07:55:45 Alexey Mentat bug added attachment 'cifs fail sample' (CIFS failed session)
2008-11-05 13:05:57 Alexey Mentat samba: status New Confirmed
2008-11-05 13:05:57 Alexey Mentat samba: statusexplanation Could other people experiencing this bug tell what type of network share they are trying to access (Samba server, network drive, NAS box brand, Windows Server, etc.) and if setting /proc/fs/cifs/LinuxExtensionsEnabled to 0 also solves the issue for them ? Unfortunately, at the moment it appears that the /proc setting is the only way to request *not* to negociate the Unix extensions. It would be easier if we could specify it as a per-mount option. Steve French talked about this option in the past, but apparently it never made it to CIFS: http://lkml.org/lkml/2007/4/30/221 http://www.mail-archive.com/linux-fsdevel@vger.kernel.org/msg07737.html
2008-11-19 07:36:23 Thierry Carrez title CIFS share broken after upgrade from 8.04 -> 8.10 Access to samba<3.0.26 shares using CIFS is broken on 8.10
2008-11-19 23:42:14 Martien Verbruggen bug added attachment 'cifs.dumps.tar.gz' (Two wireshark dumps.)
2008-11-21 08:42:57 Thierry Carrez title Access to samba<3.0.26 shares using CIFS is broken on 8.10 Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
2008-11-21 08:43:28 Thierry Carrez bug assigned to linux (Ubuntu)
2008-11-21 08:43:47 Thierry Carrez linux: importance Undecided Wishlist
2008-11-21 08:43:47 Thierry Carrez linux: statusexplanation
2008-11-21 08:44:04 Thierry Carrez samba: status Confirmed Invalid
2008-11-21 17:08:26 Tim Gardner linux: status New Fix Committed
2008-11-21 17:08:26 Tim Gardner linux: assignee timg-tpi
2008-11-21 17:08:26 Tim Gardner linux: importance Undecided High
2008-11-21 17:08:26 Tim Gardner linux: statusexplanation SRU Justification Impact: see bug description Patch Description: add a nodfs mount options that forces a share to be used with non DFS paths, even if the server claims, that it supports it. Patch: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-intrepid.git;a=commit;h=e5cefa9f15f8952579d697d54f27f5e82d0b2113 Test case: see bug description
2008-11-21 17:08:26 Tim Gardner linux: milestone intrepid-updates
2008-11-21 17:08:59 Tim Gardner samba: status New Invalid
2008-11-21 17:08:59 Tim Gardner samba: statusexplanation
2008-11-21 17:09:15 Tim Gardner linux: status New Invalid
2008-12-18 20:06:42 Steve Langasek bug added subscriber SRU Verification
2009-01-22 09:00:38 simonm bug added attachment 'cifs-mount.pcap.gz' (cifs-mount.pcap.gz)
2009-01-22 09:00:38 simonm bug added attachment 'cifs-stdout_redirection.pcap.gz' (cifs-stdout_redirection.pcap.gz)
2009-01-28 07:32:10 Launchpad Janitor linux: status Fix Committed Fix Released