#1464 closed defect (fixed)

smbstatus issue: locking.tdb not initialised.

Reported by: willytenner Owned by: william
Priority: major Milestone: 8.0.4-RELEASE-p2
Component: Backend Version: 8.0.4-RELEASE
Keywords: smbstatus Cc:

Description

This issue is on Version 8.0.4-RELEASE-p1 and above.

Starting the FreeNAS server, the smbd does not create the /var/db/samba/locking.tdb. smbstatus does not work. Stopping and starting the smbd manually creates the locking.tdb and smbstatus does work again.

Kind regards,
willy

Change History (8)

comment:1 Changed 13 months ago by willytenner

Same issue with FreeNAS 8.2.0-BETA3.

I really need the smbstatus for a selfwritten script which automatically shutdown the server.

comment:2 Changed 13 months ago by william

Nevermind previous comment, I'll take a look if I find some time.

Last edited 13 months ago by william (previous) (diff)

comment:3 Changed 13 months ago by willytenner

  • Keywords smbstatus added
  • Milestone set to 8.0.4-RELEASE-p2

comment:4 Changed 13 months ago by mattymuc

I can confirm this issue with 8.0.4-RELEASE-p1 and 8.0.4-RELEASE-p2.
Starting the FreeNAS server, the smbd does not create the /var/db/samba/locking.tdb and smbstatus is not working.

comment:5 Changed 12 months ago by william

  • Owner set to william
  • Status changed from new to accepted

Just a update, the issue is a patch for samba rc.d script that ends up running smbd and nmbd before removing the lock files.

I'll look for an fix soon (if i have time :)

comment:6 Changed 11 months ago by willytenner

Same issue with FreeNAS 8.2.0-BETA4.

comment:7 Changed 11 months ago by william

Sure, there isn't a fix yet, not sure there will be in time for RELEASE.

comment:8 Changed 10 months ago by william

  • Resolution set to fixed
  • Status changed from accepted to closed

I believe this issue has been fixed in r11895.

This won't be available in 8.2, but it will be for 8.3.

Note: See TracTickets for help on using tickets.