FS#18625 - [samba] /var/run/samba not created if missing

Attached to Project: Arch Linux
Opened by Ayla Ounce (reacocard) - Wednesday, 10 March 2010, 04:18 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 29 August 2010, 10:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

I have /var/run on a tmpfs, so the /var/run/samba directory installed by the package does not persist between reboots. This results in samba failing to start until that folder is manually created. The initscript should be adjusted to automatically create this dir if it is missing, just like the dbus and hal initscripts do.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 29 August 2010, 10:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.5.4-2
Comment by Ayla Ounce (reacocard) - Wednesday, 10 March 2010, 04:23 GMT
patched initscript that will create /var/run/samba if its missing is attached.
   samba (1 KiB)
Comment by Ayla Ounce (reacocard) - Tuesday, 18 May 2010, 16:41 GMT
Same change, redone as a proper patch.
Comment by Ayla Ounce (reacocard) - Friday, 04 June 2010, 11:22 GMT
This is NOT fixed in 3.5.3-1. If I remove /var/run/samba and restart samba, the directory is not re-created and the daemon fails to start.
Comment by Tobias Powalowski (tpowa) - Friday, 04 June 2010, 11:24 GMT
hrm i added your proposed patch, so it should work
Comment by Tobias Powalowski (tpowa) - Friday, 04 June 2010, 11:25 GMT
urgh damn, seems something went wrong,grrr.

Loading...