Should I run make test as root
Andrew Bartlett
abartlet at samba.org
Sun Apr 19 01:11:11 MDT 2015
On Sat, 2015-04-18 at 19:59 -0700, Richard Sharpe wrote:
> On Sat, Apr 18, 2015 at 3:15 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> > On Sat, 2015-04-18 at 15:05 -0700, Richard Sharpe wrote:
> >> Hi,
> >>
> >> In running make test I noticed things failing because it could not do
> >> things it needed to, like creating files in system places.
> >>
> >> Should I run the test as root?
> >
> > No, if it needs root that is a bug.
> >
> > What things were writing out the build root?
>
> I saw these errors:
>
> /home/rsharpe/samba/samba.master-secrets/bin/winbindd: mkdir failed on
> directory /usr/local/samba/var/cores: No such file or directory
> /home/rsharpe/samba/samba.master-secrets/bin/winbindd: Failed to
> create /usr/local/samba/var/cores for user 1000 with mode 0700
> /home/rsharpe/samba/samba.master-secrets/bin/winbindd: Unable to setup
> corepath for winbindd: No such file or directory
> /home/rsharpe/samba/samba.master-secrets/bin/winbindd: mkdir failed on
> directory /usr/local/samba/var/cores: No such file or directory
> /home/rsharpe/samba/samba.master-secrets/bin/winbindd: Failed to
> create /usr/local/samba/var/cores for user 1000 with mode 0700
> /home/rsharpe/samba/samba.master-secrets/bin/winbindd: Unable to setup
> corepath for winbindd: No such file or directory
Yes, a patch is needed to overrider the core path just like we overrider
dyn_BINDIR and a number of other paths, see dynconfig/, so these are not
used except in the install binaries.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list