[Pkg-openssl-devel] Bug#532229: bind9-host: Failure to run host as normal user

Kurt Roeckx kurt at roeckx.be
Sun Jun 7 22:41:24 UTC 2009


severity 532229 normal
thanks

On Sun, Jun 07, 2009 at 06:56:21PM +0200, Carl Fürstenberg wrote:
> When running host as an ordinare user, following error is produced:
> [0:0][azatoth at azabox prog]$ host dn.se
> Auto configuration failed
> 3077928672:error:0200100D:system library:fopen:Permission denied:bss_file.c:126:fopen('/usr/lib/ssl/openssl.cnf','rb')
> 3077928672:error:2006D002:BIO routines:BIO_new_file:system lib:bss_file.c:131:
> 3077928672:error:0E078002:configuration file routines:DEF_LOAD:system lib:conf_def.c:199:
> 
> looking at that file, which is an symlink, it is shown that it is
> chodded 0400:
> [0:1][azatoth at azabox ~]$ ll /usr/lib/ssl/openssl.cnf
> lrwxrwxrwx 1 root root 20  3 jun 19.50 /usr/lib/ssl/openssl.cnf -> /etc/ssl/openssl.cnf
> [0:0][azatoth at azabox ~]$ ll /etc/ssl/openssl.cnf
> -r-------- 1 root root 9374 18 okt  2005 /etc/ssl/openssl.cnf

This file does not come with that mode by default.  It defaults
to mode 644:
-rw-r--r-- 1 root root 9374 Jun  1 14:16 /etc/ssl/openssl.cnf

Did you change the mode manual?  Why?  Looking at the size, I
guess it's still just the default one.


Kurt






More information about the Pkg-openssl-devel mailing list