HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   bind issues with permissions always changing (http://www.howtoforge.com/forums/showthread.php?t=11296)

djtremors 11th March 2007 11:13

bind issues with permissions always changing
 
hey all,

building my second server using fedora 6 and ispc 2.2.11 and i'm finding the same issues i had with fedora 5 and any version of ispc.

For whatever reason the /var/named/chroot/var/named/ permissions are always changing occasionally back to 755 permissions which then doesn't allow the adminispconfig do updates to the dns zones. why this user must have access, i have no idea.

Every time the path changes it's permissions, ispc begins to segfault when writeconf.php runs which then stops update. Not only that, ispc considers the path invalid and changes the systems settings automatically to /etc/bind which doesn't even EXIST so why change it in the first place?

This is a constant issue for me as not only does it kill my ispc setup but also i have to manually chmod it as I can't find where this is being reset.

Also on initial install, i had a funny laugh that the path for name was set to '/home/admispconfig/ispconfig/web/multidoc/edit' which was interesting....

till 11th March 2007 11:45

ISPConfig is not changing these permissions at all, so it must be something in your fedora setup.

I would start looking at these places:

- bind startscript
- rpm updates
- cronjobs

djtremors 11th March 2007 12:54

i wasn't blaming ispc but at the same time i don't understand why writeconf.php seg faults only because the permissions are changed back to original install permissions. this segfaulting always happens with writeconf.php and on any version of ispconfig when the DNS permissions are not what your howto requires which is 755.. default of /var/named is "750 root:named"

till 11th March 2007 12:58

Quote:

Originally Posted by djtremors
this segfaulting always happens with writeconf.php and on any version of ispconfig when the DNS permissions are not what your howto requires which is 755.. default of /var/named is "750 root:named"

The segfaults are a mysterium for me too. It must be a bug in PHP itself, beacause it should be not possible to produce a segfault in a interpreted language like PHP as ther are no functions to access low level memory structures and pointers like in C for example.


All times are GMT +2. The time now is 11:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.