1 |
Hi Alarig, |
2 |
|
3 |
Am Samstag, den 09.01.2021 um 10:52:12 Uhr +0100 schrieb Alarig Le Lay <alarig@××××××××××.fr>: |
4 |
> Hi, |
5 |
> |
6 |
> OpenRC doesn’t take the hostname service service on LXC even if the |
7 |
> symlink exists: |
8 |
|
9 |
please take a look into /etc/rc.conf (key word rc_sys) and into the initscript |
10 |
/etc/init.d/hostname inside the depend phase: |
11 |
|
12 |
"keyword -docker -lxc -prefix -systemd-nspawn" |
13 |
|
14 |
Looks to me as openrc doesn't start the hostname script in certain environments. |
15 |
Is this even possible and has no weird side effects? |
16 |
|
17 |
For testing you could drop the "-lxc" from that line, e.g. by commenting out |
18 |
the original one and copying it (to have a backup..). If it works as expected |
19 |
you might file a bug to ask for removal of the lxc-keyword here. Maybe there |
20 |
is already one, didn't check. |
21 |
|
22 |
Hope that helps along, |
23 |
Nils |