Hello, I'm totally new with nfsen (1/2 day) but I've found the followin problem:
I can't access (nfsen -r live) my old datas if those are in a symbolic
link and not directly in the profile "live".
So I've patched NfProfile.pm to follow links.
I use FreeBSD port of nfsen : nfsen-1.2.4.20060810
If this modification can be useful for someone ...
o.p.
--- NfProfile.pm Wed Dec 5 19:22:43 2007
+++ NfProfile.pm.new Wed Dec 5 19:22:24 2007
@@ -791,7 +791,7 @@
$_scan_last = 'nfcapd.0';
$_scan_first = 'nfcapd.9';
- find( \&ScanFilter,
"$NfConf::PROFILEDATADIR/$profile/$sourcelist[0]" );
+ find( {wanted => \&ScanFilter,follow =>1},
"$NfConf::PROFILEDATADIR/$profile/$sourcelist[0]" );
if ( $_scan_last eq 'nfcapd.0' || $_scan_first eq 'nfcapd.9' ) {
syslog("info", "Rebuild: No data file found in profile
'$profile'");
print $socket "OK No data file found in profile
'$profile'\n" if exists $$opts{'quiet'};
--
Olivier PAGE Responsable CRI - TIC
Tel : +33 4.91.05.44.35 Site CRI: cri.ec-marseille.fr
Fax : +33 4.91.05.44.26 Ecole Centrale Marseille
38 rue Joliot-Curie 13451 Marseille Cedex 20
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________ Nfsen-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
