samba lock files (also local ones)

Bug #329682 reported by kaiszy
2
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: samba

Hi!

Since several week i have a big problem with my samba-server: When i try to get access to a file from a client, the client hangs. Then i try to access the file direct on the samba-server with same effect (client hangs). When i access other files, it work (both, from client and on sambaserver direct).

After shutdown the sambaserver (/etc/init.d/samba stop) i can access the file local on the sambaserver (but of course not from a client).

When i make a "ps fax" after the sambaserver stops there will be one smbd process that is still running. I have to kill it with "kill -KILL pid" to stop it (and restart the sambaserver. When i start the sambaserver again everything works well (untikl next lock).

In the logfiles there is nothing special.

As attachment you will find further information.

CU,
   Kai.

Revision history for this message
kaiszy (kai-szymanski) wrote :
Revision history for this message
kaiszy (kai-szymanski) wrote :
Revision history for this message
kaiszy (kai-szymanski) wrote :
Revision history for this message
kaiszy (kai-szymanski) wrote :
Revision history for this message
kaiszy (kai-szymanski) wrote :

Hi again,

now i have turned on "massive debugging" and voilá...i have attached the logfile. What happens ?

I open the file "passwordsafe.PSAFE3" on the client and shutdown the client. After reboot i open the file again wuith result, that the client hangs (also local access to the file did'nt work). Also the smbd-Process on the sambaserver hangs (i have to kill -KILL it).

Best regards,
  Kai.

Revision history for this message
kaiszy (kai-szymanski) wrote :
  • log.gz Edit (27.9 KiB, application/octet-stream)

Hi!

Interesting is:

[2009/02/15 13:28:38, 10] smbd/open.c:open_file_ntcreate(1347)
  open_file_ntcreate: fname=passwordsafe.psafe3, after mapping access_mask=0x120089
[2009/02/15 13:28:38, 5] smbd/files.c:file_new(123)
  allocated file structure 9476, fnum = 13572 (1 used)
[2009/02/15 13:28:38, 10] locking/locking.c:parse_share_modes(523)
  parse_share_modes: delete_on_close: 0, num_share_modes: 2
[2009/02/15 13:28:38, 10] locking/locking.c:parse_share_modes(623)
  parse_share_modes: share_mode_entry[0]: pid = 3729, share_access = 0x7, private_options = 0x40, access_mask = 0x120089, mid = 0x28, type= 0x1, file_id =
[2009/02/15 13:28:38, 10] locking/locking.c:parse_share_modes(623)
  parse_share_modes: share_mode_entry[1]: UNUSED pid = 3817, share_access = 0x0, private_options = 0x0, access_mask = 0x0, mid = 0x28, type= 0x40, file_id =
[2009/02/15 13:28:38, 10] smbd/open.c:share_conflict(428)
  share_conflict: entry->access_mask = 0x120089, entry->share_access = 0x7, entry->private_options = 0x40
[2009/02/15 13:28:38, 10] smbd/open.c:share_conflict(431)
  share_conflict: access_mask = 0x120089, share_access = 0x7
[2009/02/15 13:28:38, 10] smbd/open.c:share_conflict(480)
  share_conflict: [1] am (0x120089) & right (0x6) = 0x0
[2009/02/15 13:28:38, 10] smbd/open.c:share_conflict(480)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2009/02/15 13:28:38, 10] smbd/open.c:share_conflict(482)
  share_conflict: [2] am (0x120089) & right (0x6) = 0x0
[2009/02/15 13:28:38, 10] smbd/open.c:share_conflict(482)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[

CU,
  KAi.

Revision history for this message
Chuck Short (zulcss) wrote :

Is it just password safe you are having problems with or is it other programs as well?

Regards
chuck

Changed in samba:
status: New → Incomplete
Revision history for this message
kaiszy (kai-szymanski) wrote :

Hi chuck,

no, password safe is only an example (happens also with Open Office Files, eclipse [my c source files], gimp [images]). Seems to be with every application that uses the Fileserver (see also bug

https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/321568

There my backgroundpicture is locked after reboot the client.

Best regards,
  Kai.

Chuck Short (zulcss)
Changed in samba (Ubuntu):
importance: Undecided → Low
status: Incomplete → Confirmed
Revision history for this message
Chuck Short (zulcss) wrote :

Are you still having this problem, which version of samba and can you please attach the smb.conf flle and the log file with debugging levels turned to 9?

Thanks
chuck

Changed in samba (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Chuck Short (zulcss) wrote :

Closing no response from user.

chuck

Changed in samba (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.