Activity log for bug #486667

Date Who What changed Old value New value Message
2009-11-22 13:57:23 demidrol bug added bug
2009-11-23 14:50:20 Chuck Short affects samba (Ubuntu) linux (Ubuntu)
2009-11-23 16:56:49 darteaga description Binary package hint: samba I noticed that after upgrade from linux-image-2.6.29 to linux-image-2.6.32-4-generic some programs that recursively scan directories (like mpd, xmms2 or gqview) stopped working on samba shares. They simply doesn't see the mountpoint (e.g. if I mount //server/share on /mnt/mountpoint and navigate gqview to /mnt it does not see mountpoint subdirectory). I suspect that this is somehow connected with strange behavior of stat() system call. The following code #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> int main(int argc, char* argv[]){ struct stat stat_buf; if (argc != 2) exit(-1); if (stat(argv[1], &stat_buf) != 0){ perror(NULL); exit(-1); } return 0; } fails on samba shares (e.g. if I try to execute ./a.out /mnt/mountpoint I get "Value too large for defined data type"). System info: Description: Ubuntu lucid (development branch) Release: 10.04 smbfs-3.4.2-1ubuntu1 linux-image-2.6.32.4.4 Binary package hint: samba I noticed that after upgrade from linux-image-2.6.29 to linux-image-2.6.32-4-generic some programs that recursively scan directories (like mpd, xmms2 or gqview) stopped working on samba shares. They simply doesn't see the mountpoint (e.g. if I mount //server/share on /mnt/mountpoint and navigate gqview to /mnt it does not see mountpoint subdirectory). I suspect that this is somehow connected with strange behavior of stat() system call. The following code #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> int main(int argc, char* argv[]){     struct stat stat_buf;     if (argc != 2)         exit(-1);     if (stat(argv[1], &stat_buf) != 0){         perror(NULL);         exit(-1);     }     return 0; } fails on samba shares (e.g. if I try to execute ./a.out /mnt/mountpoint I get "Value too large for defined data type"). System info: Description: Ubuntu lucid (development branch) Release: 10.04 smbfs-3.4.2-1ubuntu1 linux-image-2.6.32.4.4
2009-11-25 10:43:22 Andy Whitcroft tags kernel-series-unknown
2009-11-25 10:58:43 Andy Whitcroft tags kernel-series-unknown kernel-lucid
2009-11-27 13:23:58 demidrol marked as duplicate 459548
2011-07-13 10:26:01 Michal Gielda bug added subscriber Michal Gielda
2013-04-19 09:30:06 Launchpad Janitor linux (Ubuntu): status New Confirmed