[elbe-users] replacing /etc/resolv.conf with a symlink
Ralf Schlatterbeck
rsc at runtux.com
Tue Nov 19 12:07:42 CET 2019
On Tue, Nov 19, 2019 at 11:13:08AM +0100, Ralf Schlatterbeck wrote:
> 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've found a workaround, if I put the symlink into the archive attached
to the elbe XML file, the symlink is correctly created. But why don't
all the other methods work for resolv.conf?
Ralf
--
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