[Intrepid] ./configure arguments need "--localstatedir=var"
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-
Copyright Andrew Tridgell and the Samba Team 1992-2008
ERROR: can't open /usr/var/
#
Adding:
--localstate
... to the configure incantation in debian/rules _should_ fix the problem, I'm trying a test build now.
Cheers,
David
Changed in samba4: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → jelmer |
Changed in samba4 (Ubuntu): | |
status: | Fix Committed → Fix Released |
fwiw, this is fixed in the package in Debian experimental