Public bug reported:

Binary package hint: samba4

The new samba4 packages do not function correctly; attempting to start
smbd via the init script appears to succeed, but no smbd daemons are
left running.

This is because the smbd binary is built with --localstatedir
effectively equivalent to /usr/var, which does not exist.  As a result,
smbd terminates almost immediately after it begins execution.

This can be demonstrated by running `smbd --debug-stderr` as root:

# smbd --debug-stderr
smbd version 4.0.0alpha6-GIT-7e90cc1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
ERROR: can't open /usr/var/run/samba/smbd.pid: Error was No such file or 
directory
#

Adding:

   --localstatedir=/var

... to the configure incantation in debian/rules _should_ fix the
problem, I'm trying a test build now.

Cheers,
David

** Affects: samba4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Intrepid] ./configure arguments need "--localstatedir=var"
https://bugs.launchpad.net/bugs/270698
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to