[Bug 1364316] Re: Very slow/failed logon on cifs mounted home caused by locking issues of .config/dconf
This seems to be a known issue with dconf as it can be read in the dconf manual. https://developer.gnome.org/dconf/unstable/dconf-overview.html "The binary database format that dconf uses by default is not suitable for use on NFS, where mmap does not work well." This seems to be also applicable to cifs. The solution is better explained in the Red Hat Customer Portal https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Desktop_Migration_and_Administration_Guide/store-user-settings-over-nfs.html Short version: 1. Create file /etc/dconf/profile/user 2. There insert following line: service-db:keyfile/user 3. Save the file and reboot Question is whether this could be the default. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1364316 Title: Very slow/failed logon on cifs mounted home caused by locking issues of .config/dconf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/d-conf/+bug/1364316/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1364316] [NEW] Very slow/failed logon on cifs mounted home caused by locking issues of .config/dconf
Public bug reported: Use Ubuntu 14.04.1 LTS (with latest updates) Configure your system to mount user home directories on login via cifs mount (you can also switch to console and mount some user's home via cifs). You can try this via a samba mount on the same computer to show that there are no network related issues, but make sure to not mount your users home in his home (smbd will loop), but an empty share where your user has all rights, which is stored on a completely other directory path (not in your home). Make sure that the home directory is empty (ls -alh shows no files). Login via lightdm (Gnome Shell Fallback (Metacity) or Ubuntu (Unity)). Login will be very slow and might hang. On the server you will find in the samba logs: Oplock break failed for file .config/dconf/user -- replying anyway in your .cache/upstart/ logfiles you will find errors about dconf not being able to store it's configuration. When you restart the computer, clean up the mounted directory and either use the bind option of mount to redirect .config/dconf elsewhere or use pam_mount to mount a tmpfs there, the login will be very fast as it should be (but you loose your dconf data). Disabling locking in smb.conf also helps, but unfortunately it can be only set on whole shares (ok it could be set on file extensions, but user has no file extension). ** Affects: d-conf (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1364316 Title: Very slow/failed logon on cifs mounted home caused by locking issues of .config/dconf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/d-conf/+bug/1364316/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 330138] Re: Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner
Sorry for not updating the bug report. We have now upgraded to Ubuntu 9.04 and as far as I remember it worked correctly with the release version, but as Ubuntu 8.04 was the only version with long term support it should be corrected if not a newer long term version is being released shortly. If possible can you try the jaunty version? Thanks chuck ** Changed in: samba (Ubuntu) Status: New = Incomplete -- Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner https://bugs.launchpad.net/bugs/330138 You received this bug notification because you are a direct subscriber of the bug. Status in âsambaâ package in Ubuntu: Incomplete Bug description: Mount your home share from an openSuSE 11.1 Samba server or an 3.0.33 Samba server (gentoo) with preserve case=yes short preserve case=yes case sensitive = auto set on the server. Try to enter into the Documents folder by typing cd documents (lower case by purpose) Although it should fail (because it should be case sensitive), it will succeed and an ls shows your documents. The big problem is that when you try to edit your files via your favorite editor (i.e. nano) or to show them via cat it will fail telling you that the file doesn't exist (but you were able to successfully enter the directory, you even could enter a subdirectory, but accessing the files inside will fail (although ls shows them to you)). As other distributions doesn't show this issue when mounting Samba shares and it only happens with Ubuntu 8.10 and Ubuntu 8.04.1, but not with Debian 4.0 (can't remember the r-code, might be 4 or 6, can't check this now, sorry) and other distributions like openSuSE 11.1 mount them without this behavior, it seems to be a Ubuntu-specific bug. -- Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner https://bugs.launchpad.net/bugs/330138 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 330138] Re: Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner
I have tested connecting a smbclient 3.0.33 (gentoo) against a samba server 3.0.33 (gentoo) and it seems to ignore the case (lets me enter the dokumente folder, but it is able to retrieve the file then -- ignores case completely, what I also could accept). When I use mount.cifs (gentoo) and try to change to dokumente (the folder's real name is Dokumente) I get bash: cd: /mnt/blabla/dokumente: file or directory not found. Which I would like to be the behaviour of Ubuntu. Could this be a matter of the cifs-kernel-module's version? Can't check the exact version of the OpenSuSE 11.1 samba server, but http://en.opensuse.org/Samba/Versions_in_SUSE_products tells that it should be a 3.2.4 server. I have tested cifs.mount with a Debian 5.0 client (Samba 3.2.x) against a samba server 3.0.33 and it prevents me from entering the dokumente folder, which is the right way. -- Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner https://bugs.launchpad.net/bugs/330138 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 330138] Re: Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner
Using an Ubuntu client: smbclient ignores case and gets the files properly, mount.cifs ignores the case when changing the directory (cd dokumente works), but seems to be case sensitive when trying to access a file in a then non-existent path (dokumente/file doesn't exist, but Dokumente/file would exist). -- Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner https://bugs.launchpad.net/bugs/330138 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 330138] Re: Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner
I have tested connecting a smbclient 3.0.33 (gentoo) against a samba server 3.0.33 (gentoo) and it seems to ignore the case (lets me enter the dokumente folder, but it is able to retrieve the file then -- ignores case completely, what I also could accept). When I use mount.cifs (gentoo) and try to change to dokumente (the folder's real name is Dokumente) I get bash: cd: /mnt/blabla/dokumente: file or directory not found. Which I would like to be the behaviour of Ubuntu. Could this be a matter of the cifs-kernel-module's version? Can't check the exact version of the OpenSuSE 11.1 samba server, but http://en.opensuse.org/Samba/Versions_in_SUSE_products tells that it should be a 3.2.4 server. I have tested cifs.mount with a Debian 5.0 client (Samba 3.2.x) against a samba server 3.0.33 and it prevents me from entering the dokumente folder, which is the right way. -- Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner https://bugs.launchpad.net/bugs/330138 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 330138] Re: Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner
Using an Ubuntu client: smbclient ignores case and gets the files properly, mount.cifs ignores the case when changing the directory (cd dokumente works), but seems to be case sensitive when trying to access a file in a then non-existent path (dokumente/file doesn't exist, but Dokumente/file would exist). -- Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner https://bugs.launchpad.net/bugs/330138 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 330138] [NEW] Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner
Public bug reported: Mount your home share from an openSuSE 11.1 Samba server or an 3.0.33 Samba server (gentoo) with preserve case=yes short preserve case=yes case sensitive = auto set on the server. Try to enter into the Documents folder by typing cd documents (lower case by purpose) Although it should fail (because it should be case sensitive), it will succeed and an ls shows your documents. The big problem is that when you try to edit your files via your favorite editor (i.e. nano) or to show them via cat it will fail telling you that the file doesn't exist (but you were able to successfully enter the directory, you even could enter a subdirectory, but accessing the files inside will fail (although ls shows them to you)). As other distributions doesn't show this issue when mounting Samba shares and it only happens with Ubuntu 8.10 and Ubuntu 8.04.1, but not with Debian 4.0 (can't remember the r-code, might be 4 or 6, can't check this now, sorry) and other distributions like openSuSE 11.1 mount them without this behavior, it seems to be a Ubuntu-specific bug. ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner https://bugs.launchpad.net/bugs/330138 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 330138] [NEW] Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner
Public bug reported: Mount your home share from an openSuSE 11.1 Samba server or an 3.0.33 Samba server (gentoo) with preserve case=yes short preserve case=yes case sensitive = auto set on the server. Try to enter into the Documents folder by typing cd documents (lower case by purpose) Although it should fail (because it should be case sensitive), it will succeed and an ls shows your documents. The big problem is that when you try to edit your files via your favorite editor (i.e. nano) or to show them via cat it will fail telling you that the file doesn't exist (but you were able to successfully enter the directory, you even could enter a subdirectory, but accessing the files inside will fail (although ls shows them to you)). As other distributions doesn't show this issue when mounting Samba shares and it only happens with Ubuntu 8.10 and Ubuntu 8.04.1, but not with Debian 4.0 (can't remember the r-code, might be 4 or 6, can't check this now, sorry) and other distributions like openSuSE 11.1 mount them without this behavior, it seems to be a Ubuntu-specific bug. ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner https://bugs.launchpad.net/bugs/330138 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs