I've found that after upgrading to CSF 7.51, if /etc/resolv.conf is chattr +i - I'm unable to use csf.allow entries.
I also get this error when restarting csf:
*Error* Unable to open [/etc/resolv.conf]: Permission denied at /usr/sbin/csf line 838
After upgrading to 7.51 - bug with csf.allow
Re: After upgrading to 7.51 - bug with csf.allow
I'm seeing the same error since my resolv.conf is also immutable. What issue are you having with the csf.allow entries? Just wondering if I'm having a problem there as well.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: After upgrading to 7.51 - bug with csf.allow
If you modify /usr/local/csf/lib/ConfigServer/Slurp.pm and change line 31 from:
to:
You should then be fine.
Code: Select all
sysopen (FILE, $file, O_RDWR) or croak "*Error* Unable to open [$file]: $!";
Code: Select all
sysopen (FILE, $file, O_RDONLY) or croak "*Error* Unable to open [$file]: $!";
Re: After upgrading to 7.51 - bug with csf.allow
Thanks. That got rid of the error.
Re: After upgrading to 7.51 - bug with csf.allow
My problem was bigger - I've put in csf.allow entries to allow ssh access to my server only from certain IPs, after upgrade - I was unable to ssh into my server, even to access csf and stop it! I need to ask for kvm in my datacenter to solve this problem. This should be fixed asap in next release of csf/lfd.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: After upgrading to 7.51 - bug with csf.allow
csf v7.53 has been released to resolve this issue:
http://blog.configserver.com
http://blog.configserver.com