copying /etc/resolv.conf produces error

Thomas Lange lange at informatik.uni-koeln.de
Wed Jan 15 19:21:11 CET 2014


>>>>> On Wed, 15 Jan 2014 19:12:26 +0100, Manuel Hachtkemper <hacman at math.uni-bonn.de> said:

    >     if ! fcopy -BMv /etc/resolv.conf ; then
    >         if test -L $FAI_ROOT/etc/resolv.conf && \
    >             [ $(readlink -f /etc/resolv.conf) = $(readlink -f $FAI_ROOT/etc/resolv.conf) ] ; then
    >             echo "/etc/resolv.conf + $FAI_ROOT/etc/resolv.conf are already pointing to the same file."
    >         else
    >             cp -v /etc/resolv.conf $FAI_ROOT/etc
    >         fi
    >     fi

    > generate following warning/error lines (in our setup) during a softupdate

    > fcopy: Nonexisting directory /var/lib/fai/config/files/etc/resolv.conf. No files copied.
    > cp: /etc/resolv.conf' and //etc/resolv.conf are the same file
    > .
This code was already changed in this commit
https://github.com/faiproject/fai/commit/e573705319f815f545818d796631523003fcf56c

Maybe it fixes your problem.

-- 
regards Thomas


More information about the linux-fai mailing list