Bug 7149 - Installation Error
Installation Error
Product: Samba 4.0
Classification: Unclassified
Component: Tools
Other Linux
: P3 normal
: ---
Assigned To: Andrew Bartlett
Depends on:
  Show dependency treegraph
Reported: 2010-02-18 01:57 UTC by John H Terpstra
Modified: 2010-02-24 18:10 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description John H Terpstra 2010-02-18 01:57:27 UTC
Running: make install
Does NOT install /usr/local/samba/private/named.conf.update

Result is that when provision is executed the following error is recorded:

Setting up sam.ldb rootDSE marking as synchronized
rndc: connect failed: connection refused
rndc: connect failed: connection refused
Traceback (most recent call last):
  File "./provision", line 245, in <module>
  File "/usr/local/samba/lib64/python2.6/site-packages/samba/provision.py", line 1385, in provision
    dnsdomain=names.dnsdomain, private_dir=paths.private_dir)
  File "/usr/local/samba/lib64/python2.6/site-packages/samba/provision.py", line 1585, in create_named_conf
    setup_file(setup_path("named.conf.update"), paths.namedconf_update)
  File "/usr/local/samba/lib64/python2.6/site-packages/samba/__init__.py", line 360, in setup_file
    data = read_and_sub_file(template, subst_vars)
  File "/usr/local/samba/lib64/python2.6/site-packages/samba/__init__.py", line 341, in read_and_sub_file
    data = open(file, 'r').read()
IOError: [Errno 2] No such file or directory: '/usr/local/samba/share/setup/named.conf.update'
A transaction is still active in ldb context [0x18a2210] on /usr/local/samba/private/secrets.ldb
Comment 1 Matthias Dieter Wallnöfer 2010-02-21 14:27:14 UTC
I never had this problem. Does it persist on your setup?
Comment 2 Andrew Bartlett 2010-02-24 18:10:39 UTC
Fixed by 8d03b5e2246ddb234cc3199daff03d4763e6d030