Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dangling symlink '[...]/grml_chroot/etc/resolv.conf' during FAI softupdate run #89

Open
mika opened this issue Jun 6, 2020 · 0 comments
Assignees
Labels

Comments

@mika
Copy link
Member

mika commented Jun 6, 2020

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.

@mika mika self-assigned this Jun 6, 2020
@mika mika added the bug label Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant