[elbe-users] replacing /etc/resolv.conf with a symlink
Ralf Schlatterbeck
rsc at runtux.com
Tue Nov 19 11:13:08 CET 2019
I have a system that manages /etc/resolv.conf in a nonstandard way.
I'm trying to replace /etc/resolv.conf with a symlink to a directory
mounted later (in a NOR flash not the standard rootfs which is on NAND
flash) In the latest version of ELBE (12.2+deb9+build811) I'm unable to
do this.
- I have a debian package "iptna" that contains /etc/resolv.conf as a
symlink
- I have a finetuning rule (that I find nowhere in the log):
<command>ln -sf /ipCAT.runtime/etc/resolv.conf /etc</command>
- Both should create the symlink but don't
But resolv.conf ends up as a file containing just the line:
nameserver 10.0.2.3
I have no idea where this comes from and what magic creates it. The file
is identical to the /etc/resolv.conf in the initvm.
The elbe log reports the file is from the debian package which is
clearly wrong (in the debian package it is a symlink):
In elbe-report.txt:
File List
---------
...
[INFO] |+/etc/resolv.conf+|iptna
Any idea how to fix this?
--
Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting www: http://www.runtux.com
Reichergasse 131, A-3411 Weidling email: office at runtux.com
More information about the elbe-users
mailing list