On Mon, 30 Jan 2006, Duncan Hill wrote: > On Sunday 29 January 2006 21:19, Matthias Fuhrmann wrote: > > On Sun, 29 Jan 2006, Matthias Fuhrmann wrote: > > > Hello, > > > > > > recently i see many of those lines in our syslog: > > > > > > Jan 29 21:56:06 machine spamd[1951]: Insecure dependency in `` while > > > running with -T switch at /opt/gnu/lib/perl5/site_perl/5.8.3/Sy > > > s/Hostname/Long.pm line 91, <GEN14618> line 90. > > > > > > running 3.0.4 / perl 5.8.3 on sparc sun solaris 5.9. latest version of > > > Sys::Hostname::Long.pm (1.4) has been installed. > > > > > > any idea, on how to cope with that issue? > > > > i was wrong with our SA version. we already got 3.1.0 installed. > > Sys::Hostname::Long calls external binary programs to determine the hostname. > I'd guess that perl is complaining about that.
hi, just a question about the purpose of Long.pm. Am I right asuming, it just tries to get local machines hostname and domainname. nothing else additionaly. Correct? Just to ensure, i dont blow anything :) well, asuming this, a friend helped me solving the problem. in Sys::Hostname::Long we replaced method 'exec_hostname_domainname' with this one: 'exec_new_domainname' => { 'title' => 'new version', 'description' => 'new version', 'exec' => sub { open HOSTNAME, "<", "/etc/hostname.hme0" or warn; open DOMAINNAME, "<", "/etc/defaultdomain" or warn; my $tmp = <HOSTNAME> . '.' . <DOMAINNAME>; close HOSTNAME; close DOMAINNAME; $tmp =~ tr/\0\r\n//d; return $tmp; } }, testall.pl gave correct answer, after these changes. this seems working fineat all, since those syslog warnings disapeared. Can anyone confirm or validate, what we did with Long.pm? thanks in advance. regards, Matthias