[Intrepid] ./configure arguments need "--localstatedir=var"

Bug #270698 reported by David McBride
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba4 (Ubuntu)
Fix Released
Undecided
Jelmer Vernooij

Bug Description

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

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

fwiw, this is fixed in the package in Debian experimental

Changed in samba4:
status: New → Confirmed
Jelmer Vernooij (jelmer)
Changed in samba4:
status: Confirmed → Fix Committed
assignee: nobody → jelmer
Jelmer Vernooij (jelmer)
Changed in samba4 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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