Generated smb.conf needs to declare state directory

Bug #988125 reported by Nikolaus Rath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

The smb.conf generated by the userspace networking does not include a state directory
directive. Samba therefore falls back to the default value. Since the user generally
does not have write access to this path, smbd immediately crashes.

I have attached a patch that adds the missing option.

Tags: patch
Revision history for this message
Nikolaus Rath (nikratio) wrote :
Revision history for this message
Jan Kiszka (jan-kiszka) wrote :

That may fix old complaints about the smb feature not working. Since which smb version is this switch available? Maybe we need to make a version check before injecting it.

In any case, please post such a change as proper patch (subject, description, signed-off) to qemu-devel. Thanks!

Revision history for this message
Nikolaus Rath (nikratio) wrote :

This option is available since 3.4.0.

I just sent a patch to qemu-devel. Am I going to get some confirmation when it is applied? I'm unfamiliar with the development model.

Revision history for this message
Nikolaus Rath (nikratio) wrote :
Revision history for this message
Nikolaus Rath (nikratio) wrote :

Wrong link, sorry. This is the right one: http://article.gmane.org/gmane.comp.emulators.qemu/148286/

Peter Wu (lekensteyn)
Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

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