BIND9 daemon is appending installed path while searching named.conf

Alan Clegg alan at clegg.com
Mon Feb 11 11:44:51 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lalatendu Das wrote:

> As u mentioned the searching of named.conf from <prefix_path>/etc/
> named.conf can be irradicated by
> mentioning --sysconfdir=/etc.
> And indeed it worked. But the same problem happing for creating
> named.pid file which will created and tried to be opened at the time
> of start of daemon process.

I'm a bit confused. Why are you setting --prefix at all if you want to
override everything that it changes?

[..]
> can't create directory /var/run : Permission denied.
> 
> Is there anyway I can resolve this without being a superuser in that
> machine.

Not without specifying a localstatedir that you have write access to.

You still need to have appropriate permissions to write into system
directories.

AlanC
- --
"How in the world can we expect to solve the problems of inflation,
that is the increase in the supply of money, with more inflation?"
                                                        - Ron Paul
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHsDUzboBNI9PCHNoRAsOsAKCOgUXmUW73Rd8ekoDOCeRpprDLrACffpnR
+MzcVC7y+QJt4dbA+l8B+1g=
=lofM
-----END PGP SIGNATURE-----



More information about the bind-users mailing list