Martin Steigerwald - 13.04.24, 15:05:41 CEST:
> No PATH defined.
> 
> The script defines it. See line 8 in my changed script. However it does
> not export it. Thus adding line 9 fixes the bug I reported:
> 
>   8 PATH=/sbin:/usr/sbin:/bin:/usr/bin
>   9 export PATH
> 
> The network is configured just fine after adding that line.

Since configuring networking works on physical machines – I know for sure 
with Devuan 5 aka Daedalus and Devuan Ceres which was at a similar state 
Devuan Excalibur is currently – regarding the right fix the question 
remains:

What is different with the PATH in both cases and why?

Why is it empty inside the (unprivileged) Incus managed LXC container? Is 
it empty on the physical machine? I doubt it. But where does the difference 
come from? And anyway the PATH is being set in both stage 1 and stage 2 
scripts, just not exported. So on a physical machine it appears that PATH 
is being exported before already. It might be exported before already on a 
container as well, albeit undefined / empty.

In both cases /bin/sh points to /bin/dash. Both the VM with Excalibur and 
the physical host with Daedalus are usrmerge'd.

-- 
Martin

Reply via email to