BTS

Message3785

Author xlk
Recipients xlk
Date 2011-05-12.13:34:34
Content
The following occured when running grml-live (squeeze, GRML_FULL):

> Calling hook: instsoft.GRMLBASE
> Action softupdate of FAI (hooks/instsoft.GRMLBASE) via grml-live running
> cat: /etc/resolv.conf: input file is output file
> instsoft.GRMLBASE    FAILED with exit code 1.

This happens because "$target/etc/resolv.conf" points back to "/etc/resolv.conf":

> grml_chroot/etc/resolv.conf -> /etc/resolvconf/run/resolv.conf
> grml_chroot/etc/resolvconf/run -> /lib/init/rw/resolvconf

When trying to reproduce the problem, grml_chroot/etc/resolvconf/run was no link
anymore.  However, the hook script should be written in a way that avoids paths
outside the chroot.
History
Date User Action Args
2011-05-12 13:34:36xlksetrecipients: + xlk
2011-05-12 13:34:36xlksetmessageid: <1305207275.99.0.433479065393.issue984@bts.grml.org>
2011-05-12 13:34:35xlklinkissue984 messages
2011-05-12 13:34:34xlkcreate