[systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 14.06.2022 um 10:01 in Nachricht : > On Tue, Jun 14, 2022 at 10:57 AM Wols Lists wrote: >> >> On 14/06/2022 06:57, Ulrich Windl wrote: >> >> So you're not running an init system but you want the (not-running) init >> >> system to run something for you? >> >> > I

[systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Wols Lists schrieb am 14.06.2022 um 08:34 in Nachricht : > On 14/06/2022 06:57, Ulrich Windl wrote: >>> So you're not running an init system but you want the (not-running) init >>> system to run something for you? > >> I don't understand: >> The rescue system I'm using (SLES 14 SP3) uses

Re: [systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Andrei Borzenkov
On Tue, Jun 14, 2022 at 11:19 AM Ulrich Windl wrote: > > OK, the problem seems to be that systemctl does not "pass" the units to > systemd, but systemd "ate" (and digested) them all before. > And what if these units need binaries not available in the rescue system, configuration files that are

[systemd-devel] kexec reboot fails and reboots in normal cold boot way

2022-06-14 Thread Prashantkumar dhotre
Hi, In systemd 243.2+ version, intermittently sometimes I see that 'systemctl kexec' does not result in kexec reboot but results in reguler cold boot reboot In console logs, I see below logs. At line#209, I see "FAIL" string but not sure where it is coming from. In which cases do 'systemctl

Re: [systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Michał Zegan
W dniu 14.06.2022 o 10:19, Ulrich Windl pisze: Michal Zegan schrieb am 14.06.2022 um 09:25 in Nachricht ... Sure when "init" was just a bundle of scripts, you could run one of the scripts it runs and hope for the best. You can generally still do that, but just don't expect asking a

[systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Michal Zegan schrieb am 14.06.2022 um 09:25 in >>> Nachricht ... >>> Sure when "init" was just a bundle of scripts, you could run one of the >>> scripts it runs and hope for the best. You can generally still do that, >>> but just don't expect asking a non-running program to do it for you

[systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 14.06.2022 um 08:36 in Nachricht <41ccac7a-bae8-47a9-f14e-6c9452478...@gmail.com>: > On 14.06.2022 08:57, Ulrich Windl wrote: > Colin Guthrie schrieb am 13.06.2022 um 16:34 in >> Nachricht : >> >>> Ulrich Windl wrote on 13/06/2022 14:42: >>> Colin Guthrie

Re: [systemd-devel] Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Andrei Borzenkov
On Tue, Jun 14, 2022 at 10:57 AM Wols Lists wrote: > > On 14/06/2022 06:57, Ulrich Windl wrote: > >> So you're not running an init system but you want the (not-running) init > >> system to run something for you? > > > I don't understand: > > The rescue system I'm using (SLES 14 SP3) uses systemd,

Re: [systemd-devel] Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Wols Lists
On 14/06/2022 06:57, Ulrich Windl wrote: So you're not running an init system but you want the (not-running) init system to run something for you? I don't understand: The rescue system I'm using (SLES 14 SP3) uses systemd, and the system that woon't boo is also using systemd (SLES15 SP3).

Re: [systemd-devel] Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Michał Zegan
W dniu 14.06.2022 o 07:57, Ulrich Windl pisze: Colin Guthrie schrieb am 13.06.2022 um 16:34 in Nachricht : Ulrich Windl wrote on 13/06/2022 14:42: Colin Guthrie schrieb am 13.06.2022 um 14:58 in Nachricht : Ulrich Windl wrote on 13/06/2022 09:09: Hi! Two questions: 1) Why can't I use

Re: [systemd-devel] Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Andrei Borzenkov
On 14.06.2022 08:57, Ulrich Windl wrote: Colin Guthrie schrieb am 13.06.2022 um 16:34 in > Nachricht : > >> Ulrich Windl wrote on 13/06/2022 14:42: >> Colin Guthrie schrieb am 13.06.2022 um 14:58 in >>> Nachricht : Ulrich Windl wrote on 13/06/2022 09:09: > Hi! > > Two

[systemd-devel] Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Topi Miettinen schrieb am 13.06.2022 um 18:45 in Nachricht <70cd12d1-6372-8d8c-90bd-144d1f7b3...@gmail.com>: > On 13.6.2022 11.09, Ulrich Windl wrote: >> Hi! >> >> Two questions: >> 1) Why can't I use "systemctl start network" in a chroot environment (e.g. > mounting the system from a