GNOME Bugzilla – Bug 129410
spews warning messages
Last modified: 2004-12-22 21:47:04 UTC
Whenever gnome-vfs-extras 0.99.11 is in use, it spews warnings. When copying files, these destroy interactive use (file copies slow down to about 100 kiB/s on a 100 Mibit network) and fill the disk (.xsession-errors rapidly becomes 2^31-1 bytes in size). This can be seen when starting gedit: pisces:~$ gedit <-- smb module init called --> LOCK added interface ip=192.168.1.4 bcast=192.168.1.255 nmask=255.255.255.0 lp_load: refreshing parameters Initialising global parameters Attempting to register new charset UCS-2LE Registered charset UCS-2LE Attempting to register new charset UTF8 Registered charset UTF8 Attempting to register new charset ASCII Registered charset ASCII Attempting to register new charset 646 Registered charset 646 Attempting to register new charset UCS2-HEX Registered charset UCS2-HEX Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE params.c:pm_process() - Processing configuration file "/home/hosehead/.smb/smb.conf" pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: role = ROLE_STANDALONE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Substituting charset 'ISO-8859-1' for LOCALE Using netbios name PISCES. Using workgroup WORKGROUP. UNLOCK Even more stuff is present (i.e., a dump of every packet, it seems) when copying files.
That's libsmbclient spitting those out, not anything in gnome-vfs-extras. You should ask the maintainer of your samba packages to compile libsmbclient without debugging.
From 0.99.11: err = smbc_init(auth_fn, 10); That initializes libsmbclient with debugging level 10, which causes exactly what I described. Also, #define DEBUG_SMB_ENABLE #define DEBUG_SMB_LOCKS are in the same smb-method.c file. This should be re-closed RESOLVED FIXED, as that's no longer the case as of 0.99.12.
Closing the bug as requested by Joe.