[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
This is a Debian/Ubuntu specific samba bug, as explained in comment #7 above. It is not a qemu or kvm bug. The QEMU -smb option works fine in many other distributions, where it can be run as a normal user without special permissions, and with multiple instances on the same machine. This is a fantastic feature, and I hope the samba patch can be fixed so we can support it in Debian/Ubuntu. Note: I believe the -smb option was recently moved as a sub-option of -net, but it is still supported by QEMU. ** Changed in: qemu-kvm (Ubuntu) Status: Confirmed = Invalid ** Changed in: kvm (Ubuntu) Status: Won't Fix = Invalid ** Changed in: qemu (Ubuntu) Status: Won't Fix = Invalid ** Summary changed: - samba can't be launched by a normal user (qemu related) + samba does not support private dir option (qemu related) -- samba does not support private dir option (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
Okay, I confirmed this on qemu-kvm in karmic. I'm not real sure if what I'm doing is correct, but I couldn't get it working. Upstream confirms that this should probably work. In any case, I won't be fixing this in qemu or kvm in = Jaunty. :-Dustin ** Also affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New ** Changed in: qemu-kvm (Ubuntu) Status: New = Confirmed ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Low ** Changed in: kvm (Ubuntu) Status: Confirmed = Won't Fix ** Changed in: qemu (Ubuntu) Status: Confirmed = Won't Fix -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
I can confirm that this is still a problem with jaunty. -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
Talked to Anthony Liguori again... He's going to post a note to the qemu-devel list. This code (samba in qemu) has rotted and is more or less unmaintainable, as it's designed horrible (uses a config in /tmp, requires privileges). Most likely the fix for this is going to come in karmic, merging a new QEMU release that removes this option altogether. :-Dustin ** Changed in: kvm (Ubuntu) Status: Incomplete = Confirmed -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
I spoke with upstream about this, and they indicated that this option is not used very often and if it's broken, it should be removed from the upstream sources. I have subscribed Anthony Liguori to this bug, who is the upstream qemu maintainer and happens to also be a samba developer. Anthony- Can you test this functionality and determine if it's still supported by upstream qemu/kvm? :-Dustin -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
** Changed in: kvm (Ubuntu) Importance: Undecided = Low -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
Can we please get this fixed, or edit the qemu man page on Ubuntu to document this functionality as broken? It really upset me when I tried to deploy this, and I ended up recompiling a custom samba package with those two patches disabled. -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
Confirming bug on Intrepid. :/ -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
Can anyone confirm this bug on Intrepid? Thanks! :-Dustin -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
** Changed in: kvm (Ubuntu) Status: New = Incomplete -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
After the workaround I did, samba started and was usable from a w2k in qemu. (I did start chmodding only one file and manually starting smbd and then it complained about another one and then another one...) I don't know what's incomplete about this bug and I can confirm that it still exists with hardy packages: qemu 0.9.1-1ubuntu1, samba 3.0.28a- 1ubuntu4. ** Changed in: qemu (Ubuntu) Status: Incomplete = Confirmed -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 50385] Re: samba can't be launched by a normal user (qemu related)
Me too. As a really ugly workaround I thought about this... (1) disable samba to run as daemon (add 'exit' in /etc/default/samba) (2) sudo chmod a+rw /var/run/samba/*.tdb /var/lib/samba/*.tdb This totally ruins the samba security, I expect. That's why I disabled samba to start as a daemon. -- samba can't be launched by a normal user (qemu related) https://bugs.launchpad.net/bugs/50385 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs