grml-live
grml-live copied to clipboard
Dangling symlink '[...]/grml_chroot/etc/resolv.conf' during FAI softupdate run
Noticed this during release time (quoting from https://jenkins.grml.org/job/grml64-full_Release/37/console):
11:18:18 Calling task_action
11:18:18 FAI_ACTION: softupdate
11:18:18 Calling task_softupdate
11:18:18 Performing FAI system update. All data may be overwritten!
11:18:18 Calling task_debconf
11:18:20 Adding debconf data from //etc/grml/fai/config/debconf/GRMLBASE
11:18:22 Reconfiguring package x11-common
11:18:22 update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
11:18:22 invoke-rc.d: could not determine current runlevel
11:18:22 Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
11:18:22 debconf: DbDriver "_ENV_stack": unable to save changes to: x11-common/xwrapper/allowed_users x11-common/xwrapper/actual_allowed_users
11:18:22 Calling task_repository
11:18:23 '/etc/resolv.conf' -> '/srv/jenkins/jobs/grml64-full_Release/workspace/grml_chroot/etc/resolv.conf'
11:18:23 cp: not writing through dangling symlink '/srv/jenkins/jobs/grml64-full_Release/workspace/grml_chroot/etc/resolv.conf'
11:18:23 fcopy: copied /etc/grml/fai/config/files/etc/hosts/GRMLBASE to /srv/jenkins/jobs/grml64-full_Release/workspace/grml_chroot/etc/hosts
Situation during build time:
# ls -la /srv/jenkins/jobs/grml64-full_Release/workspace/grml_chroot/etc/resolv.conf
lrwxrwxrwx 1 root root 27 Jun 6 11:17 /srv/jenkins/jobs/grml64-full_Release/workspace/grml_chroot/etc/resolv.conf -> /run/resolvconf/resolv.conf
# cat /srv/jenkins/jobs/grml64-full_Release/workspace/grml_chroot/etc/resolv.conf
cat: /srv/jenkins/jobs/grml64-full_Release/workspace/grml_chroot/etc/resolv.conf: No such file or directory
Unsure yet where this is coming from, though we should ensure it doesn't do any harm and also try to get rid of this message.