Source: fai
Severity: normal

Hello Thomas,

I'm using FAI-server from Debian stable and basically created my very own
FAI_CONFIG.
fai.log shows various "fcopy: Nonexisting directory
/var/lib/fai/config/files/etc/..." errors.
See: http://fai-project.org/screenshots/fai.txt

The mentioned files (resolv.conf, hosts, apt/preferences) are never fcopied by
me or my configspace, but I take care about them with ainsl. Since I'm
analyzing fai-logs with faiwatch (http://wiki.fai-project.org/wiki/Faiwatch)
the error messes up the output. Of course I could filter out these lines but I
rather think these error messages should not appear since it's no error: I
don't want those files to be fcopied.

I found that /usr/lib/fai/subroutines wants to copy these files with "fcopy
-BMv".
So: Isn't it possible to test if that file(s) exist before copying them? (I
don't know: what about "fcopy -i"?)



-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Reply via email to